We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 137cd73 + 4bd4f9f commit 25e0db6Copy full SHA for 25e0db6
ompi/tools/mpirun/main.c
@@ -74,8 +74,8 @@ int main(int argc, char *argv[])
74
} else {
75
/* in case --enable-prefix-by-default was given */
76
mca_base_framework_open(&opal_installdirs_base_framework, 0); // fill in the installdirs
77
- if (NULL != opal_install_dirs.prefix) {
78
- pfx = strdup(opal_install_dirs.prefix);
+ if (NULL != opal_install_dirs.bindir) {
+ pfx = strdup(opal_install_dirs.bindir);
79
}
80
#endif
81
@@ -93,6 +93,8 @@ int main(int argc, char *argv[])
93
94
95
execve(truepath, pargs, environ);
96
+ fprintf(stderr, "The mpirun cmd failed to exec its actual executable - your application will NOT execute. Error: %s\n", strerror(errno));
97
+ exit(1);
98
99
100
/*
0 commit comments