GROMACS version: 2024.3
GROMACS modification: No
OS: Windows 10
Microsoft Visual Studio 2022
IntelOneAPI 2025 MKI and DPC++/C++ Compiler
Python 3.13.0
Greetings, experienced GROMACS users.
I am a new GROMACS user currently trying to install it on my laptop. I followed the instruction here from intel for using cmake command (https://www.intel.com/content/www/us/en/developer/articles/training/build-gromacs-with-intel-oneapi-dpc-c-compiler.html)
When I finished nmake, however, I got an error as follow:
C:\WINDOWS\system32\cmd.exe /C “C:\WINDOWS\system32\cmd.exe /C ““C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe” -E __create_def C:\gromacs-2024.3\build\src\gromacs\CMakeFiles\libgromacs.dir.\exports.def C:\gromacs-2024.3\build\src\gromacs\CMakeFiles\libgromacs.dir.\exports.def.objs && cd C:\gromacs-2024.3\build” && “C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe” -E vs_link_dll --intdir=src\gromacs\CMakeFiles\libgromacs.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests – C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\icx.exe /nologo @CMakeFiles\libgromacs.rsp -LD /Qoption,link,/machine:x64 /Qoption,link,/INCREMENTAL:NO -fsycl -fsycl-device-code-split=per_kernel -ftarget-register-alloc-mode=pvc:small -Qiopenmp /Qoption,link,/DEF:src\gromacs\CMakeFiles\libgromacs.dir.\exports.def -link /out:bin\gromacs.dll /implib:lib\gromacs.lib /pdb:bin\gromacs.pdb /version:9.0 && cd .”
LINK: command “C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\icx.exe /nologo @CMakeFiles\libgromacs.rsp -LD /Qoption,link,/machine:x64 /Qoption,link,/INCREMENTAL:NO -fsycl -fsycl-device-code-split=per_kernel -ftarget-register-alloc-mode=pvc:small -Qiopenmp /Qoption,link,/DEF:src\gromacs\CMakeFiles\libgromacs.dir.\exports.def -link /out:bin\gromacs.dll /implib:lib\gromacs.lib /pdb:bin\gromacs.pdb /version:9.0 /MANIFEST:EMBED,ID=2” failed (exit code 1181) with the following output:
LINK : fatal error LNK1181: cannot open input file ‘m.lib’
icx: error: linker command failed with exit code 1181 (use -v to see invocation)
ninja: build stopped: subcommand failed.
From my understanding, the error 1181 is related to the lack of m.lib, which I cannot find anywhere on my PC. Is there any way to fix this? Or am I missing someprequisite?