From 147e5f76e5dd18591104335b9847e57dc22fe729 Mon Sep 17 00:00:00 2001 From: Brody Williams <36043827+BrodyWilliams@users.noreply.github.com> Date: Sat, 28 May 2022 12:47:50 -0500 Subject: [PATCH] Update jobmgr_slurm.go --- pkg/jm/jobmgr_slurm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/jm/jobmgr_slurm.go b/pkg/jm/jobmgr_slurm.go index 712e502..7a30424 100644 --- a/pkg/jm/jobmgr_slurm.go +++ b/pkg/jm/jobmgr_slurm.go @@ -282,7 +282,7 @@ func setupMpiJob(j *job.Job, sysCfg *sys.Config) error { ppr := j.NP / j.NNodes scriptText += fmt.Sprintf("--map-by ppr:%d:node -rank-by core -bind-to core", ppr) } - scriptText += " " + strings.Join(mpirunArgs, " ") + " " + j.App.BinPath + strings.Join(j.App.BinArgs,"") + "\n" + scriptText += " " + strings.Join(mpirunArgs, " ") + " " + j.App.BinPath + strings.Join(j.App.BinArgs," ") + "\n" err = ioutil.WriteFile(j.BatchScript, []byte(scriptText), 0644) if err != nil {