source: palm/trunk/SCRIPTS/.palm.config.default.in @ 3014

Last change on this file since 3014 was 2834, checked in by raasch, 7 years ago

fname renamed jobname

File size: 4.4 KB
RevLine 
[2690]1################################################################################
2# This is a configuration file for PALM. It must be named: .palm.config.<suffix>
3# in order to use it, call palmbuild and palmrun with the option: -h <suffix>
4# Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/jobcontrol
5################################################################################
6#
7#-------------------------------------------------------------------------------
8# General compiler and host configuration section.
9# Variable declaration lines must start with a percent character
10# Internal variables can be used as {{VARIABLE_NAME}}. Please see documentation.
11#-------------------------------------------------------------------------------
12%base_directory      @CMAKE_INSTALL_PREFIX@
13%base_data           @CMAKE_INSTALL_PREFIX@/JOBS
14%source_path         @CMAKE_INSTALL_PREFIX@/trunk/SOURCE
[2834]15%user_source_path    @CMAKE_INSTALL_PREFIX@/JOBS/$jobname/USER_CODE
[2690]16%fast_io_catalog     @CMAKE_INSTALL_PREFIX@/tmp
17%local_jobcatalog    @CMAKE_INSTALL_PREFIX@/job_queue
18#%remote_jobcatalog   <path/to/directory>
19#
20%local_ip            127.0.0.1
21%local_hostname      @PALM_HOSTNAME@
22%local_username      @CMAKE_USERNAME@
23#
24#%remote_ip           <ip>
25#%remote_hostname     <hostname>
26#%remote_loginnode    <loginnode>
27#%remote_username     <username>
28#%ssh_key             ~/.ssh/id_rsa
29#
30#%defaultqueue        <queue>
31#%submit_command      /opt/moab/default/bin/msub -E
32#
33%compiler_name       @MPI_Fortran_COMPILER@
34%compiler_name_ser   @CMAKE_Fortran_COMPILER@
35%cpp_options         @PALM_CPP_OPTIONS_STR@
36%make_options        -j @PALM_CORES@
37%compiler_options    @PALM_COMPILER_OPTIONS@
38%linker_options      @PALM_LINKER_OPTIONS@
[2693]39%execute_command     mpirun -n {{mpi_tasks}} ./palm
[2690]40#%memory              2300
41#%module_commands     module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel
42#%login_init_cmd      module switch craype-ivybridge craype-haswell
43#
44#-------------------------------------------------------------------------------
45# Directives to be used for batch jobs
46# Lines must start with "BD:". If $-characters are required, hide them with \
[2693]47# Internal variables can be used as {{variable_name}}. Please see documentation.
[2690]48#-------------------------------------------------------------------------------
49BD:#!/bin/bash
[2693]50BD:#PBS -N {{job_id}}
51BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}}
52BD:#PBS -l nodes={{nodes}}:ppn={{tasks_per_node}}
53BD:#PBS -o {{job_protocol_file}}
[2690]54BD:#PBS -j oe
[2693]55BD:#PBS -q {{queue}}
[2690]56#
57#-------------------------------------------------------------------------------
58# Directives for batch jobs used to send back the jobfiles from a remote to a local host
59# Lines must start with "BDT:". If $-characters are required, excape them with triple backslash
[2693]60# Internal variables can be used as {{variable_name}}. Please see documentation.
[2690]61#-------------------------------------------------------------------------------
62BDT:#!/bin/bash
63BDT:#PBS -N job_protocol_transfer
64BDT:#PBS -l walltime=00:30:00
65BDT:#PBS -l nodes=1:ppn=1
[2693]66BDT:#PBS -o {{job_transfer_protocol_file}}
[2690]67BDT:#PBS -j oe
68BDT:#PBS -q dataq
69#
70#-------------------------------------------------------------------------------
71# INPUT-commands. These commands are executed before running PALM
72# Lines must start with "IC:"
73#-------------------------------------------------------------------------------
74IC:export ATP_ENABLED=1
75IC:export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
76IC:ulimit  -s unlimited
77#
78#-------------------------------------------------------------------------------
79# ERROR-commands. These commands are executed when PALM terminates abnormally
80# Lines must start with "EC:"
81#-------------------------------------------------------------------------------
82EC:[[ $locat = execution ]]  &&  cat  RUN_CONTROL
83#
84#-------------------------------------------------------------------------------
85# OUTPUT-commands. These commands are executed when PALM terminates normally
86# Lines must start with "OC:"
87#-------------------------------------------------------------------------------
88#
89# Combine 1D- and 3D-profile output (these files are not usable for plotting)
90OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
91OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
92#
93# Combine all particle information files
94OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
95
Note: See TracBrowser for help on using the repository browser.