1 | #$Id: .palm.config.crayh 2834 2018-02-23 14:04:07Z raasch $ |
---|
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/$jobname/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 -Ofast -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 -Ofast -mtune=native -march=native -cpp -lnetcdff -lnetcdf |
---|
26 | %execute_command mpirun -n {{mpi_tasks}} palm |
---|
27 | %execute_command_for_combine mpirun -n 1 -N 1 ./combine_plot_fields.x |
---|
28 | %memory 2333 |
---|
29 | %module_commands module load PALMDependencies/.gcc |
---|
30 | %login_init_cmd |
---|
31 | # |
---|
32 | # BATCH-directives to be used for batch jobs |
---|
33 | BD:#!/bin/bash |
---|
34 | BD:#SBATCH -J {{job_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 | # |
---|
61 | # Combine 1D- and 3D-profile output (these files are not usable for plotting) |
---|
62 | OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE |
---|
63 | OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE |
---|
64 | # |
---|
65 | # Combine all particle information files |
---|
66 | OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO |
---|