GROMACS version:2022.2
GROMACS modification: No
Here post your question
Hello GROMACS users,
I am a new user to GROMACS and I am trying to install it on my Windows Dell laptop (Processor: Intel(R) Core™ i5-8365U CPU @ 1.60GHz 1.90 GHz, Windows 10 Enterprise, 64-bit, 16GB RAM). I installed Visual Studio 2022 (including the “Desktop Development wit C++” during install) and Intel oneAPI for MKL (including only the “Intel oneAPI Math Kernel Library” option). I installed the 2022.2 version of Gromacs by extracting it to my c:/ drive. Then, I ran cmake within the x64 Native Tools command prompt:
set CC=cl
set CXX=cl
cmake -G"NMake Makefiles" -S. -B./build -DGMX_GPU=off -DGMX_FFT_LIBRARY=mkl -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=off -DMKL_INCLUDE_DIR=“C:/Program Files (x86)/Intel/oneAPI/mkl/latest/include” -DMKL_LIBRARIES=“C:/Program Files (x86)/Intel/oneAPI/mkl/latest/lib/intel64/mkl_intel_lp64.lib;C:/Program Files (x86)/Intel/oneAPI/mkl/latest/lib/intel64/mkl_sequential.lib;C:/Program Files (x86)/Intel/oneAPI/mkl/latest/lib/intel64/mkl_core.lib”
then I ran nmake in the GROMACS source folder by running
cd build
nmake
From my (admittedly naive) perspective, the install seems to have worked since a gmx.exe file was created in the build folder. I put this executable into a separate folder (c:\gromacs\bin), created a folder "share (c:\gromacs\share) and copied the template and top directories into it, and transferred the folder “lib” over to c:\gromacs as well.
After all this, I tried to execute the gmx.exe executable and received the error message “This app can’t run on your PC.” (See the picture below). From perusing online, it looks like my version of Windows is not compatible with this version of GROMACS, but that doesn’t seem likely. Does anyone know what this could be due to?
These were some helpful instructions that I used: Compiling and running GROMACS natively on Windows | by Shoubhik R Maiti | CodeX | Medium
Thanks in advance for any help anyone can give!
Ryan Nieuwendaal
ryann@nist.gov