Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flex Extract
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Flexpart
Flex Extract
Commits
d9afe040
Commit
d9afe040
authored
2 years ago
by
Anne Tipka
Browse files
Options
Downloads
Patches
Plain Diff
corrected setting up module environment in shell script templates
parent
6a9dbfd8
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Templates/installscript.template.bologna
+8
-14
8 additions, 14 deletions
Templates/installscript.template.bologna
Templates/jobscript.template.bologna
+6
-12
6 additions, 12 deletions
Templates/jobscript.template.bologna
with
14 additions
and
26 deletions
Templates/installscript.template.bologna
+
8
−
14
View file @
d9afe040
#!/bin/bash
# ON ECS or HPC servers:
# start with ecacc
e
ss-job-submit -queueName <QUEUENAME> <NAME_OF_THIS_FILE> on gateway server
# start with s
run
<NAME_OF_THIS_FILE> directly on machine
# start with ecaccss-job-submit -queueName <QUEUENAME> <NAME_OF_THIS_FILE> on gateway server
# start with s
batch
<NAME_OF_THIS_FILE> directly on machine
#SBATCH --chdir=/scratch/$username
#SBATCH --qos=el
...
...
@@ -10,23 +10,16 @@
#SBATCH --output=flex_compile.%j.out
#SBATCH --error=flex_compile.%j.out
#SBATCH --mail-type=FAIL
## CRAY specific batch requests
##PBS -N flex_ecmwf
##PBS -q ns
##PBS -S /usr/bin/ksh
##PBS -o $$SCRATCH/flex_extract.$${Jobname}.$${Job_ID}.out
#SBATCH --mail-user=$username
# job output is in .ecaccess_DO_NOT_REMOVE
##PBS -j oe
##PBS -V
##PBS -l EC_threads_per_task=1
##PBS -l EC_memory_per_task=3200MB
set
-x
export
VERSION
=
$version_number
case
$$
{
EC_CLUSTER
}
in
*
ecs
*
)
# module switch prgenv/gnu
module purge
module load prgenv/gnu
module load gcc/8.4.1
module load ecmwf-toolbox
module load python3
module load ecaccess
...
...
@@ -34,7 +27,8 @@ case $${EC_CLUSTER} in
export
MAKEFILE
=
$makefile
;;
*
hpc
*
)
# module switch PrgEnv-cray PrgEnv-intel
module purge
module load prgenv/gnu gcc/8.4.1
module load python3
module load ecmwf-toolbox
module load ecaccess
...
...
This diff is collapsed.
Click to expand it.
Templates/jobscript.template.bologna
+
6
−
12
View file @
d9afe040
...
...
@@ -2,7 +2,7 @@
# ON ECS or HPC:
# start with ecaccess-job-submit -queueName <QUEUE_NAME> <NAME_OF_THIS_FILE> on gateway server
# start with s
run
<NAME_OF_THIS_FILE> directly on machine
# start with s
batch
<NAME_OF_THIS_FILE> directly on machine
#SBATCH --chdir=/scratch/$username
#SBATCH --qos=el
...
...
@@ -10,30 +10,24 @@
#SBATCH --output=flex_extract.%j.out
#SBATCH --error=flex_extract.%j.out
#SBATCH --mail-type=FAIL
#SBATCH --mail-user=$username
#SBATCH --time=24:00:00
## CRAY specific batch requests
##PBS -N flex_extract
##PBS -q np
##PBS -S /usr/bin/ksh
## -o $$$${SCRATCH}/flex_ecmwf.$$$${PBS_JOBID}.out
## job output is in .ecaccess_DO_NOT_REMOVE
##PBS -j oe
##PBS -V
##PBS -l EC_threads_per_task=24
##PBS -l EC_memory_per_task=32000MB
set
-x
export
VERSION
=
$version_number
case
$$$$
{
EC_CLUSTER
}
in
*
ecs
*
)
module purge
module load prgenv/gnu gcc/8.4.1
module load python3
module load ecmwf-toolbox
module load ecaccess
export
PATH
=
$$$$
{
PATH
}
:
$fp_root_path
;;
*
hpc
*
)
# module switch PrgEnv-cray PrgEnv-intel
module purge
module load prgenv/gnu gcc/8.4.1
module load python3
module load ecmwf-toolbox
module load ecaccess
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment