Commit 014df638 authored by Joseph Weston's avatar Joseph Weston
Browse files

update libraries for linking against Mumps in conda-forge

Recently conda-forge updated their packaging so that sequential
Mumps is a separate package,
[mumps-seq](https://anaconda.org/conda-forge/mumps-seq),
which names the libraries with a suffix '_seq' (contrary to how
Debian does it).
In addition we no longer need to explicitly link against Scotch,
pord or gfortran as the conda-forge built mumps libraries already
do this.
All tests still pass without explicitly linking against mpiseq,
so it is left out.
parent 40838439
Pipeline #30878 failed with stages
in 42 minutes and 13 seconds
......@@ -381,18 +381,13 @@ def search_mumps():
libmumps-scotch-dev and the MUMPS binaries in the conda-forge channel."""
lib_sets = [
# Debian
['zmumps_scotch', 'mumps_common_scotch', 'mpiseq_scotch'],
['zmumps_scotch', 'mumps_common_scotch', 'mpiseq_scotch',
'pord', 'gfortran'],
# Conda (via conda-forge).
# TODO: remove dependency libs (scotch, metis...) when conda-forge
# packaged mumps/scotch are built as properly linked shared libs
# 'openblas' provides Lapack and BLAS symbols
['zmumps', 'mumps_common', 'metis', 'esmumps', 'scotch',
'scotcherr', 'mpiseq', 'openblas'],
['zmumps_seq', 'mumps_common_seq'],
]
common_libs = ['pord', 'gfortran']
for libs in lib_sets:
found_libs = search_libs(libs + common_libs)
found_libs = search_libs(libs)
if found_libs:
return found_libs
return []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment