mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
MPI I/O only if MPI compiled
This commit is contained in:
parent
094c3d091a
commit
092dcd4e04
@ -29,12 +29,16 @@
|
|||||||
#ifndef GRID_BINARY_IO_H
|
#ifndef GRID_BINARY_IO_H
|
||||||
#define GRID_BINARY_IO_H
|
#define GRID_BINARY_IO_H
|
||||||
|
|
||||||
|
#if defined(GRID_COMMS_MPI) || defined(GRID_COMMS_MPI3)
|
||||||
#include "IldgIOtypes.h"
|
#define USE_MPI_IO
|
||||||
|
#else
|
||||||
|
#undef USE_MPI_IO
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_ENDIAN_H
|
#ifdef HAVE_ENDIAN_H
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user