Skip to content

Commit

Permalink
Merge pull request #218 from mnlevy1981/update_timeseries_template
Browse files Browse the repository at this point in the history
Three patches for time series generation
  • Loading branch information
dabail10 authored Dec 8, 2023
2 parents 6870642 + 693aafb commit 16211db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timeseries/template.timeseries
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def _main_func(description):
env_mach_specific = case.get_env('mach_specific')
env_workflow = case.get_env("workflow")
overrides = {}
overrides["total_tasks"], overrides["num_nodes"], overrides["tasks_per_node"], overrides["thread_count"] = env_workflow.get_job_specs(job)
overrides["total_tasks"], overrides["num_nodes"], overrides["tasks_per_node"], overrides["thread_count"] = env_workflow.get_job_specs(case, job)

# Things that will have to be matched against mpirun element attributes
mpi_attribs = {
Expand All @@ -45,7 +45,7 @@ def _main_func(description):
"queue" : case.get_value("JOB_QUEUE", subgroup=job),
"unit_testing" : False
}
executable, mpi_arg_list = env_mach_specific.get_mpirun(case, mpi_attribs, job, overrides=overrides)
executable, mpi_arg_list, _, _ = env_mach_specific.get_mpirun(case, mpi_attribs, job, overrides=overrides)
cmd = executable+" "+" ".join(mpi_arg_list) + " " + run_exe
os.environ["ARGS_FOR_SCRIPT"] = " --caseroot={}".format(os.path.join(caseroot,"postprocess"))
cmd = case.get_resolved_value(cmd)
Expand Down

0 comments on commit 16211db

Please sign in to comment.