Changeset d9afe04 in flex_extract.git for Templates/installscript.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/installscript.template.bologna

    rc31ee05 rd9afe04  
    22
    33# ON ECS or HPC servers:
    4 # start with ecaccess-job-submit -queueName <QUEUENAME> <NAME_OF_THIS_FILE>  on gateway server
    5 # start with srun <NAME_OF_THIS_FILE> directly on machine
     4# start with ecaccss-job-submit -queueName <QUEUENAME> <NAME_OF_THIS_FILE>  on gateway server
     5# start with sbatch <NAME_OF_THIS_FILE> directly on machine
    66
    77#SBATCH --chdir=/scratch/$username
     
    1111#SBATCH --error=flex_compile.%j.out
    1212#SBATCH --mail-type=FAIL
    13 
    14 ## CRAY specific batch requests
    15 ##PBS -N flex_ecmwf
    16 ##PBS -q ns
    17 ##PBS -S /usr/bin/ksh
    18 ##PBS -o $$SCRATCH/flex_extract.$${Jobname}.$${Job_ID}.out
     13#SBATCH --mail-user=$username
    1914# job output is in .ecaccess_DO_NOT_REMOVE
    20 ##PBS -j oe
    21 ##PBS -V
    22 ##PBS -l EC_threads_per_task=1
    23 ##PBS -l EC_memory_per_task=3200MB
    2415
    2516set -x
     
    2718case $${EC_CLUSTER} in
    2819  *ecs*)
    29 #  module switch prgenv/gnu
     20  module purge
     21  module load prgenv/gnu
     22  module load gcc/8.4.1
    3023  module load ecmwf-toolbox
    3124  module load python3
     
    3528  ;;
    3629  *hpc*)
    37 #  module switch PrgEnv-cray PrgEnv-intel
     30  module purge
     31  module load prgenv/gnu gcc/8.4.1
    3832  module load python3
    3933  module load ecmwf-toolbox
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG