From 91ba3a6f6fac9a7440ac1e8582262fcf9fe7a26c Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Fri, 8 Apr 2011 12:26:32 +0200 Subject: [PATCH] MPI: lib info update & compilation fix --- FDTD/openems_fdtd_mpi.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/FDTD/openems_fdtd_mpi.cpp b/FDTD/openems_fdtd_mpi.cpp index b0b984b..14bd299 100644 --- a/FDTD/openems_fdtd_mpi.cpp +++ b/FDTD/openems_fdtd_mpi.cpp @@ -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();