gatherv fix, take 2

This commit is contained in:
jrgissing
2018-03-01 23:11:46 -07:00
parent 51b19dfd1a
commit 21364f38b0

View File

@ -1732,7 +1732,7 @@ void FixBondReact::ghost_glovecast()
int starts[2] = {0,0};
MPI_Type_create_subarray (2, sizes, subsizes, starts, MPI_ORDER_C,
MPI_LMP_TAGINT, &columnunsized);
MPI_Type_create_resized (columnunsized, 0, sizeof(MPI_LMP_TAGINT), &column);
MPI_Type_create_resized (columnunsized, 0, sizeof(tagint), &column);
MPI_Type_commit(&column);
if (ghostcheck_flag == 1) memory->destroy(global_mega_glove);