diff --git a/src/tools/wrappers/mpif77.cc b/src/tools/wrappers/mpif77.cc index 0886bcf541..a722998807 100644 --- a/src/tools/wrappers/mpif77.cc +++ b/src/tools/wrappers/mpif77.cc @@ -6,10 +6,11 @@ #include "ompi_config.h" #include "tools/wrappers/ompi_wrap.h" +#include +using namespace std; -int -main(int argc, char *argv[]) +int main(int argc, char *argv[]) { // The four wrapper compilers are extremely similar. So similar, // in fact, that they can be parameterized on what is different. @@ -21,6 +22,8 @@ main(int argc, char *argv[]) #if 0 show_help("hf77", "no-fortran-support", NULL); #endif + cerr << "Open MPI was not compiled with f77 support" << endl + << "(waiting for show_help for a proper error message)" << endl; return 1; #else ompi_sv_t str_vec; diff --git a/src/tools/wrappers/mpif90.cc b/src/tools/wrappers/mpif90.cc index a656032cc1..abee9ac40c 100644 --- a/src/tools/wrappers/mpif90.cc +++ b/src/tools/wrappers/mpif90.cc @@ -6,10 +6,11 @@ #include "ompi_config.h" #include "tools/wrappers/ompi_wrap.h" +#include +using namespace std; -int -main(int argc, char *argv[]) +int main(int argc, char *argv[]) { // The four wrapper compilers are extremely similar. So similar, // in fact, that they can be parameterized on what is different. @@ -21,6 +22,8 @@ main(int argc, char *argv[]) #if 0 show_help("hf90", "no-fortran-support", NULL); #endif + cerr << "Open MPI was not compiled with f90 support" << endl + << "(waiting for show_help for a proper error message)" << endl; return 1; #else ompi_sv_t str_vec;