GROMACS version:
GROMACS modification: Yes/No
Hi,
I’m trying to build gromacs using cmake, as I wish to work on developing in Gromacs. I tried using Clion, and was able to successfully configure the cmake project, but due to its heavyweight nature, I switched to VSCode instead.
When I tried using the CMake:Tools
extension, I was able to configure it so that the command that is run during build time is the following:
Executing command: /usr/bin/cmake --no-warn-unused-cli -DGMX_FFT_LIBRARY:STRING=fftw3 -DDREGRESSIONTESTS_DOWNLOAD:STRING=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -S/home/sbadani/Work/MD/gromacs -B/home/sbadani/Work/MD/gromacs/build -G Ninja
But it fails, so I tried using the GMX_BUILD_OWN_FFTW3 option, to which it gave me the following error:
Cannot build FFTW3 automatically (GMX_BUILD_OWN_FFTW=ON) with ninja
I was just curious if the developers use an IDE or a standard build tool while doing bug fixes / feature implementation, or is the norm to stick with the time tested CLI cmake and debug tools?
Any help would be greatly appreciated. Thanks!