[3193] | 1 | #$Id: .palm.config.eddy_gfort 3193 2018-08-07 09:55:00Z witha $ |
---|
[2972] | 2 | #column 1 column 2 |
---|
| 3 | #name of variable value of variable (~ must not be used) |
---|
| 4 | #---------------------------------------------------------------------------- |
---|
[4814] | 5 | %base_directory $HOME/palm/current_version |
---|
[2972] | 6 | %base_data $HOME/palm/current_version/JOBS |
---|
| 7 | %source_path $HOME/palm/current_version/trunk/SOURCE |
---|
[4814] | 8 | %user_source_path $base_data/$run_identifier/USER_CODE |
---|
[2972] | 9 | %fast_io_catalog $WORK/palm_restart_tmp |
---|
[4814] | 10 | %restart_data_path $fast_io_catalog |
---|
| 11 | %output_data_path $WORK/palm/current_version/JOBS |
---|
[2972] | 12 | %local_jobcatalog $HOME/job_queue |
---|
| 13 | ################################################################################ |
---|
| 14 | # Replace abcd1234 by your username on Eddy: |
---|
| 15 | ################################################################################ |
---|
| 16 | %local_username abcd1234 |
---|
| 17 | # |
---|
| 18 | %defaultqueue eddy.p |
---|
| 19 | %submit_command sbatch |
---|
| 20 | # |
---|
| 21 | %compiler_name mpifort |
---|
| 22 | %compiler_name_ser gfortran |
---|
| 23 | %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__lc -D__netcdf -D__netcdf4 -D__parallel |
---|
| 24 | %make_options -j 4 |
---|
[3163] | 25 | %compiler_options -O3 -mtune=native -march=native -cpp -fconvert=little-endian -I/cm/shared/uniol/software/netCDF-Fortran/4.4.4-goolf-5.2.01/include |
---|
| 26 | %linker_options -O3 -mtune=native -march=native -cpp -lnetcdff -lnetcdf |
---|
[2972] | 27 | %execute_command mpirun -n {{mpi_tasks}} palm |
---|
[3193] | 28 | %execute_command_for_combine mpirun -n 1 ./combine_plot_fields.x |
---|
[2972] | 29 | %memory 2333 |
---|
[3199] | 30 | %module_commands module load PALMDependencies/.gcc |
---|
[2972] | 31 | # |
---|
| 32 | # BATCH-directives to be used for batch jobs |
---|
| 33 | BD:#!/bin/bash |
---|
[3346] | 34 | BD:#SBATCH -J {{run_id}} |
---|
[2972] | 35 | BD:#SBATCH -t {{timestring}} |
---|
| 36 | BD:#SBATCH -n {{mpi_tasks}} |
---|
| 37 | BD:#SBATCH -N {{nodes}} |
---|
| 38 | BD:#SBATCH --cpus-per-task 1 |
---|
| 39 | BD:#SBATCH -p {{queue}} |
---|
| 40 | BD:#SBATCH -o {{job_protocol_file}} |
---|
| 41 | BD:#SBATCH -e {{job_protocol_file}} |
---|
| 42 | BD:#SBATCH --mem-per-cpu {{memory}} |
---|
| 43 | BD:#SBATCH --exclusive |
---|
| 44 | # |
---|
| 45 | #---------------------------------------------------------------------------- |
---|
[4814] | 46 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
[2972] | 47 | #---------------------------------------------------------------------------- |
---|
[3163] | 48 | IC:export ATP_ENABLED=1 |
---|
| 49 | IC:export MPICH_GNI_BTE_MULTI_CHANNEL=disabled |
---|
[2972] | 50 | IC:ulimit -s unlimited |
---|
| 51 | # |
---|
| 52 | #---------------------------------------------------------------------------- |
---|
| 53 | # ERROR-commands - executed when program terminates abnormally |
---|
| 54 | #---------------------------------------------------------------------------- |
---|
| 55 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
| 56 | # |
---|
| 57 | #---------------------------------------------------------------------------- |
---|
| 58 | # OUTPUT-commands - executed when program terminates normally |
---|
| 59 | #---------------------------------------------------------------------------- |
---|
| 60 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
| 61 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
| 62 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
| 63 | # |
---|
| 64 | # Combine all particle information files |
---|
| 65 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|