MPI: lib info update & compilation fix
parent
4877532c8e
commit
91ba3a6f6f
|
@ -95,13 +95,14 @@ string openEMS_FDTD_MPI::GetExtLibsInfo()
|
||||||
str << openEMS::GetExtLibsInfo();
|
str << openEMS::GetExtLibsInfo();
|
||||||
|
|
||||||
// MPI
|
// MPI
|
||||||
str << "\t\t" << "MPI version: " << MPI_VERSION << "." << MPI_SUBVERSION << " -- compiled against: ";
|
str << "\t\t" << "MPI -- Version: " << MPI_VERSION << "." << MPI_SUBVERSION << endl;
|
||||||
|
str << "\t\t" << " compiled against: ";
|
||||||
#ifdef MPICH2_VERSION
|
#ifdef MPICH2_VERSION
|
||||||
str << "MPICH2 " MPICH2_VERSION << endl;
|
str << "MPICH2 " << MPICH2_VERSION << endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef OMPI_MAJOR_VERSION
|
#ifdef OMPI_MAJOR_VERSION
|
||||||
str << "openMPI: " OMPI_MAJOR_VERSION << "." << OMPI_MINOR_VERSION << "." << OMPI_RELEASE_VERSION << endl;
|
str << "openMPI" << OMPI_MAJOR_VERSION << "." << OMPI_MINOR_VERSION << "." << OMPI_RELEASE_VERSION << endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return str.str();
|
return str.str();
|
||||||
|
|
Loading…
Reference in New Issue