diff --git a/libsrc/general/mpi_interface.hpp b/libsrc/general/mpi_interface.hpp index a78794b1..a2014615 100644 --- a/libsrc/general/mpi_interface.hpp +++ b/libsrc/general/mpi_interface.hpp @@ -39,9 +39,9 @@ namespace netgen { return MPI_DOUBLE; } - template class Vec; + template class Vec; template <> - inline MPI_Datatype MyGetMPIType > () + inline MPI_Datatype MyGetMPIType > () { static MPI_Datatype MPI_T = 0; if (!MPI_T) diff --git a/ng/parallelfunc.cpp b/ng/parallelfunc.cpp index aff1b89e..2efb0259 100644 --- a/ng/parallelfunc.cpp +++ b/ng/parallelfunc.cpp @@ -29,14 +29,13 @@ #include - +#include "../interface/writeuser.hpp" void (*NGS_ParallelRun) (const string & message) = NULL; namespace netgen { -#include "../interface/writeuser.hpp" extern string ngdir; #ifdef OPENGL