Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lars Dalby
almass
Commits
8ab94439
Commit
8ab94439
authored
Jan 04, 2019
by
LDalby
Browse files
Fix missed changes from scen_01 to scen_02
parent
9429c87b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Grendel/ALMaSS_q28_goose_scenario_02
View file @
8ab94439
#!/bin/csh
#SBATCH --job-name=ALMaSS_goose_scenario_0
1
#SBATCH --job-name=ALMaSS_goose_scenario_0
2
#SBATCH --partition=q28
#SBATCH --ntasks=1
#SBATCH --mem=240G
...
...
Grendel/collect-results-scenario_02.R
View file @
8ab94439
...
...
@@ -17,7 +17,7 @@ args <- commandArgs(trailingOnly = TRUE)
# The parent directory of all the work directories
path_to_dirs
<-
path
(
"/scratch"
,
args
)
file_name
<-
"scenario-results.txt"
npar
=
4
# Specifies the number of run directories that was being used
npar
=
8
# Specifies the number of run directories that was being used
plan
(
multiprocess
)
# to run in parallel future_map in parallel.
...
...
Grendel/scenario_02_maize-availability_file-dist.R
View file @
8ab94439
...
...
@@ -22,7 +22,7 @@ basedir <- "/home/ldalby/workspace/Goose/RunDirectory"
pathtodirs
<-
path
(
"/scratch"
,
args
)
# Setup the directories
npar
<-
8
# Specifies the number of run directories
years
<-
3
# the number of seasons to run (goose sims run over the year boundary)
years
<-
10
# the number of seasons to run (goose sims run over the year boundary)
basename
<-
"WD"
# The prefix to the directories
# Make the directories and copy the files:
for
(
i
in
1
:
npar
)
{
...
...
Grendel/start-scenario_02.sh
View file @
8ab94439
#!/bin/bash
cd
/home/ldalby/workspace/Goose/Scenarios
chmod
+x scenario_0
1
_maize-availability_file-dist.R
/home/com/R/3.4.1/bin/Rscript scenario_0
1
_maize-availability_file-dist.R
$SLURM_JOB_ID
chmod
+x scenario_0
2
_maize-availability_file-dist.R
/home/com/R/3.4.1/bin/Rscript scenario_0
2
_maize-availability_file-dist.R
$SLURM_JOB_ID
for
i
in
{
01..8
}
;
do
cd
/scratch/
$SLURM_JOB_ID
/WD
"
$i
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment