Commit d8413337 authored by Martin Khannouz's avatar Martin Khannouz Committed by Berenger Bramas

Fix compilation issue on Occigen

parent 5bdaeeec
......@@ -408,7 +408,7 @@ public:
<< " from " << pack.elementFrom << " to " << pack.elementTo << " \n"; FLog::Controller.flush(); );
// Send the size of the data
requestsNbParts.emplace_back();
FMpi::MpiAssert(MPI_Isend(const_cast<long long int*>(&nbPartsPerPackToSend),1,MPI_LONG_LONG_INT,pack.idProc,
FMpi::MpiAssert(MPI_Isend((void*)&nbPartsPerPackToSend,1,MPI_LONG_LONG_INT,pack.idProc,
FMpi::TagExchangeIndexs, communicator.getComm(), &requestsNbParts.back()),__LINE__);
}
......
......@@ -2,4 +2,3 @@
#include "Utils/FMpi.hpp"
int FMpi::instanceCount = 0;
......@@ -533,6 +533,7 @@ private:
/// Counter to avoid several instanciations
static int instanceCount;
};
int FMpi::instanceCount = 0;
#endif //FMPI_HPP
......
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