Changeset d9afe04 in flex_extract.git for Templates/jobscript.template.bologna


Ignore:
Timestamp:
Oct 24, 2022, 9:46:55 PM (19 months ago)
Author:
Anne Tipka <anne.tipka@…>
Branches:
dev
Children:
7d77efa
Parents:
6a9dbfd
Message:

corrected setting up module environment in shell script templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Templates/jobscript.template.bologna

    r17dc83a rd9afe04  
    33# ON ECS or HPC:
    44# start with ecaccess-job-submit -queueName <QUEUE_NAME> <NAME_OF_THIS_FILE>  on gateway server
    5 # start with srun <NAME_OF_THIS_FILE> directly on machine
     5# start with sbatch <NAME_OF_THIS_FILE> directly on machine
    66
    77#SBATCH --chdir=/scratch/$username
     
    1111#SBATCH --error=flex_extract.%j.out
    1212#SBATCH --mail-type=FAIL
     13#SBATCH --mail-user=$username
    1314#SBATCH --time=24:00:00
    14 
    15 ## CRAY specific batch requests
    16 ##PBS -N flex_extract
    17 ##PBS -q np
    18 ##PBS -S /usr/bin/ksh
    19 ## -o $$$${SCRATCH}/flex_ecmwf.$$$${PBS_JOBID}.out
    2015## job output is in .ecaccess_DO_NOT_REMOVE
    21 ##PBS -j oe
    22 ##PBS -V
    23 ##PBS -l EC_threads_per_task=24
    24 ##PBS -l EC_memory_per_task=32000MB
    2516
    2617set -x
     
    2819case $$$${EC_CLUSTER} in
    2920  *ecs*)
     21  module purge
     22  module load prgenv/gnu gcc/8.4.1
    3023  module load python3
    3124  module load ecmwf-toolbox
     
    3427  ;;
    3528  *hpc*)
    36 #  module switch PrgEnv-cray PrgEnv-intel
     29  module purge
     30  module load prgenv/gnu gcc/8.4.1
    3731  module load python3
    3832  module load ecmwf-toolbox
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG