Skip to content

Commit

Permalink
move slurm log file to LOGDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
chan-hoo committed Mar 7, 2024
1 parent 8a28324 commit 5e15fb9
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
5 changes: 5 additions & 0 deletions parm/land_analysis_era5_hera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_exp.log"
task_prepobs:
envars:
OBS_TYPES: "&OBS_TYPES;"
Expand All @@ -77,6 +78,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_obs.log"
dependency:
taskdep:
attrs:
Expand All @@ -103,6 +105,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_bmat.log"
dependency:
taskdep:
attrs:
Expand Down Expand Up @@ -135,6 +138,7 @@ workflow:
nodes: "1:ppn=&NPROCS_ANA;"
walltime: 00:15:00
queue: batch
join: "&LOGDIR;/run_ana.log"
dependency:
taskdep:
attrs:
Expand Down Expand Up @@ -167,6 +171,7 @@ workflow:
nodes: "1:ppn=&NPROCS_FCST;"
walltime: 00:30:00
queue: batch
join: "&LOGDIR;/run_fcst.log"
dependency:
taskdep:
attrs:
Expand Down
9 changes: 7 additions & 2 deletions parm/land_analysis_era5_orion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ workflow:
CYCLEDIR: "&EXP_BASEDIR;/land-DA_workflow"
EXECdir: "&CYCLEDIR;/exec"
OUTDIR: "&EXP_BASEDIR;/comout/&NET;/&model_ver;/run_&FORCING;"
LOG: "&EXP_BASEDIR;/comout/output/logs"
LOGDIR: "&EXP_BASEDIR;/comout/output/logs"
PATHRT: "&EXP_BASEDIR;"
CTIME: "<cyclestr>@Y@m@d@H</cyclestr>"
PTIME: "<cyclestr offset='-1:00:00'>@Y@m@d@H</cyclestr>"
NTIME: "<cyclestr offset='01:00:00'>@Y@m@d@H</cyclestr>"
log: "&LOG;/workflow.log"
log: "&LOGDIR;/workflow.log"
tasks:
task_prepexp:
envars:
Expand All @@ -57,6 +57,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_exp.log"
task_prepobs:
envars:
OBS_TYPES: "&OBS_TYPES;"
Expand All @@ -77,6 +78,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_obs.log"
dependency:
taskdep:
attrs:
Expand All @@ -103,6 +105,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_bmat.log"
dependency:
taskdep:
attrs:
Expand Down Expand Up @@ -135,6 +138,7 @@ workflow:
nodes: "1:ppn=&NPROCS_ANA;"
walltime: 00:15:00
queue: batch
join: "&LOGDIR;/run_ana.log"
dependency:
taskdep:
attrs:
Expand Down Expand Up @@ -167,6 +171,7 @@ workflow:
nodes: "1:ppn=&NPROCS_FCST;"
walltime: 00:30:00
queue: batch
join: "&LOGDIR;/run_fcst.log"
dependency:
taskdep:
attrs:
Expand Down
5 changes: 5 additions & 0 deletions parm/land_analysis_gswp3_hera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_exp.log"
task_prepobs:
envars:
OBS_TYPES: "&OBS_TYPES;"
Expand All @@ -77,6 +78,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_obs.log"
dependency:
taskdep:
attrs:
Expand All @@ -103,6 +105,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_bmat.log"
dependency:
taskdep:
attrs:
Expand Down Expand Up @@ -135,6 +138,7 @@ workflow:
nodes: "1:ppn=&NPROCS_ANA;"
walltime: 00:15:00
queue: batch
join: "&LOGDIR;/run_ana.log"
dependency:
taskdep:
attrs:
Expand Down Expand Up @@ -167,6 +171,7 @@ workflow:
nodes: "1:ppn=&NPROCS_FCST;"
walltime: 00:30:00
queue: batch
join: "&LOGDIR;/run_fcst.log"
dependency:
taskdep:
attrs:
Expand Down
5 changes: 5 additions & 0 deletions parm/land_analysis_gswp3_orion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_exp.log"
task_prepobs:
envars:
OBS_TYPES: "&OBS_TYPES;"
Expand All @@ -77,6 +78,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_obs.log"
dependency:
taskdep:
attrs:
Expand All @@ -103,6 +105,7 @@ workflow:
cores: 1
walltime: 00:02:00
queue: batch
join: "&LOGDIR;/prep_bmat.log"
dependency:
taskdep:
attrs:
Expand Down Expand Up @@ -135,6 +138,7 @@ workflow:
nodes: "1:ppn=&NPROCS_ANA;"
walltime: 00:15:00
queue: batch
join: "&LOGDIR;/run_ana.log"
dependency:
taskdep:
attrs:
Expand Down Expand Up @@ -167,6 +171,7 @@ workflow:
nodes: "1:ppn=&NPROCS_FCST;"
walltime: 00:45:00
queue: batch
join: "&LOGDIR;/run_fcst.log"
dependency:
taskdep:
attrs:
Expand Down

0 comments on commit 5e15fb9

Please sign in to comment.