Skip to content

Commit

Permalink
Fix cosmo job
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaehn committed Sep 30, 2023
1 parent 7660c48 commit 7f134f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cases/cosmo-ghg-spinup-test/cosmo_runjob.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#SBATCH --hint=nomultithread
#SBATCH --output={logfile}
#SBATCH --open-mode=append
#SBATCH --chdir={cfg.cosmo_work}
#SBATCH --chdir={cfg.cosmo_run}

export MALLOC_MMAP_MAX_=0
export MALLOC_TRIM_THRESHOLD_=536870912
Expand Down
2 changes: 1 addition & 1 deletion jobs/cosmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def main(starttime, hstart, hstop, cfg, model_cfg):
cfg : config-object
Object holding all user-configuration parameters as attributes
"""
cfg = set_cosmo_variables(cfg, model_cfg)
cfg = set_cfg_variables(cfg, model_cfg)
logfile = os.path.join(cfg.log_working_dir, "cosmo")
logfile_finish = os.path.join(cfg.log_finished_dir, "cosmo")

Expand Down

0 comments on commit 7f134f7

Please sign in to comment.