Commit eb98d989 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

mpi.psiTag: needed -DUSE_MPI

parent d2404965
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line

default compiler = CXX = /usr/lib64/openmpi/bin/mpic++

addto basics = CPPFLAGS += -DUSE_MPI
+5 −0
Original line number Diff line number Diff line
@@ -22,6 +22,11 @@ SizeType commRank(CommType)
	return 0;
}

int barrier(CommType)
{
	return 0;
}

bool hasMpi() { return false; }

void info(std::ostream&) {}
+2 −0
Original line number Diff line number Diff line
@@ -105,6 +105,8 @@ SizeType commSize(CommType);

SizeType commRank(CommType);

int barrier(CommType);

template<typename T>
void bcast(T&,int = 0,CommType = COMM_WORLD)
{}