Add temporary error messages when not compiled with f77 or f90 support
This commit was SVN r2125.
Этот коммит содержится в:
родитель
1ca0115ff7
Коммит
03f195d22c
@ -6,10 +6,11 @@
|
||||
#include "ompi_config.h"
|
||||
#include "tools/wrappers/ompi_wrap.h"
|
||||
|
||||
#include <iostream>
|
||||
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;
|
||||
|
@ -6,10 +6,11 @@
|
||||
#include "ompi_config.h"
|
||||
#include "tools/wrappers/ompi_wrap.h"
|
||||
|
||||
#include <iostream>
|
||||
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;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user