[2405] | 1 | #$Id: .palm.config.crayh 2405 2017-09-05 11:17:46Z suehring $ |
---|
| 2 | #column 1 column 2 |
---|
| 3 | #name of variable value of variable (~ must not be used) |
---|
| 4 | #---------------------------------------------------------------------------- |
---|
| 5 | %base_directory $HOME/palm/current_version |
---|
| 6 | %base_data ~/palm/current_version/JOBS |
---|
| 7 | %source_path $HOME/palm/current_version/trunk/SOURCE |
---|
| 8 | %user_source_path $base_directory/JOBS/$fname/USER_CODE |
---|
| 9 | %fast_io_catalog /gfs2/work/niksiraa |
---|
| 10 | %local_jobcatalog /home/raasch/job_queue |
---|
| 11 | %remote_jobcatalog /home/h/niksiraa/job_queue |
---|
| 12 | # |
---|
| 13 | %local_ip 130.75.105.103 |
---|
| 14 | %local_hostname bora_imuk |
---|
| 15 | %local_username raasch |
---|
| 16 | %remote_ip 130.75.4.1 |
---|
| 17 | %remote_hostname cray-han |
---|
| 18 | %remote_loginnode hlogin1 |
---|
| 19 | %remote_username niksiraa |
---|
| 20 | %ssh_key id_rsa_hlrn |
---|
| 21 | %defaultqueue mpp2testq |
---|
| 22 | %submit_command /opt/moab/default/bin/msub -E |
---|
| 23 | # |
---|
| 24 | %compiler_name ftn |
---|
| 25 | %compiler_name_ser ftn |
---|
| 26 | %cpp_options -e Z -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__parallel -D__netcdf -D__netcdf4 -D__netcdf4_parallel -D__fftw |
---|
| 27 | %make_options -j 4 |
---|
| 28 | %compiler_options -em -O3 -hnoomp -hnoacc -hfp3 -hdynamic |
---|
| 29 | %linker_options -em -O3 -hnoomp -hnoacc -hfp3 -hdynamic -dynamic |
---|
| 30 | %execute_command aprun -n {{MPI_TASKS}} -N {{TASKS_PER_NODE}} palm |
---|
| 31 | %memory 2300 |
---|
| 32 | %module_commands module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel |
---|
| 33 | %login_init_cmd module switch craype-ivybridge craype-haswell |
---|
| 34 | # |
---|
| 35 | # BATCH-directives to be used for batch jobs. If $-characters are required, hide them with \\\ |
---|
| 36 | BD:#!/bin/bash |
---|
| 37 | BD:#PBS -N {{JOB_ID}} |
---|
| 38 | BD:#PBS -l walltime={{CPU_HOURS}}:{{CPU_MINUTES}}:{{CPU_SECONDS}} |
---|
| 39 | BD:#PBS -l nodes={{NODES}}:ppn={{TASKS_PER_NODE}} |
---|
| 40 | BD:#PBS -o {{JOBFILE}} |
---|
| 41 | BD:#PBS -j oe |
---|
| 42 | BD:#PBS -q {{QUEUE}} |
---|
| 43 | # |
---|
| 44 | # BATCH-directives for batch jobs used to send back the jobfile from a remote to a local host |
---|
| 45 | BDT:#!/bin/bash |
---|
| 46 | BDT:#PBS -N job_protocol_transfer |
---|
| 47 | BDT:#PBS -l walltime=00:30:00 |
---|
| 48 | BDT:#PBS -l nodes=1:ppn=1 |
---|
| 49 | BDT:#PBS -o {{JOB_TRANSFER_PROTOCOL_FILE}} |
---|
| 50 | BDT:#PBS -j oe |
---|
| 51 | BDT:#PBS -q dataq |
---|
| 52 | # |
---|
| 53 | #---------------------------------------------------------------------------- |
---|
| 54 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
| 55 | #---------------------------------------------------------------------------- |
---|
| 56 | IC:export ATP_ENABLED=1 |
---|
| 57 | IC:export MPICH_GNI_BTE_MULTI_CHANNEL=disabled |
---|
| 58 | IC:ulimit -s unlimited |
---|
| 59 | # |
---|
| 60 | #---------------------------------------------------------------------------- |
---|
| 61 | # ERROR-commands - executed when program terminates abnormally |
---|
| 62 | #---------------------------------------------------------------------------- |
---|
| 63 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
| 64 | # |
---|
| 65 | #---------------------------------------------------------------------------- |
---|
| 66 | # OUTPUT-commands - executed when program terminates normally |
---|
| 67 | #---------------------------------------------------------------------------- |
---|
| 68 | # |
---|
| 69 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
| 70 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
| 71 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
| 72 | # |
---|
| 73 | # Combine all particle information files |
---|
| 74 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|