-
Notifications
You must be signed in to change notification settings - Fork 319
Description
I downloaded plumed from github, configured as follows:
./configure --enable-modules=+maze --prefix ~/software/plumed2-maze --disable-mpi |tee configure-out.log
and compiled with gcc.
Then i downloaded gromacs-2025-2 (also tried 2025-1), patched it with plumed patch -p, run cmake as follows:
cmake .. -DGMX_BUILD_OWN_FFTW=ON -DCMAKE_INSTALL_PREFIX=~/software/plumed2-maze/gromacs-2025.2-bin/ -DGMX_GPU=CUDA -DGMX_USE_PLUMED=ON -DGMX_MPI=OFF
and then make install. During this i get the following error:
[ 77%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/applied_forces/colvars/colvarssimulationsparameters.cpp.o
[ 77%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/applied_forces/colvars/colvarsforceprovider.cpp.o
[ 77%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/applied_forces/colvars/colvarproxygromacs.cpp.o
[ 77%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/applied_forces/plumed/plumedforceprovider.cpp.o
[ 77%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/applied_forces/plumed/plumedOptions.cpp.o
[ 77%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/applied_forces/plumed/plumedMDModule.cpp.o
/home/richtesn/software/plumed2-maze/gromacs-2025.2/src/gromacs/applied_forces/plumed/plumedforceprovider.cpp: In member function ‘virtual void gmx::PlumedForceProvider::calculateForces(const gmx::ForceProviderInput&, gmx::ForceProviderOutput*)’:
/home/richtesn/software/plumed2-maze/gromacs-2025.2/src/gromacs/applied_forces/plumed/plumedforceprovider.cpp:200:9: error: ‘cmd’ was not declared in this scope
200 | cmd("getBias",&bias);
| ^~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-cast-function-type-strict’ may have been intended to silence earlier diagnostics
make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/build.make:9709: src/gromacs/CMakeFiles/libgromacs.dir/applied_forces/plumed/plumedforceprovider.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:4486: src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
make: *** [Makefile:166: all] Error 2