diff --git a/src/RIGID/fix_rigid_small.cpp b/src/RIGID/fix_rigid_small.cpp index 4fa35cf5fd..068573f345 100644 --- a/src/RIGID/fix_rigid_small.cpp +++ b/src/RIGID/fix_rigid_small.cpp @@ -72,7 +72,8 @@ FixRigidSmall::FixRigidSmall(LAMMPS *lmp, int narg, char **arg) : create_attribute = 1; dof_flag = 1; enforce2d_flag = 1; - + stores_ids = 1; + MPI_Comm_rank(world,&me); MPI_Comm_size(world,&nprocs); diff --git a/src/RIGID/fix_shake.cpp b/src/RIGID/fix_shake.cpp index b1ce975005..90c07d16a0 100644 --- a/src/RIGID/fix_shake.cpp +++ b/src/RIGID/fix_shake.cpp @@ -64,7 +64,8 @@ FixShake::FixShake(LAMMPS *lmp, int narg, char **arg) : thermo_virial = 1; create_attribute = 1; dof_flag = 1; - + stores_ids = 1; + // error check molecular = atom->molecular;