Changeset d9afe04 in flex_extract.git


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

corrected setting up module environment in shell script templates

Location:
Templates
Files:
2 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
  • 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