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

Last change on this file since 4882 was 4814, checked in by gronemeier, 4 years ago

add additional output paths to palm.iofiles and update configuration files accordingly

File size: 4.5 KB
Line 
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
15%user_source_path    @CMAKE_INSTALL_PREFIX@/JOBS/$run_identifier/USER_CODE
16%fast_io_catalog     @CMAKE_INSTALL_PREFIX@/tmp
17%restart_data_path   @CMAKE_INSTALL_PREFIX@/tmp
18%output_data_path    @CMAKE_INSTALL_PREFIX@/JOBS
19%local_jobcatalog    @CMAKE_INSTALL_PREFIX@/JOBS/$run_identifier/LOG_FILES
20#%remote_jobcatalog   <path/to/directory>
21#
22%local_ip            127.0.0.1
23%local_hostname      @PALM_HOSTNAME@
24%local_username      @CMAKE_USERNAME@
25#
26#%remote_ip           <ip>
27#%remote_hostname     <hostname>
28#%remote_loginnode    <loginnode>
29#%remote_username     <username>
30#%ssh_key             ~/.ssh/id_rsa
31#
32#%defaultqueue        <queue>
33#%project_account     <project-account>
34#%submit_command      /opt/moab/default/bin/msub -E
35#
36%compiler_name       @MPI_Fortran_COMPILER@
37%compiler_name_ser   @CMAKE_Fortran_COMPILER@
38%cpp_options         @PALM_CPP_OPTIONS_STR@
39%make_options        -j @PALM_CORES@
40%compiler_options    @PALM_COMPILER_OPTIONS@
41%linker_options      @PALM_LINKER_OPTIONS@
42%execute_command     @PALM_EXECUTE_COMMAND@ ./palm
43#%memory              2300
44#%module_commands     module switch craype-ivybridge craype-haswell; module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel
45#%login_init_cmd      .execute_special_profile
46#
47#-------------------------------------------------------------------------------
48# Directives to be used for batch jobs
49# Lines must start with "BD:". If $-characters are required, hide them with \
50# Internal variables can be used as {{variable_name}}. Please see documentation.
51#-------------------------------------------------------------------------------
52BD:#!/bin/bash
53#BD:#PBS -A {{project_account}}
54BD:#PBS -N {{run_id}}
55BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}}
56BD:#PBS -l nodes={{nodes}}:ppn={{tasks_per_node}}
57BD:#PBS -o {{job_protocol_file}}
58BD:#PBS -j oe
59BD:#PBS -q {{queue}}
60#
61#-------------------------------------------------------------------------------
62# Directives for batch jobs used to send back the jobfiles from a remote to a local host
63# Lines must start with "BDT:". If $-characters are required, excape them with triple backslash
64# Internal variables can be used as {{variable_name}}. Please see documentation.
65#-------------------------------------------------------------------------------
66BDT:#!/bin/bash
67#BDT:#PBS -A {{project_account}}
68BDT:#PBS -N job_protocol_transfer
69BDT:#PBS -l walltime=00:30:00
70BDT:#PBS -l nodes=1:ppn=1
71BDT:#PBS -o {{job_transfer_protocol_file}}
72BDT:#PBS -j oe
73BDT:#PBS -q dataq
74#
75#-------------------------------------------------------------------------------
76# INPUT-commands. These commands are executed before running PALM
77# Lines must start with "IC:"
78#-------------------------------------------------------------------------------
79IC:ulimit  -s unlimited
80#
81#-------------------------------------------------------------------------------
82# ERROR-commands. These commands are executed when PALM terminates abnormally
83# Lines must start with "EC:"
84#-------------------------------------------------------------------------------
85EC:[[ $locat = execution ]]  &&  cat  RUN_CONTROL
86#
87#-------------------------------------------------------------------------------
88# OUTPUT-commands. These commands are executed when PALM terminates normally
89# Lines must start with "OC:"
90#-------------------------------------------------------------------------------
91#
92# Combine 1D- and 3D-profile output (these files are not usable for plotting)
93OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
94OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
95#
96# Combine all particle information files
97OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
Note: See TracBrowser for help on using the repository browser.