source: palm/trunk/SCRIPTS/.palm.config.crayh @ 2809

Last change on this file since 2809 was 2693, checked in by raasch, 7 years ago

replacement of variables in configuration file is done in a more general way, variable names are written in small letters

  • Property svn:keywords set to Id
File size: 3.2 KB
RevLine 
[2405]1#$Id: .palm.config.crayh 2693 2017-12-13 12:33:49Z schwenkel $
2#column 1          column 2
3#name of variable  value of variable (~ must not be used)
4#----------------------------------------------------------------------------
[2481]5%base_data           ~/palm/current_version/JOBS
[2405]6%base_directory      $HOME/palm/current_version
7%source_path         $HOME/palm/current_version/trunk/SOURCE
8%user_source_path    $base_directory/JOBS/$fname/USER_CODE
9%fast_io_catalog     /gfs2/work/niksiraa
10%local_jobcatalog    /home/raasch/job_queue
11%remote_jobcatalog   /home/h/niksiraa/job_queue
12#
13%local_ip            130.75.105.103
14%local_username      raasch
15%remote_ip           130.75.4.1
16%remote_loginnode    hlogin1
17%remote_username     niksiraa
18%ssh_key             id_rsa_hlrn
19%defaultqueue        mpp2testq
20%submit_command      /opt/moab/default/bin/msub -E
21#
22%compiler_name       ftn
23%compiler_name_ser   ftn
24%cpp_options         -e Z -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__parallel -D__netcdf -D__netcdf4 -D__netcdf4_parallel -D__fftw
25%make_options        -j 4
26%compiler_options    -em -O3 -hnoomp -hnoacc -hfp3 -hdynamic
27%linker_options      -em -O3 -hnoomp -hnoacc -hfp3 -hdynamic -dynamic
[2693]28%execute_command     aprun  -n {{mpi_tasks}}  -N {{tasks_per_node}}  palm
29%execute_command_for_combine     aprun  -n 1  -N 1  ./combine_plot_fields.x
[2405]30%memory              2300
31%module_commands     module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel
32%login_init_cmd      module switch craype-ivybridge craype-haswell
33#
[2693]34# BATCH-directives to be used for batch jobs
[2405]35BD:#!/bin/bash
[2693]36BD:#PBS -A {{project_account}}
37BD:#PBS -N {{job_id}}
38BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}}
39BD:#PBS -l nodes={{nodes}}:ppn={{tasks_per_node}}
40BD:#PBS -o {{job_protocol_file}}
[2405]41BD:#PBS -j oe
[2693]42BD:#PBS -q {{queue}}
[2405]43#
44# BATCH-directives for batch jobs used to send back the jobfile from a remote to a local host
45BDT:#!/bin/bash
[2693]46BDT:#PBS -A {{project_account}}
[2405]47BDT:#PBS -N job_protocol_transfer
48BDT:#PBS -l walltime=00:30:00
49BDT:#PBS -l nodes=1:ppn=1
[2693]50BDT:#PBS -o {{job_transfer_protocol_file}}
[2405]51BDT:#PBS -j oe
52BDT:#PBS -q dataq
53#
54#----------------------------------------------------------------------------
55# INPUT-commands, executed before running PALM - lines must start with "IC:"
56#----------------------------------------------------------------------------
57IC:export ATP_ENABLED=1
58IC:export MPICH_GNI_BTE_MULTI_CHANNEL=disabled
59IC:ulimit  -s unlimited
60#
61#----------------------------------------------------------------------------
62# ERROR-commands - executed when program terminates abnormally
63#----------------------------------------------------------------------------
64EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
65#
66#----------------------------------------------------------------------------
67# OUTPUT-commands - executed when program terminates normally
68#----------------------------------------------------------------------------
69#
70# Combine 1D- and 3D-profile output (these files are not usable for plotting)
71OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
72OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
73#
74# Combine all particle information files
75OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
Note: See TracBrowser for help on using the repository browser.