Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
remind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Jerome Hilaire
remind
Commits
ae1a7dd7
Unverified
Commit
ae1a7dd7
authored
5 years ago
by
Lavinia Baumstark
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #39 from dklein-pik/develop
Corrections for start scripts
parents
b8a53d4f
d76cbf2f
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/start/submit.R
+1
-1
1 addition, 1 deletion
scripts/start/submit.R
start_coupled.R
+1
-1
1 addition, 1 deletion
start_coupled.R
with
2 additions
and
2 deletions
scripts/start/submit.R
+
1
−
1
View file @
ae1a7dd7
...
...
@@ -55,7 +55,7 @@ submit <- function(cfg) {
log
<-
format
(
Sys.time
(),
paste0
(
cfg
$
title
,
"-%Y-%H-%M-%S-%OS3.log"
))
system
(
"Rscript prepare_and_run.R"
)
}
else
{
system
(
paste0
(
"sbatch --job-name="
,
cfg
$
title
,
" --output=
"
,
cfg
$
title
,
".ou
t --mail-type=END --comment=REMIND --wrap=\"Rscript prepare_and_run.R \" "
,
cfg
$
slurmConfig
))
system
(
paste0
(
"sbatch --job-name="
,
cfg
$
title
,
" --output=
log.tx
t --mail-type=END --comment=REMIND --wrap=\"Rscript prepare_and_run.R \" "
,
cfg
$
slurmConfig
))
Sys.sleep
(
1
)
}
...
...
This diff is collapsed.
Click to expand it.
start_coupled.R
+
1
−
1
View file @
ae1a7dd7
...
...
@@ -215,7 +215,7 @@ start_coupled <- function(path_remind,path_magpie,cfg_rem,cfg_mag,runname,max_it
#start subsequent runs via sbatch
for
(
run
in
cfg_rem
$
subsequentruns
){
cat
(
"Submitting subsequent run"
,
run
,
"\n"
)
system
(
paste0
(
"sbatch --qos=standby --job-name="
,
run
,
" --output="
,
run
,
".log --mail-type=END --comment=REMIND-MAgPIE --tasks-per-node=
13
"
,
nr_of_regions
,
" --wrap=\"Rscript start_coupled.R coupled_config="
,
run
,
".RData\""
))
system
(
paste0
(
"sbatch --qos=standby --job-name="
,
run
,
" --output="
,
run
,
".log --mail-type=END --comment=REMIND-MAgPIE --tasks-per-node="
,
nr_of_regions
,
" --wrap=\"Rscript start_coupled.R coupled_config=
C_
"
,
run
,
".RData\""
))
}
# Read runtime of ALL coupled runs (not just the current scenario) and produce comparison pdf
...
...
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