1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

MPI I/O only if MPI compiled

This commit is contained in:
paboyle 2017-06-02 22:50:25 +01:00
parent 094c3d091a
commit 092dcd4e04

View File

@ -29,12 +29,16 @@
#ifndef GRID_BINARY_IO_H
#define GRID_BINARY_IO_H
#include "IldgIOtypes.h"
#if defined(GRID_COMMS_MPI) || defined(GRID_COMMS_MPI3)
#define USE_MPI_IO
#else
#undef USE_MPI_IO
#endif
#ifdef HAVE_ENDIAN_H
#include <endian.h>
#endif
#include <arpa/inet.h>
#include <algorithm>