Commit 248cac58 authored by LDalby's avatar LDalby
Browse files

Prep for 100 years of scenarios

parent 820627e8
......@@ -5,7 +5,7 @@
#SBATCH --mem=240G
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=4
#SBATCH --time=48:00:00
#SBATCH --time=168:00:00
#SBATCH --exclusive
#SBATCH --mem-per-cpu=60G
#SBATCH --mail-type=ALL
......
......@@ -5,7 +5,7 @@
#SBATCH --mem=240G
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=8
#SBATCH --time=48:00:00
#SBATCH --time=168:00:00
#SBATCH --exclusive
#SBATCH --mem-per-cpu=40G
#SBATCH --mail-type=ALL
......
......@@ -22,7 +22,7 @@ basedir <- "/home/ldalby/workspace/Goose/RunDirectory"
pathtodirs <- path('/scratch', args)
# Setup the directories
npar <- 4 # Specifies the number of run directories
years <- 10 # the number of seasons to run (goose sims run over the year boundary)
years <- 100 # 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) {
......
......@@ -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 <- 100 # 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) {
......@@ -44,7 +44,7 @@ for (i in seq_along(dirs)) {
cfg <- readLines("/home/ldalby/workspace/Goose/RunDirectory/TIALMaSSConfig.cfg")
# Distribute the different parameters ----
nsteps <- 3 # the number of intervals to split the parameter in
nsteps <- 10 # the number of intervals to split the parameter in
replace_rotation <- function(new_rot, old_rot, wd_path) {
rot_paths <- "/home/ldalby/ALMaSS/almass/Grendel/rotations/"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment