[MacPorts] #65088: mumps @5.3.1: undefined symbols

MacPorts noreply at macports.org
Tue May 3 12:27:16 UTC 2022


#65088: mumps @5.3.1: undefined symbols
----------------------+---------------------------------
  Reporter:  bosmacs  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.2
Resolution:           |   Keywords:  monterey
      Port:  mumps    |
----------------------+---------------------------------

Comment (by bosmacs):

 This is expected with SCOTCH 6.0 and greater, as the MUMPS FAQ states:
   Furthermore, in the SCOTCH 6.0.x series, the PT-SCOTCH library does not
 include the SCOTCH library. Therefore, when using PT-SCOTCH, the SCOTCH
 library must also be provided during the link phase. A typical example of
 LSCOTCH definition in your Makefile.inc will then look like:

  {{{ LSCOTCH = -L$(LSCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr
 -lscotch }}}

 I modified the MUMPS patch to Makefile.inc to include `-lscotch` which
 allowed MUMPS to build and install successfully. Unfortunately PETSc with
 +mumps now fails to build, which was my goal from the beginning. It
 appears its configure checks for MUMPS link to the static version and do
 not include the dependency `-lscotch`.

-- 
Ticket URL: <https://trac.macports.org/ticket/65088#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list