From 94c67e9bc758b2f53375087d1fc0419c2eaa346f Mon Sep 17 00:00:00 2001 From: Geoffroy Vallee Date: Tue, 2 Feb 2021 01:13:55 -0500 Subject: [PATCH] Fix a bug during the detect of Open MPI from the install directory --- internal/pkg/openmpi/openmpi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/openmpi/openmpi.go b/internal/pkg/openmpi/openmpi.go index 37a2499..11d6b7f 100644 --- a/internal/pkg/openmpi/openmpi.go +++ b/internal/pkg/openmpi/openmpi.go @@ -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) }