Skip to content
Snippets Groups Projects
Commit cb62407c authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing openfpm finalize

parent 0cb3cc68
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ LDIR =
OBJ = main.o
%.o: %.cpp
$(CC) -O3 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
$(CC) -O0 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
diff_1d: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
......
openfpm_vcluster @ a874640c
Subproject commit 11b7dc34849dd43ed2fd1b6826a95639b1234155
Subproject commit a874640c9b69979cbf3117a4ecf9e471ae435b62
......@@ -305,7 +305,8 @@ public:
delete[] Mg.wgtflag;
}
MPI_Comm_free(&comm);
if (is_openfpm_init() == true)
MPI_Comm_free(&comm);
}
/*! \brief Set the Sub-graph
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment