mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Solving minor bug in compilation
This commit is contained in:
parent
8309f2364b
commit
8a3aae98f6
@ -53,9 +53,10 @@ void CartesianCommunicator::Init(int *argc, char ***argv) {
|
|||||||
ShmInitGeneric();
|
ShmInitGeneric();
|
||||||
}
|
}
|
||||||
|
|
||||||
CartesianCommunicator::~CartesianCommunicator(){
|
CartesianCommunicator::~CartesianCommunicator()
|
||||||
 if (communicator && !MPI::Is_finalized())
|
{
|
||||||
 MPI_Comm_free(&communicator);
|
if (communicator && !MPI::Is_finalized())
|
||||||
|
MPI_Comm_free(&communicator);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CartesianCommunicator::GlobalSum(uint32_t &u){
|
void CartesianCommunicator::GlobalSum(uint32_t &u){
|
||||||
|
@ -53,9 +53,10 @@ void CartesianCommunicator::Init(int *argc, char ***argv) {
|
|||||||
ShmInitGeneric();
|
ShmInitGeneric();
|
||||||
}
|
}
|
||||||
|
|
||||||
CartesianCommunicator::~CartesianCommunicator(){
|
CartesianCommunicator::~CartesianCommunicator()
|
||||||
 if (communicator && !MPI::Is_finalized())
|
{
|
||||||
 MPI_Comm_free(&communicator);
|
if (communicator && !MPI::Is_finalized())
|
||||||
|
MPI_Comm_free(&communicator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user