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
c31ee055
Commit
c31ee055
authored
2 years ago
by
Anne Tipka
Browse files
Options
Downloads
Patches
Plain Diff
added loading of ecaccess module in submit script and adjusted installscript to Bologna environment
parent
5cff464f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Templates/installscript.template.bologna
+8
-7
8 additions, 7 deletions
Templates/installscript.template.bologna
setup_bologna.sh
+2
-2
2 additions, 2 deletions
setup_bologna.sh
setup_local_bologna.sh
+2
-2
2 additions, 2 deletions
setup_local_bologna.sh
with
12 additions
and
11 deletions
Templates/installscript.template.bologna
+
8
−
7
View file @
c31ee055
#!/bin/
k
sh
#!/bin/
ba
sh
# ON ECS or HPC servers:
# start with ecaccess-job-submit -queueName <QUEUENAME> <NAME_OF_THIS_FILE> on gateway server
# start with srun <NAME_OF_THIS_FILE> directly on machine
#SBATCH --chdir=
$$SCRATCH
#SBATCH --chdir=
/scratch/$username
#SBATCH --qos=el
#SBATCH --job-name=flex_
extract
#SBATCH --output=flex_
extract
.%j.out
#SBATCH --error=flex_
error
.%j.out
#SBATCH --job-name=flex_
compile
#SBATCH --output=flex_
compile
.%j.out
#SBATCH --error=flex_
compile
.%j.out
#SBATCH --mail-type=FAIL
#SBATCH --mail-user=$username
## CRAY specific batch requests
##PBS -N flex_ecmwf
...
...
@@ -58,10 +57,12 @@ make -f $${MAKEFILE} >flexcompile 2>flexcompile
ls
-l
$fortran_program
>>
flexcompile
if
[
$$
?
-eq
0
]
;
then
echo
'
SUCCESS!'
>>
flexcompile
echo
-e
'\n
SUCCESS!'
>>
flexcompile
mail
-s
flexcompile.
$$
{
HOST
}
.
$$$$
$$
{
USER
}
<flexcompile
sleep
1
else
echo
Environment:
>>
flexcompile
env
>>
flexcompile
mail
-s
"ERROR! flexcompile.
$$
{HOST}.
$$$$
"
$$
{
USER
}
<flexcompile
sleep
1
fi
This diff is collapsed.
Click to expand it.
setup_bologna.sh
+
2
−
2
View file @
c31ee055
...
...
@@ -52,8 +52,8 @@ parameterlist=""
# CHECK IF ON ECMWF SERVER;
if
[[
$EC_CLUSTER
==
"ecs"
]]
||
[[
$EC_CLUSTER
==
"aa"
*
]]
||
[[
$EC_CLUSTER
==
"ab"
*
]]
||
[[
$EC_CLUSTER
==
"ac"
*
]]
||
[[
$EC_CLUSTER
==
"ad"
*
]]
;
then
# LOAD PYTHON3 MODULE
module load python3
# LOAD PYTHON3
AND ECACCESS
MODULE
S
module load python3
ecaccess
fi
# DEFAULT PARAMETERLIST
...
...
This diff is collapsed.
Click to expand it.
setup_local_bologna.sh
+
2
−
2
View file @
c31ee055
...
...
@@ -56,8 +56,8 @@ parameterlist=""
# CHECK IF ON ECMWF SERVER; 0
if
[[
$EC_CLUSTER
==
"ecs"
]]
||
[[
$EC_CLUSTER
==
"aa"
*
]]
||
[[
$EC_CLUSTER
==
"ac"
*
]]
||
[[
$EC_CLUSTER
==
"ad"
*
]]
||
[[
$EC_CLUSTER
==
"ab"
*
]]
;
then
# LOAD PYTHON3 MODULE
module load python3
# LOAD PYTHON3
AND ECACCESS
MODULE
S
module load python3
ecaccess
fi
# DEFAULT PARAMETERLIST
...
...
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