Hi Sean,
I'm trying to setup indus using plumed, on a RHEL 7 machine, using gcc 4.8.5, with most of the defaults. ./configure has LDFLAGS and a CPPFLAGS arguments to link to a xdrfile.h and completes successfully. I am getting the following error on issuing make, which I don't know how to get past:
IndusInterface.cpp: In member function ‘virtual void PLMD::colvar::IndusInterface::calculate()’:
IndusInterface.cpp:148:77: error: no matching function for call to ‘Indus::updateSimulationState(const std::vector<PLMD::VectorGeneric<3u> >&, CommonTypes::Box&, int&, double&)’
indus_ptr_->updateSimulationState(indus_positions, box_matrix_, step, time);
^
IndusInterface.cpp:148:77: note: candidate is:
In file included from IndusInterface.h:13:0,
from IndusInterface.cpp:6:
Indus.h:101:7: note: void Indus::updateSimulationState(const RvecArray&, const Box&, int, double)
void updateSimulationState(
^
Indus.h:101:7: note: no known conversion for argument 1 from ‘const std::vector<PLMD::VectorGeneric<3u> >’ to ‘const RvecArray& {aka const SimpleVector<float [3]>&}’
In file included from IndusInterface.h:11:0,
from IndusInterface.cpp:6:
How can I fix this? I've tried plumed 2.5.1/2.4.0 to mimic the test conditions mentioned in the manual, but still get this error.
Thanks,
Mayank