Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PLUM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Land Use Lab
PLUM
Commits
f7066da3
Commit
f7066da3
authored
7 years ago
by
Peter Alexander
Browse files
Options
Downloads
Patches
Plain Diff
Cluster schedule scripts
parent
3f954699
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/createHindScenarios.sh
+9
-3
9 additions, 3 deletions
scripts/createHindScenarios.sh
scripts/runCalibAndPlum.sh
+5
-3
5 additions, 3 deletions
scripts/runCalibAndPlum.sh
with
14 additions
and
6 deletions
scripts/createHindScenarios.sh
+
9
−
3
View file @
f7066da3
...
@@ -23,9 +23,15 @@ do
...
@@ -23,9 +23,15 @@ do
if
[
-z
"
$header
"
]
;
then
if
[
-z
"
$header
"
]
;
then
header
=(
"
${
array
[@]
}
"
)
header
=(
"
${
array
[@]
}
"
)
else
else
scenario
=
"
${
array
[0]
}
"
ensemble
=
"
${
array
[0]
}
"
scenario_dir
=
$output_dir
/
$scenario
scenario
=
"
${
array
[1]
}
"
echo
"
$scenario
in
$scenario_dir
"
scenario_dir
=
$output_dir
/
$ensemble
/
$scenario
echo
"
$scenario
for
$ensemble
in
$scenario_dir
"
if
[
!
-d
"
$output_dir
/
$ensemble
"
]
;
then
mkdir
$output_dir
/
$ensemble
fi
if
[
!
-d
"
$scenario_dir
"
]
;
then
if
[
!
-d
"
$scenario_dir
"
]
;
then
mkdir
$scenario_dir
mkdir
$scenario_dir
mkdir
$scenario_dir
/calib
mkdir
$scenario_dir
/calib
...
...
This diff is collapsed.
Click to expand it.
scripts/runCalibAndPlum.sh
+
5
−
3
View file @
f7066da3
...
@@ -5,8 +5,10 @@ if [ $# -ne 1 ]; then
...
@@ -5,8 +5,10 @@ if [ $# -ne 1 ]; then
exit
0
exit
0
fi
fi
jobName
=
${
1
//\/
}
c
# remove slash from path as qsub doesnt allow it
jobName
=
${
1
//\//_
}
c
# remove slash from path as qsub doesnt allow it
jobName
=
${
jobName
/hind1970/h_
}
echo
$jobName
echo
$jobName
calibJob
=
${
jobName
}
_c
qsub
-N
$
jobName
/exports/csce/eddie/geos/groups/LURG/models/PLUM/plumv2/scripts/runPlum.sh
$1
/calib
qsub
-N
$
calibJob
/exports/csce/eddie/geos/groups/LURG/models/PLUM/plumv2/scripts/runPlum.sh
$1
/calib
qsub
-hold_jid
$
jobName
/exports/csce/eddie/geos/groups/LURG/models/PLUM/plumv2/scripts/runPlum.sh
$1
qsub
-N
$jobName
-hold_jid
$
calibJob
/exports/csce/eddie/geos/groups/LURG/models/PLUM/plumv2/scripts/runPlum.sh
$1
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