Skip to content

Commit

Permalink
Update jobmgr_slurm.go
Browse files Browse the repository at this point in the history
  • Loading branch information
BrodyWilliams authored May 28, 2022
1 parent b0cfa69 commit 147e5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/jm/jobmgr_slurm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 147e5f7

Please sign in to comment.