MPI: lib info update & compilation fix

pull/1/head
Thorsten Liebig 2011-04-08 12:26:32 +02:00
parent 4877532c8e
commit 91ba3a6f6f
1 changed files with 4 additions and 3 deletions

View File

@ -95,13 +95,14 @@ string openEMS_FDTD_MPI::GetExtLibsInfo()
str << openEMS::GetExtLibsInfo();
// 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
str << "MPICH2 " MPICH2_VERSION << endl;
str << "MPICH2 " << MPICH2_VERSION << endl;
#endif
#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
return str.str();