Fixed problem with openmpi MPI_GROUP_NULL

This commit is contained in:
James E McClure
2015-10-02 12:07:53 -04:00
parent 78dfce4889
commit 13d66d43ab
+1 -1
View File
@@ -118,7 +118,7 @@ Domain::~Domain()
// Free id
delete [] id;
// Free the communicator
if ( Group!=MPI_COMM_NULL ) {
if ( Group!=MPI_GROUP_NULL ) {
MPI_Group_free(&Group);
MPI_Comm_free(&Comm);
}