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

MPI 3 compile on non-linux

This commit is contained in:
paboyle 2016-10-25 06:01:12 +01:00
parent d7d92af09d
commit 09f66100d3

View File

@ -27,7 +27,6 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
/* END LEGAL */
#include "Grid.h"
#include <mpi.h>
#include <numaif.h>
namespace Grid {
@ -157,6 +156,7 @@ void CartesianCommunicator::Init(int *argc, char ***argv) {
assert(ierr==0);
// KNL hack -- force to numa-domain 1 in flat
#if 0
//#include <numaif.h>
for(uint64_t page=0;page<MAX_MPI_SHM_BYTES;page+=4096){
void *pages = (void *) ( page + ShmCommBuf );
int status;