[MacPorts] #58635: scalapack @2.02+gcc9+openmpi+openblas: Fails to build
MacPorts
noreply at macports.org
Mon Aug 19 12:19:16 UTC 2019
#58635: scalapack @2.02+gcc9+openmpi+openblas: Fails to build
------------------------+--------------------
Reporter: lazersos | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: scalapack |
------------------------+--------------------
Comment (by lazersos):
Well I think I found the problem and it's really related to BLACS. I
downloaded the Scalapack sources and tried to compile manually. I found
that the issue was linked to preprocessor directives when compiling the
BLACS portion of the code. In order to get it to work I had to change a
line in the SLmake.inc file. Specifically
from
{{{
TRANSCOMM = -DUseMpi2
}}}
to
{{{
TRANSCOMM = -DUseMpi3
}}}
I suspect this whole issue is really related to attempting to compile the
BLACS portion of the software with MPI4.0. Since that's the standard
that's loaded with openMPI now. Also this issue seems to affect gcc8 as
well. Thus is real issue is the use of the MPI 4 standard now in OpenMPI.
Should be a quick fix as only the SLmake.inc file needs to be updated but
I'm not sure how to go about doing that as it requires changes to the
distribution sources rather than the portfile.
--
Ticket URL: <https://trac.macports.org/ticket/58635#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list