GROMACS version:2020.2
GROMACS modification: Yes (plumed)
Dear all,
I’m trying to install GROMACS 2020.2 patched by plumed, to run targeted MD with MPI.
These commands were executed successfully;
tar zxvf gromacs-2020.2.tar.gz
cd gromacs-2020.2
plumed patch -p (and I selected 4)
mkdir build
cd build
After that I tried this command;
…/…/cmake/cmake-3.9.6-Linux-x86_64/bin/cmake … -DCMAKE_C_COMPILER=/misc/home/ikuma/openmpi-4.0.5/bin/mpicc -DCMAKE_CXX_COMPILER=/misc/home/ikuma/openmpi-4.0.5/bin/mpicxx -DGMX_MPI=on -DCMAKE_INSTALL_PREFIX=/misc/home/ikuma/gromacs-2020.2/ -DGMX_FFT_LIBRARY=fftw3 -DFFTWF_LIBRARIES=/misc/home/ikuma/fftw-3.3.8/lib/libfftw3f_mpi.so -DFFTWF_INCLUDE_DIR=/misc/home/ikuma/fftw-3.3.8/include/
And got an error message;
Could not find fftw3f library named libfftw3f, please specify its location in CMAKE_PREFIX_PATH or FFTWF_LIBRARY by hand (e.g. -DFFTWF_LIBRARY=’/path/to/libfftw3f.so’)
CMake Error at cmake/gmxManageFFTLibraries.cmake:92 (MESSAGE):
Cannot find FFTW 3 (with correct precision - libfftw3f for mixed-precision
GROMACS or libfftw3 for double-precision GROMACS). Either choose the right
precision, choose another FFT(W) library (-DGMX_FFT_LIBRARY), enable the
advanced option to let GROMACS build FFTW 3 for you
(-DGMX_BUILD_OWN_FFTW=ON), or use the really slow GROMACS built-in fftpack
library (-DGMX_FFT_LIBRARY=fftpack).
Call Stack (most recent call first):
CMakeLists.txt:715 (include)
– Configuring incomplete, errors occurred!
See also “/misc/home/ikuma/gromacs-2020.2/build/CMakeFiles/CMakeOutput.log”.
See also “/misc/home/ikuma/gromacs-2020.2/build/CMakeFiles/CMakeError.log”.
Following the error message , I tried;
…/…/cmake/cmake-3.9.6-Linux-x86_64/bin/cmake … -DCMAKE_C_COMPILER=/misc/home/ikuma/openmpi-4.0.5/bin/mpicc -DCMAKE_CXX_COMPILER=/misc/home/ikuma/openmpi-4.0.5/bin/mpicxx -DGMX_MPI=on -DCMAKE_INSTALL_PREFIX=/misc/home/ikuma/gromacs-2020.2/ -DGMX_FFT_LIBRARY=fftw3 -DFFTWF_LIBRARIY=/misc/home/ikuma/fftw-3
.3.8/lib/libfftw3f_mpi.so -DFFTWF_INCLUDE_DIR=/misc/home/ikuma/fftw-3.3.8/include/
where the sentence -DGMX_FFT_LIBRARIES was changed to -DGMX_FFT_LIBRARY.
And I got;
CMake Error at cmake/FindFFTW.cmake:105 (message):
Could not find fftwf_plan_many_[r2c|c2r] in
/usr/local/fftw/3.3.8/lib/libfftw3f_mpi.so, take a look at the error
message in /misc/home/ikuma/gromacs-2020.2/build/CMakeFiles/CMakeError.log
to find out what went wrong. If you are using a static lib (.a) make sure
you have specified all dependencies of fftw3f in FFTWF_LIBRARY by hand
(e.g. -DFFTWF_LIBRARY=’/path/to/libfftw3f.so;/path/to/libm.so’) !
Call Stack (most recent call first):
cmake/gmxManageFFTLibraries.cmake:89 (find_package)
CMakeLists.txt:715 (include)
But the directory “/usr/local/” needs root , which I don’t have.
what I’d like to know is ;
・how to solve this problem (meaning how to configure GROMACS2020-2 with libfftw3f_mpi.so), if it is possible, without root
or
・any other method to install GROMACS with PLUMED+MPI
Could someone help me?
Thank you,
kimu handexyin