Fix MPI lib path on Windows

This commit is contained in:
Matthias Hochsteger 2024-05-08 12:17:18 +02:00
parent eceecd7d6f
commit 79a6b56aae

View File

@ -86,7 +86,7 @@ elif 'win' in sys.platform:
'-DNG_INSTALL_DIR_INCLUDE=netgen/include', '-DNG_INSTALL_DIR_INCLUDE=netgen/include',
] ]
py_libdir = pathlib.Path(sys.prefix) / 'Library' py_libdir = pathlib.Path(sys.prefix) / 'Library'
lib_file = py_libdir / 'impi.lib' lib_file = py_libdir / 'lib' / 'impi.lib'
include_dir = py_libdir / 'include' include_dir = py_libdir / 'include'
if lib_file.exists(): if lib_file.exists():
have_mpi = True have_mpi = True