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.
... | ... |
@@ -381,18 +381,13 @@ def search_mumps(): |
381 | 381 |
libmumps-scotch-dev and the MUMPS binaries in the conda-forge channel.""" |
382 | 382 |
lib_sets = [ |
383 | 383 |
# Debian |
384 |
- ['zmumps_scotch', 'mumps_common_scotch', 'mpiseq_scotch'], |
|
384 |
+ ['zmumps_scotch', 'mumps_common_scotch', 'mpiseq_scotch', |
|
385 |
+ 'pord', 'gfortran'], |
|
385 | 386 |
# Conda (via conda-forge). |
386 |
- # TODO: remove dependency libs (scotch, metis...) when conda-forge |
|
387 |
- # packaged mumps/scotch are built as properly linked shared libs |
|
388 |
- # 'openblas' provides Lapack and BLAS symbols |
|
389 |
- ['zmumps', 'mumps_common', 'metis', 'esmumps', 'scotch', |
|
390 |
- 'scotcherr', 'mpiseq', 'openblas'], |
|
387 |
+ ['zmumps_seq', 'mumps_common_seq'], |
|
391 | 388 |
] |
392 |
- common_libs = ['pord', 'gfortran'] |
|
393 |
- |
|
394 | 389 |
for libs in lib_sets: |
395 |
- found_libs = search_libs(libs + common_libs) |
|
390 |
+ found_libs = search_libs(libs) |
|
396 | 391 |
if found_libs: |
397 | 392 |
return found_libs |
398 | 393 |
return [] |