source: palm/trunk/SCRIPTS/.palm.config.atosg @ 4875

Last change on this file since 4875 was 4864, checked in by raasch, 4 years ago

traceback added to HLRN compiler options (optimized setup)

File size: 4.5 KB
Line 
1#$Id$
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     /scratch/usr/<replace_by_your_HLRN_username>
10%restart_data_path   $fast_io_catalog
11%output_data_path    $base_data
12%local_jobcatalog    $base_data/$run_identifier/LOG_FILES
13%remote_jobcatalog   $base_data/$run_identifier/LOG_FILES
14
15%local_ip            <replace by IP of your local computer>
16%local_username      <replace_by_your_local_username>
17%remote_ip           134.76.43.141
18%remote_loginnode    glogin1
19%remote_username     <replace_by_your_HLRN_username>
20%ssh_key             id_rsa_hlrn
21%defaultqueue        standard96:test
22%project_account     <replace_by_your_default_HLRN_project_account>
23%submit_command      /cm/shared/batch/bin/sbatch
24
25%compiler_name       mpiifort
26%compiler_name_ser   ifort
27%cpp_options         -cpp -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__lc -D__parallel -D__netcdf -D__netcdf4 -D__netcdf4_parallel -D__intel_compiler -D__fftw
28%make_options        -j 4
29%compiler_options    -fpe0 -O3 -g -traceback -fp-model source -ftz -xCORE-AVX512 -no-prec-div -no-prec-sqrt -ip -convert little_endian -I /sw/dataformats/netcdf/intel.18/4.7.3/skl/include/ -I /sw/numerics/fftw3/impi/intel/3.3.8/skl/include/
30%linker_options      -Wl,-rpath=\\$LD_RUN_PATH \\`nf-config --flibs\\` -L /sw/numerics/fftw3/impi/intel/3.3.8/skl/lib -lfftw3
31%module_commands     module use /sw/modules/HLRN; module load HLRNenv sw.skl slurm intel/19.1.2 impi  netcdf-parallel/impi/intel fftw3/impi/intel
32%execute_command     srun --propagate=STACK --kill-on-bad-exit -n {{mpi_tasks}} -N {{nodes}} --ntasks-per-node={{tasks_per_node}}  palm
33%execute_command_for_combine   srun --propagate=STACK -n 1 --ntasks-per-node=1  combine_plot_fields.x
34%memory              2300
35
36# BATCH-directives to be used for batch jobs. If $-characters are required, hide them with 3 backslashes
37BD:#!/bin/bash
38#BD:#SBATCH --dependency=afterany:{{previous_job}}
39BD:#SBATCH -A {{project_account}}
40BD:#SBATCH --job-name={{run_id}}
41BD:#SBATCH --time={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}}
42BD:#SBATCH --ntasks={{mpi_tasks}}
43BD:#SBATCH --nodes={{nodes}}
44BD:#SBATCH --ntasks-per-node={{tasks_per_node}}
45BD:#SBATCH --partition={{queue}}
46BD:#SBATCH --output={{job_protocol_file}}
47BD:#SBATCH --error={{job_protocol_file}}
48#BD:#SBATCH --mail-type=ALL
49#BD:#SBATCH --mail-user=<replace_by_your_email_address>
50
51# BATCH-directives for batch jobs used to send back the jobfile from a remote to a local host
52BDT:#!/bin/bash
53BDT:#SBATCH -A {{project_account}}
54BDT:#SBATCH --job-name=job_transfer
55BDT:#SBATCH --time=00:30:00
56BDT:#SBATCH --ntasks=1
57BDT:#SBATCH --nodes=1
58BDT:#SBATCH --ntasks-per-node=1
59BDT:#SBATCH --partition={{queue}}
60BDT:#SBATCH --output={{job_transfer_protocol_file}}
61BDT:#SBATCH --error={{job_transfer_protocol_file}}
62
63#----------------------------------------------------------------------------
64# INPUT-commands, executed before running PALM - lines must start with "IC:"
65#----------------------------------------------------------------------------
66# my settings
67IC:ulimit -s unlimited # requires --propagate=STACK in srun command to distribute to all nodes
68IC:export I_MPI_PMI_LIBRARY=libpmi.so
69IC:export I_MPI_FABRICS=shm:ofi
70IC:export I_MPI_OFI_PROVIDER=psm2
71IC:export I_MPI_ADJUST_ALLTOALL=3
72IC:export I_MPI_HYDRA_BRANCH_COUNT=128
73IC:module list
74
75#----------------------------------------------------------------------------
76# ERROR-commands - executed when program terminates abnormally
77#----------------------------------------------------------------------------
78EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
79EC:[[ \$locat = execution ]]  &&  cat  PARTICLE_INFOS/*
80
81#----------------------------------------------------------------------------
82# OUTPUT-commands - executed when program terminates normally
83#----------------------------------------------------------------------------
84# Combine 1D- and 3D-profile output (these files are not usable for plotting)
85#OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
86#OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
87
88# Combine all particle information files
89#OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
Note: See TracBrowser for help on using the repository browser.