Skip to content

Commit

Permalink
Merge pull request #9 from BrodyWilliams/main
Browse files Browse the repository at this point in the history
Add BinArgs to jobmgr_slurm.go
  • Loading branch information
gvallee authored Jun 13, 2022
2 parents 5800626 + 147e5f7 commit a7107d0
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 + "\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 a7107d0

Please sign in to comment.