Skip to content

Commit

Permalink
Fix a bug during the detect of Open MPI from the install directory
Browse files Browse the repository at this point in the history
  • Loading branch information
gvallee committed Feb 2, 2021
1 parent ddab3fe commit 94c67e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/openmpi/openmpi.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func parseOmpiInfoOutputForVersion(output string) (string, error) {

// DetectFromDir tries to figure out which version of OpenMPI is installed in a given directory
func DetectFromDir(dir string) (string, string, error) {
targetBin := filepath.Join(dir, "bin", "ompi-info")
targetBin := filepath.Join(dir, "bin", "ompi_info")
if !util.FileExists(targetBin) {
return "", "", fmt.Errorf("%s does not exist, not an OpenMPI implementation", targetBin)
}
Expand Down

0 comments on commit 94c67e9

Please sign in to comment.