################################################################################ # This is a configuration file for PALM. It must be named: .palm.config. # in order to use it, call palmbuild and palmrun with the option: -h # Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/jobcontrol ################################################################################ # #------------------------------------------------------------------------------- # General compiler and host configuration section. # Variable declaration lines must start with a percent character # Internal variables can be used as {{VARIABLE_NAME}}. Please see documentation. #------------------------------------------------------------------------------- %base_directory /glade/work/sreenath/palm/current_version %base_data /glade/work/sreenath/palm/current_version/JOBS %source_path /glade/work/sreenath/palm/current_version/trunk/SOURCE %user_source_path /glade/work/sreenath/palm/current_version/JOBS/$run_identifier/USER_CODE %fast_io_catalog /glade/work/sreenath/palm/current_version/tmp %local_jobcatalog /glade/work/sreenath/palm/current_version/job_logfiles %restart_data_path $fast_io_catalog %output_data_path $base_data #%remote_jobcatalog # %local_ip 127.0.0.1 %local_hostname cheyenne4 %local_username sreenath # #%remote_ip #%remote_hostname #%remote_loginnode #%remote_username #%ssh_key ~/.ssh/id_rsa # #%defaultqueue #%submit_command /opt/moab/default/bin/msub -E # %compiler_name /glade/u/apps/opt/intel/2017u1/impi/2017.1.132/intel64/bin/mpif90 %compiler_name_ser /glade/u/apps/ch/opt/ncarcompilers/0.5.0/intel/17.0.1/ifort %cpp_options -cpp -D__intel_compiler -D__parallel -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__netcdf -D__netcdf4 -D__fftw %make_options -j 72 %compiler_options -O3 -fp-model source -fno-alias -fpe0 -ftz -no-prec-div -no-prec-sqrt -ip -nbs -diag-disable 8290,8291 -I /glade/u/apps/ch/opt/netcdf/4.6.3/intel/17.0.1/include %linker_options -O3 -fp-model source -fno-alias -fpe0 -ftz -no-prec-div -no-prec-sqrt -ip -nbs -diag-disable 8290,8291 /glade/u/apps/ch/opt/netcdf/4.6.3/intel/17.0.1/lib/libnetcdff.so /glade/u/apps/ch/opt/fftw/3.3.8/intel/17.0.1/lib/libfftw3.so %execute_command mpirun -n {{mpi_tasks}} ./palm #%memory 2300 #%module_commands module switch craype-ivybridge craype-haswell; module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel #%login_init_cmd .execute_special_profile # #------------------------------------------------------------------------------- # Directives to be used for batch jobs # Lines must start with "BD:". If $-characters are required, hide them with \ # Internal variables can be used as {{variable_name}}. Please see documentation. #------------------------------------------------------------------------------- BD:#!/bin/bash BD:#PBS -N {{job_id}} BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}} BD:#PBS -l nodes={{nodes}}:ppn={{tasks_per_node}} BD:#PBS -o {{job_protocol_file}} BD:#PBS -j oe BD:#PBS -q {{queue}} # #------------------------------------------------------------------------------- # Directives for batch jobs used to send back the jobfiles from a remote to a local host # Lines must start with "BDT:". If $-characters are required, excape them with triple backslash # Internal variables can be used as {{variable_name}}. Please see documentation. #------------------------------------------------------------------------------- BDT:#!/bin/bash BDT:#PBS -N job_protocol_transfer BDT:#PBS -l walltime=00:30:00 BDT:#PBS -l nodes=1:ppn=1 BDT:#PBS -o {{job_transfer_protocol_file}} BDT:#PBS -j oe BDT:#PBS -q dataq # #------------------------------------------------------------------------------- # INPUT-commands. These commands are executed before running PALM # Lines must start with "IC:" #------------------------------------------------------------------------------- IC:ulimit -s unlimited # #------------------------------------------------------------------------------- # ERROR-commands. These commands are executed when PALM terminates abnormally # Lines must start with "EC:" #------------------------------------------------------------------------------- EC:[[ $locat = execution ]] && cat RUN_CONTROL # #------------------------------------------------------------------------------- # OUTPUT-commands. These commands are executed when PALM terminates normally # Lines must start with "OC:" #------------------------------------------------------------------------------- # # Combine 1D- and 3D-profile output (these files are not usable for plotting) OC:[[ -f LIST_PROFIL_1D ]] && cat LIST_PROFIL_1D >> LIST_PROFILE OC:[[ -f LIST_PROFIL ]] && cat LIST_PROFIL >> LIST_PROFILE # # Combine all particle information files OC:[[ -f PARTICLE_INFOS/_0000 ]] && cat PARTICLE_INFOS/* >> PARTICLE_INFO