Ignore:
Timestamp:
Dec 13, 2017 12:33:49 PM (5 years ago)
Author:
raasch
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/.palm.config.default.in

    r2690 r2693  
    3737%compiler_options    @PALM_COMPILER_OPTIONS@
    3838%linker_options      @PALM_LINKER_OPTIONS@
    39 %execute_command     mpirun -n {{MPI_TASKS}} ./palm
     39%execute_command     mpirun -n {{mpi_tasks}} ./palm
    4040#%memory              2300
    4141#%module_commands     module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel
     
    4545# Directives to be used for batch jobs
    4646# Lines must start with "BD:". If $-characters are required, hide them with \
    47 # Internal variables can be used as {{VARIABLE_NAME}}. Please see documentation.
     47# Internal variables can be used as {{variable_name}}. Please see documentation.
    4848#-------------------------------------------------------------------------------
    4949BD:#!/bin/bash
    50 BD:#PBS -N {{JOB_ID}}
    51 BD:#PBS -l walltime={{CPU_HOURS}}:{{CPU_MINUTES}}:{{CPU_SECONDS}}
    52 BD:#PBS -l nodes={{NODES}}:ppn={{TASKS_PER_NODE}}
    53 BD:#PBS -o {{JOBFILE}}
     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}}
    5454BD:#PBS -j oe
    55 BD:#PBS -q {{QUEUE}}
     55BD:#PBS -q {{queue}}
    5656#
    5757#-------------------------------------------------------------------------------
    5858# Directives for batch jobs used to send back the jobfiles from a remote to a local host
    5959# 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.
     60# Internal variables can be used as {{variable_name}}. Please see documentation.
    6161#-------------------------------------------------------------------------------
    6262BDT:#!/bin/bash
     
    6464BDT:#PBS -l walltime=00:30:00
    6565BDT:#PBS -l nodes=1:ppn=1
    66 BDT:#PBS -o {{JOB_TRANSFER_PROTOCOL_FILE}}
     66BDT:#PBS -o {{job_transfer_protocol_file}}
    6767BDT:#PBS -j oe
    6868BDT:#PBS -q dataq
Note: See TracChangeset for help on using the changeset viewer.