mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Fix MPI lib path on Windows
This commit is contained in:
parent
eceecd7d6f
commit
79a6b56aae
2
setup.py
2
setup.py
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user