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

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

traceback added to HLRN compiler options (optimized setup)

File size: 4.5 KB
RevLine 
[3836]1#$Id$
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
[4798]6%base_data           $HOME/palm/current_version/JOBS
[3836]7%source_path         $HOME/palm/current_version/trunk/SOURCE
[4814]8%user_source_path    $base_data/$run_identifier/USER_CODE
[3836]9%fast_io_catalog     /scratch/usr/<replace_by_your_HLRN_username>
[4814]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
[3836]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
[4798]21%defaultqueue        standard96:test
[4814]22%project_account     <replace_by_your_default_HLRN_project_account>
[4410]23%submit_command      /cm/shared/batch/bin/sbatch
[3836]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
[4864]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/
[4798]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
[3836]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
[4083]37BD:#!/bin/bash
[4814]38#BD:#SBATCH --dependency=afterany:{{previous_job}}
39BD:#SBATCH -A {{project_account}}
[4484]40BD:#SBATCH --job-name={{run_id}}
[3836]41BD:#SBATCH --time={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}}
[4083]42BD:#SBATCH --ntasks={{mpi_tasks}}
[3836]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}}
[4814]48#BD:#SBATCH --mail-type=ALL
49#BD:#SBATCH --mail-user=<replace_by_your_email_address>
[3836]50
51# BATCH-directives for batch jobs used to send back the jobfile from a remote to a local host
52BDT:#!/bin/bash
[4814]53BDT:#SBATCH -A {{project_account}}
[3836]54BDT:#SBATCH --job-name=job_transfer
55BDT:#SBATCH --time=00:30:00
[4083]56BDT:#SBATCH --ntasks=1
[3836]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#----------------------------------------------------------------------------
[4083]64# INPUT-commands, executed before running PALM - lines must start with "IC:"
[3836]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
[4083]70IC:export I_MPI_OFI_PROVIDER=psm2
[4798]71IC:export I_MPI_ADJUST_ALLTOALL=3
72IC:export I_MPI_HYDRA_BRANCH_COUNT=128
[3836]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)
[4814]85#OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
86#OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
[3836]87
88# Combine all particle information files
[4814]89#OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
Note: See TracBrowser for help on using the repository browser.