[MacPorts] #58635: scalapack @2.02+gcc9+openmpi+openblas: Fails to build

MacPorts noreply at macports.org
Mon Sep 16 09:09: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):

 Yes I just modified the SLMake.inc file.

 Replying to [comment:4 ufdup]:
 > Hi, I also tried the same (download the original source code and compile
 by hand). I think you're right. The compilation breaks when compiling
 BLACS. However, I could implement your fix because I could not find where
 to place
 > the TRANSCOMM option.
 >
 > Did you just include a new line in SLMake.inc?
 >
 > Which version of scalapak did you download? 2.0.2?
 >
 >
 > Replying to [comment:3 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:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list