Revert "Add MPI_INCLUDED macro if compiled with MPI and netCDF"

This reverts commit 8090ae66.

This patch breaks IBM MPI and is not required for newer netCDF versions
parent 661b2551
......@@ -283,9 +283,6 @@ if 'libSDLDir' in env:
if env['writeNetCDF'] == True:
env.Append(CPPDEFINES=['WRITENETCDF'])
env.Append(LIBS=['netcdf'])
# define MPI_INCLUDED, if writeNetCDF is used together with MPI
if env['parallelization'] != 'none' and env['parallelization'] != 'cuda':
env.Append(CPPDEFINES=['MPI_INCLUDED'])
# set netCDF location
if 'netCDFDir' in env:
env.Append(CPPPATH=[env['netCDFDir']+'/include'])
......
......@@ -32,12 +32,6 @@
#include <cstring>
#include <string>
#include <vector>
// Needed for NetCDF
#ifdef USEMPI
#include <mpi.h>
#endif
#include <netcdf.h>
#include "writer/Writer.hh"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment