-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello, during few past days I was updating my MuMAX+ from 1.1.0 to 1.1.2.
Everything worked smoothly (on 1.1.0 I had to change several bits of code to compile MuMAX+ on Windows, so there's huge improvement already implemented).
The only issue is with copying CUDA DLLs: I obtain the following error:
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: C:\Users\Admin\AppData\Local\Temp\pip-build-env-lxd7ckp5\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E copy_if_different D:/mumax+/plus-1.1.2/mumaxplus/build/lib.win-amd64-cpython-313 [D:\mumax+\plus-1.1.2\mumaxplus\build\temp.win-amd64-cpython-313\Release\src\physics\physics.vcxproj]
and by the end there's this line:
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', '_mumaxpluscpp', 'install', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
After investigation it seems that there's something wrong with code implemented as a part of #97, namely commit 59efdb0. After commenting added part, compilation is successful and MuMAX+ works (CUDA DLLs are being loaded by PATH).
Conforming to format of specification from this comment, I compile MuMAX+ 1.1.2 on Windows 11 with Visual Studio 2022 Community and CC 8.6 GPU. Error appeared on various versions of CMake: 3.21.10, 4.0.0 and 4.2.1. I use CUDA 13.0.