1 | #$Id: .palm.config.imuk 4814 2020-12-09 13:08:08Z moh.hefny $ |
---|
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/$run_identifier/USER_CODE |
---|
9 | %fast_io_catalog /localdata/<your user directory> |
---|
10 | %restart_data_path $fast_io_catalog |
---|
11 | %output_data_path $base_data |
---|
12 | %local_jobcatalog $base_data/$run_identifier/LOG_FILES |
---|
13 | |
---|
14 | %local_ip 130.75.105.<your pc's id> |
---|
15 | %local_username <username> |
---|
16 | |
---|
17 | %compiler_name mpif90 |
---|
18 | %compiler_name_ser ifort |
---|
19 | %cpp_options -cpp -D__parallel -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__fftw -D__netcdf -D__netcdf4 -D__netcdf4_parallel |
---|
20 | %make_options -j 4 |
---|
21 | %compiler_options -fpe0 -O3 -xHost -fp-model source -ftz -fno-alias -no-prec-div -no-prec-sqrt -ip -I /muksoft/packages/fftw/3.3.7/mvapich2-2.3rc1/gnu/include/ -I /muksoft/packages/netcdf4_hdf5parallel/4411c_443f/hdf5-1.10.0-patch1/mvapich2-2.3rc1/intel/2018.1.163/include/ |
---|
22 | %linker_options -L/muksoft/packages/fftw/3.3.7/mvapich2-2.3rc1/gnu/lib64/ -lfftw3 -L/muksoft/packages/netcdf4_hdf5parallel/4411c_443f/hdf5-1.10.0-patch1/mvapich2-2.3rc1/intel/2018.1.163/lib64/ -lnetcdf -lnetcdff |
---|
23 | %hostfile auto |
---|
24 | %execute_command mpiexec -machinefile hostfile -n {{mpi_tasks}} palm |
---|
25 | |
---|
26 | #---------------------------------------------------------------------------- |
---|
27 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
28 | #---------------------------------------------------------------------------- |
---|
29 | IC:ulimit -s unlimited |
---|
30 | |
---|
31 | #---------------------------------------------------------------------------- |
---|
32 | # ERROR-commands - executed when program terminates abnormally |
---|
33 | #---------------------------------------------------------------------------- |
---|
34 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
35 | EC:[[ \$locat = execution ]] && cat PARTICLE_INFOS/* |
---|
36 | |
---|
37 | #---------------------------------------------------------------------------- |
---|
38 | # OUTPUT-commands - executed when program terminates normally |
---|
39 | #---------------------------------------------------------------------------- |
---|
40 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
41 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
42 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
43 | |
---|
44 | # Combine all particle information files |
---|
45 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|