Commit 8ab94439 authored by LDalby's avatar LDalby
Browse files

Fix missed changes from scen_01 to scen_02

parent 9429c87b
#!/bin/csh
#SBATCH --job-name=ALMaSS_goose_scenario_01
#SBATCH --job-name=ALMaSS_goose_scenario_02
#SBATCH --partition=q28
#SBATCH --ntasks=1
#SBATCH --mem=240G
......
......@@ -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.
......
......@@ -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) {
......
#!/bin/bash
cd /home/ldalby/workspace/Goose/Scenarios
chmod +x scenario_01_maize-availability_file-dist.R
/home/com/R/3.4.1/bin/Rscript scenario_01_maize-availability_file-dist.R $SLURM_JOB_ID
chmod +x scenario_02_maize-availability_file-dist.R
/home/com/R/3.4.1/bin/Rscript scenario_02_maize-availability_file-dist.R $SLURM_JOB_ID
for i in {01..8}; do
cd /scratch/$SLURM_JOB_ID/WD"$i"
......
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