1 | #$Id: .palm.config.eddy_ifort 3193 2018-08-07 09:55:00Z witha $ |
---|
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 $HOME/palm/current_version/JOBS |
---|
7 | %source_path $HOME/palm/current_version/trunk/SOURCE |
---|
8 | %user_source_path $base_data/$run_identifier/USER_CODE |
---|
9 | %fast_io_catalog $WORK/palm_restart_tmp |
---|
10 | %restart_data_path $fast_io_catalog |
---|
11 | %output_data_path $WORK/palm/current_version/JOBS |
---|
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 mpiifort |
---|
22 | %compiler_name_ser ifort |
---|
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 |
---|
25 | %compiler_options -O3 -mtune=native -march=native -cpp -I/cm/shared/uniol/software2/netCDF-Fortran/4.4.4-intel-2017a/include |
---|
26 | %linker_options -O3 -mtune=native -march=native -cpp -lnetcdff -lnetcdf |
---|
27 | %execute_command mpirun -n {{mpi_tasks}} palm |
---|
28 | %execute_command_for_combine mpirun -n 1 ./combine_plot_fields.x |
---|
29 | %memory 2333 |
---|
30 | %module_commands module load PALMDependencies/icc |
---|
31 | # |
---|
32 | # BATCH-directives to be used for batch jobs |
---|
33 | BD:#!/bin/bash |
---|
34 | BD:#SBATCH -J {{run_id}} |
---|
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 | #---------------------------------------------------------------------------- |
---|
46 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
47 | #---------------------------------------------------------------------------- |
---|
48 | IC:export ATP_ENABLED=1 |
---|
49 | IC:export MPICH_GNI_BTE_MULTI_CHANNEL=disabled |
---|
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 |
---|