1 | #$Id: .palm.config.eddy_gfort 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_data $HOME/palm/current_version/JOBS |
---|
6 | %output_data $WORK/palm/current_version/JOBS |
---|
7 | %base_directory $HOME/palm/current_version |
---|
8 | %source_path $HOME/palm/current_version/trunk/SOURCE |
---|
9 | %user_source_path $base_directory/JOBS/$run_identifier/USER_CODE |
---|
10 | %fast_io_catalog $WORK/palm_restart_tmp |
---|
11 | %local_jobcatalog $HOME/job_queue |
---|
12 | ################################################################################ |
---|
13 | # Replace abcd1234 by your username on Eddy: |
---|
14 | ################################################################################ |
---|
15 | %local_username abcd1234 |
---|
16 | # |
---|
17 | %defaultqueue eddy.p |
---|
18 | %submit_command sbatch |
---|
19 | # |
---|
20 | %compiler_name mpifort |
---|
21 | %compiler_name_ser gfortran |
---|
22 | %cpp_options -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__lc -D__netcdf -D__netcdf4 -D__parallel |
---|
23 | %make_options -j 4 |
---|
24 | %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 |
---|
25 | %linker_options -O3 -mtune=native -march=native -cpp -lnetcdff -lnetcdf |
---|
26 | %execute_command mpirun -n {{mpi_tasks}} palm |
---|
27 | %execute_command_for_combine mpirun -n 1 ./combine_plot_fields.x |
---|
28 | %memory 2333 |
---|
29 | %module_commands module load PALMDependencies/.gcc |
---|
30 | # |
---|
31 | # BATCH-directives to be used for batch jobs |
---|
32 | BD:#!/bin/bash |
---|
33 | BD:#SBATCH -J {{job_id}} |
---|
34 | BD:#SBATCH -t {{timestring}} |
---|
35 | BD:#SBATCH -n {{mpi_tasks}} |
---|
36 | BD:#SBATCH -N {{nodes}} |
---|
37 | BD:#SBATCH --cpus-per-task 1 |
---|
38 | BD:#SBATCH -p {{queue}} |
---|
39 | BD:#SBATCH -o {{job_protocol_file}} |
---|
40 | BD:#SBATCH -e {{job_protocol_file}} |
---|
41 | BD:#SBATCH --mem-per-cpu {{memory}} |
---|
42 | BD:#SBATCH --exclusive |
---|
43 | # |
---|
44 | #---------------------------------------------------------------------------- |
---|
45 | # INPUT-commands, executed before running PALM - lines must start with "IC:" |
---|
46 | #---------------------------------------------------------------------------- |
---|
47 | IC:export ATP_ENABLED=1 |
---|
48 | IC:export MPICH_GNI_BTE_MULTI_CHANNEL=disabled |
---|
49 | IC:ulimit -s unlimited |
---|
50 | # |
---|
51 | #---------------------------------------------------------------------------- |
---|
52 | # ERROR-commands - executed when program terminates abnormally |
---|
53 | #---------------------------------------------------------------------------- |
---|
54 | EC:[[ \$locat = execution ]] && cat RUN_CONTROL |
---|
55 | # |
---|
56 | #---------------------------------------------------------------------------- |
---|
57 | # OUTPUT-commands - executed when program terminates normally |
---|
58 | #---------------------------------------------------------------------------- |
---|
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 |
---|