GROMACS version:2020.6
GROMACS modification: No
Here post your question :
Hello everyone,
I’m attempting to generate a topology file using Gromacs with the Drude force field, but I’ve encountered a critical issue. The error message I’m receiving is as follows:
Fatal error:
In the .rtp file in residue anisotropic_polarization at line:
DBR6 BR6 C6 C1 C5 1.80000000 0.60000000 0.6000000
Does anyone have a solution for resolving this problem?
You cannot use version 2020.6. None of the GROMACS official releases support Drude. Only the Drude branch of the the git repository has those features. I will warn you that at present it is not production-quality code and should not be used for science you intend to publish.
You need to switch to the Drude branch of the git repository and install that code. 2025-dev does not include Drude features, because they have not been merged into the main branch.
Sir,
Thank you so much for your response.
I will download from Drude branch of the git repository.
Just to be sure, this is the link for the code in drude branch.
sed -i ‘s/GMX_BUILD_OWN_FFTW_URL:STRING=.*/GMX_BUILD_OWN_FFTW_URL:STRING=/path was provided where fftw.tar.gz file was saved’ CMakeCache.txt
make
[ERROR]
CMake Error at fftwBuild-stamp/verify-fftwBuild.cmake:29 (message):
error: MD5 hash of
Sir,
While installing I faced issue with fftw path. The above commands works for my other installation of GROMACS and 2025-dev gmx version. Iam not able to fix this issue.
Path >> gromacs-drude/src/contrib/fftw/ This path have a file name “fftw-download.cmake.cmakein”
Custom download script for Gromacs external FFTW build.
Mimics a similar script generated by CMake ExternalProject package, but
does not verify the MD5 sum (which would give confusing error messages if the
download fails).
message(STATUS “downloading…
src=‘@remote_url@’
dest=‘@local_path@’”)
file(DOWNLOAD “@remote_url@” “@local_path@”
SHOW_PROGRESS STATUS status LOG log)
list(GET status 0 status_code)
list(GET status 1 status_string)
if (NOT status_code EQUAL 0)
message(FATAL_ERROR “error: downloading ‘@remote_url@’ failed
status_code: {status_code}
status_string: {status_string}
log: ${log}”)
endif()
message(STATUS “downloading… done”)
Sir,
While installing I faced issue with fftw path. The above commands works for my other installation of GROMACS and 2025-dev gmx version. Iam not able to fix this issue.
I have no idea what that aspect of the build system is. Your command is not valid as written, because you are simultaneously telling cmake to build FFTW but then you are providing the location of an existing FFTW installation with -DCMAKE_PREFIX_PATH. The two options are mutually exclusive. You should be able to install the software with a much simpler command. Most of those options are unnecessary. Do not install in debug mode; it will be horrifically slow.