update plumed support to include version 2.6.0. Fix bug in API check
This commit is contained in:
@ -78,8 +78,9 @@ FixPlumed::FixPlumed(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
int api_version;
|
||||
p->cmd("getApiVersion",&api_version);
|
||||
if (api_version > 6)
|
||||
error->all(FLERR,"Incompatible API version for PLUMED in fix plumed");
|
||||
if ((api_version < 5) || (api_version > 7))
|
||||
error->all(FLERR,"Incompatible API version for PLUMED in fix plumed. "
|
||||
"Only Plumed 2.4.x, 2.5.x, and 2.6.x are tested and supported.");
|
||||
|
||||
// If the -partition option is activated then enable
|
||||
// inter-partition communication
|
||||
|
||||
Reference in New Issue
Block a user