Commit a7218de7 authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Merge branch 'mpi' into mpi-explosive

parents dd6d51dd 39b1fd79
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
#include <TNL/Meshes/DistributedMeshes/DistributedMesh.h>
#include <TNL/Functions/MeshFunction.h>

#ifdef HAVE_MPI

#define MPIIO
#include <TNL/Meshes/DistributedMeshes/DistributedGridIO.h>

@@ -92,3 +94,9 @@ int main(int argc, char **argv)
        CommunicatorType::Finalize();

}

#else

main(){}
#endif
+8 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
#include <TNL/Meshes/DistributedMeshes/DistributedMesh.h>
#include <TNL/Functions/MeshFunction.h>

#ifdef HAVE_MPI

#define MPIIO
#include <TNL/Meshes/DistributedMeshes/DistributedGridIO.h>

@@ -81,3 +83,9 @@ int main(int argc, char **argv)
        CommunicatorType::Finalize();

}

#else

main(){}

#endif