Changes between Version 6 and Version 7 of doc/app/palm_config


Ignore:
Timestamp:
May 25, 2018 8:52:05 AM (7 years ago)
Author:
raasch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/palm_config

    v6 v7  
    7272=== environment variables and their meaning
    7373
    74 The default template contains settings for the minimum set of variables that always need to be defined, plus suggestions for other variables that you may need to uncomment, in case that you like/need to use them. The following table lists all relevant variables and their meaning.
     74The [source:palm/trunk/SCRIPTS/.palm.config.default default template] contains settings for the minimum set of variables that always need to be defined, plus suggestions for other variables that you may need to uncomment, in case that you like/need to use them. The following table lists all relevant variables and their meaning. Default values are either those which are set in the scripts {{{palmrun}}} and {{{palmbuild}}} or which are suggested in the template file.
    7575
    76 | Name | meaning |
     76||='''Variable name''' =||='''meaning''' =||='''default value''' =||
     77|-----------
     78||base_directory    ||Working directory from where {{{palmrun}}} or {{{palmbuild}}} is called. This folder must contain the configuration file {{{.palm.config....}}}. ||$HOME/palm/current_version ||
     79||base_data         ||Directory where the PALM I/O-files are stored. This variable is used in the file configuration file (see [source:palm/trunk/SCRIPTS/.palm.iofiles .palm.iofiles], and the [wiki:doc/app/palm_iofiles description] of this file). Since this variable is also used to determine file locations on remote hosts, it must use the {{{~}}} instead of {{{$HOME}}}. ||~/palm/current_version/JOBS ||
     80||source_path       ||Path to PALM's FORTRAN source files. This is the place where the automatic installer has put the download, or which has been defined in the user's {{{svn checkout}}} command. ||$HOME/palm/current_version/trunk/SOURCE ||
     81||user_source_path  ||Path to the [wiki:doc/app/userint user interface routines]. The variable {{{jobname}}} that is used in the default path is replaced by the argument given with {{{palmrun}}}-option {{{-d}}}. ||$base_directory/JOBS/$jobname/USER_CODE ||
    7782
     83
     84
     85# path to file system with fast discs (if available). This folder
     86# is used for temporary catalogs generated by palmrun and to store large
     87# I/O files (used in .palm.iofiles). This folder must be accessible from
     88# all compute nodes, i.e. it must reside in a global file system
     89%fast_io_catalog   <replace by a folder name which allows for fast I/O>
     90
     91# folder for job protocols
     92#%local_jobcatalog    $HOME/job_queue
     93
     94# folder for job protocols to be used on the remote host
     95#%remote_jobcatalog   <path/to/directory on remote host>
     96
     97# local ip of your computer. Use 127.0.0.0 if you are running PALM
     98# in interactive mode on your local computer
     99%local_ip            <replace by your computers IP address>
     100
     101# your local UNIX username
     102%local_username      <replace by your unix username>
     103
     104# ip address of the remote host
     105#%remote_ip           <ip>
     106
     107# username on the remote host
     108#%remote_username     <username>
     109
     110# ssh-key to be used for ssh/scp calls to the remote host
     111#%ssh_key             ~/.ssh/id_rsa
     112
     113# name of login-node on the remote machine
     114#%remote_loginnode    <loginnode>
     115
     116# default queue to be used if palmrun-option -q is omitted
     117#%defaultqueue        <queue>
     118
     119# command to submit batch jobs
     120#%submit_command      /opt/moab/default/bin/msub -E
     121
     122# compilername to generate MPI executables
     123%compiler_name       mpif90
     124
     125# compilername to generate non-MPI executables running on one core
     126%compiler_name_ser   ifort
     127
     128# preprocessor directives to be used for compiling the PALM code
     129%cpp_options         -cpp -D__parallel -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__fftw -D__netcdf
     130
     131# used for parallel compilation
     132%make_options        -j 4
     133
     134# options to be used to compile PALM
     135%compiler_options    -openmp -fpe0 -O3 -xHost -fp-model source -ftz -fno-alias -no-prec-div -no-prec-sqrt -ip -nbs -I /muksoft/packages/fftw/3.3.4/include -L/muksoft/packages/fftw/3.3.4/lib64 -lfftw3 -I /muksoft/packages/netcdf/4_intel/include -L/muksoft/packages/netcdf/4_intel/lib -lnetcdf -lnetcdff
     136
     137# options to be used to link the PALM executable
     138%linker_options      -openmp -fpe0 -O3 -xHost -fp-model source -ftz -fno-alias -no-prec-div -no-prec-sqrt -ip -nbs -I /muksoft/packages/fftw/3.3.4/include -L/muksoft/packages/fftw/3.3.4/lib64 -lfftw3 -I /muksoft/packages/netcdf/4_intel/include -L/muksoft/packages/netcdf/4_intel/lib -lnetcdf -lnetcdff
     139
     140# name of hostfile to be used
     141%hostfile            auto
     142
     143# command to start the PALM executable
     144%execute_command     mpiexec  -machinefile hostfile  -n {{mpi_tasks}}  palm
     145
     146# memory request per core
     147#%memory              2300
     148
     149# module commands to load required libraries
     150#%module_commands     module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel
     151
     152# special commands to be carried out at login and start of batch jobs on the remote host
     153#%login_init_cmd      module switch craype-ivybridge craype-haswell
    78154
    79155=== batch job directives