Skip to content

Commit

Permalink
Merge pull request #17 from gvallee/fix/mvapich_support
Browse files Browse the repository at this point in the history
Fix issues created by Ben's PR
  • Loading branch information
gvallee authored Mar 8, 2023
2 parents 382ab4f + 717348b commit f890c4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion pkg/jm/jobmgr_slurm.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"github.com/gvallee/go_exec/pkg/advexec"
"github.com/gvallee/go_hpc_jobmgr/internal/pkg/network"
"github.com/gvallee/go_hpc_jobmgr/internal/pkg/openmpi"
"github.com/gvallee/go_hpc_jobmgr/internal/pkg/mvapich2"
"github.com/gvallee/go_hpc_jobmgr/internal/pkg/slurm"
"github.com/gvallee/go_hpc_jobmgr/pkg/job"
"github.com/gvallee/go_hpc_jobmgr/pkg/mpi"
Expand Down
5 changes: 2 additions & 3 deletions pkg/mpi/mpi.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ func GetMpirunArgs(myHostMPICfg *implem.Info, app *app.Info, sysCfg *sys.Config,
switch myHostMPICfg.ID {
case implem.OMPI:
extraArgs = append(extraArgs, openmpi.GetExtraMpirunArgs(sysCfg, netCfg, mpirunArgs)...)
break
case implem.MVAPICH2:
extraArgs = append(extraArgs, mvapich2.GetExtraMpirunArgs(sysCfg, netCfg, mpirunArgs)...)
case implem.MVAPICH2:
extraArgs = append(extraArgs, mvapich2.GetExtraMpirunArgs(sysCfg, netCfg, mpirunArgs)...)
}

return extraArgs, nil
Expand Down

0 comments on commit f890c4a

Please sign in to comment.