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

Last change on this file since 3556 was 3455, checked in by raasch, 6 years ago

options -h and -d renamed -c and -r, respectively, job_queue renamed job_logfiles in sveral configuration files

File size: 4.3 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%local_jobcatalog    @CMAKE_INSTALL_PREFIX@/job_logfiles
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@
39%execute_command     mpirun -n {{mpi_tasks}} ./palm
40#%memory              2300
41#%module_commands     module switch craype-ivybridge craype-haswell; module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel
42#%login_init_cmd      .execute_special_profile
43#
44#-------------------------------------------------------------------------------
45# Directives to be used for batch jobs
46# Lines must start with "BD:". If $-characters are required, hide them with \
47# Internal variables can be used as {{variable_name}}. Please see documentation.
48#-------------------------------------------------------------------------------
49BD:#!/bin/bash
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}}
54BD:#PBS -j oe
55BD:#PBS -q {{queue}}
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
60# Internal variables can be used as {{variable_name}}. Please see documentation.
61#-------------------------------------------------------------------------------
62BDT:#!/bin/bash
63BDT:#PBS -N job_protocol_transfer
64BDT:#PBS -l walltime=00:30:00
65BDT:#PBS -l nodes=1:ppn=1
66BDT:#PBS -o {{job_transfer_protocol_file}}
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:ulimit  -s unlimited
75#
76#-------------------------------------------------------------------------------
77# ERROR-commands. These commands are executed when PALM terminates abnormally
78# Lines must start with "EC:"
79#-------------------------------------------------------------------------------
80EC:[[ $locat = execution ]]  &&  cat  RUN_CONTROL
81#
82#-------------------------------------------------------------------------------
83# OUTPUT-commands. These commands are executed when PALM terminates normally
84# Lines must start with "OC:"
85#-------------------------------------------------------------------------------
86#
87# Combine 1D- and 3D-profile output (these files are not usable for plotting)
88OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
89OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
90#
91# Combine all particle information files
92OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
93
Note: See TracBrowser for help on using the repository browser.