So I was trying to build the plugin on the container using cmake as following :
RUN cd /opt &&
git clone https://github.com/openmm/openmm-plumed.git &&
cd openmm-plumed &&
mkdir build &&
cd build &&
cmake .. &&
export OPENMM_DIR=/usr/local/lib/python3.10/dist-packages/openmm &&
export PLUMED_INCLUDE_DIR=/usr/local/lib/python3.10/dist-packages/openmm-plumed/include/plumed &&
export PLUMED_LIBRARY_DIR=/usr/local/lib/python3.10/dist-packages/openmm-plumed/lib &&
export CMAKE_INSTALL_PREFIX=$OPENMM_DIR
RUN cd /opt/openmm-plumed/build &&
make install
RUN make PythonInstall
and I was getting this error
`=> ERROR [ 8/17] RUN CD /opt/openmm-plumed/build && make install 0.5s
[ 8/17] RUN CD /opt/openmm-plumed/build && make install:
0.431 [ 11%] Building CXX object CMakeFiles/OpenMMPlumed.dir/openmmapi/src/PlumedForce.cpp.o
0.495 In file included from /opt/openmm-plumed/openmmapi/src/PlumedForce.cpp:34:
0.495 /opt/openmm-plumed/openmmapi/include/internal/PlumedForceImpl.h:38:10: fatal error: wrapper/Plumed.h: No such file or directory
0.495 38 | #include "wrapper/Plumed.h"
0.495 | ^~~~~~~~~~~~~~~~~~
0.495 compilation terminated.
0.498 make[2]: *** [CMakeFiles/OpenMMPlumed.dir/build.make:76: CMakeFiles/OpenMMPlumed.dir/openmmapi/src/PlumedForce.cpp.o] Error 1
0.498 make[1]: *** [CMakeFiles/Makefile2:136: CMakeFiles/OpenMMPlumed.dir/all] Error 2
0.498 make: *** [Makefile:146: all] Error 2`
is there a way to fix this ?
Thanks.
So I was trying to build the plugin on the container using cmake as following :
RUN cd /opt &&
git clone https://github.com/openmm/openmm-plumed.git &&
cd openmm-plumed &&
mkdir build &&
cd build &&
cmake .. &&
export OPENMM_DIR=/usr/local/lib/python3.10/dist-packages/openmm &&
export PLUMED_INCLUDE_DIR=/usr/local/lib/python3.10/dist-packages/openmm-plumed/include/plumed &&
export PLUMED_LIBRARY_DIR=/usr/local/lib/python3.10/dist-packages/openmm-plumed/lib &&
export CMAKE_INSTALL_PREFIX=$OPENMM_DIR
RUN cd /opt/openmm-plumed/build &&
make install
RUN make PythonInstall
and I was getting this error
`=> ERROR [ 8/17] RUN CD /opt/openmm-plumed/build && make install 0.5s
is there a way to fix this ?
Thanks.