From 79a6b56aae9b07594b0129b841eef6ade0970585 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 8 May 2024 12:17:18 +0200 Subject: [PATCH] Fix MPI lib path on Windows --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1c9d0c1b..90b06d0f 100644 --- a/setup.py +++ b/setup.py @@ -86,7 +86,7 @@ elif 'win' in sys.platform: '-DNG_INSTALL_DIR_INCLUDE=netgen/include', ] 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' if lib_file.exists(): have_mpi = True