[MacPorts] #58635: scalapack @2.02+gcc9+openmpi+openblas: Fails to build
MacPorts
noreply at macports.org
Mon Jun 24 15:29:44 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
Keywords: Mojave scalapack openmpi gcc9 | Port: scalapack
-------------------------------------------+-----------------------
I'm try to install scalapack but the code is failing to compile. This is
on Mojave 10.14.5. Here's the port log:
{{{
> install scalapack +gcc9 +openmpi +openblas
---> Computing dependencies for scalapack
---> Fetching archive for scalapack
---> Attempting to fetch
scalapack-2.0.2_4+gcc9+openblas+openmpi.darwin_18.x86_64.tbz2 from
https://packages.macports.org/scalapack
---> Attempting to fetch
scalapack-2.0.2_4+gcc9+openblas+openmpi.darwin_18.x86_64.tbz2 from
http://ywg.ca.packages.macports.org/mirror/macports/packages/scalapack
---> Attempting to fetch
scalapack-2.0.2_4+gcc9+openblas+openmpi.darwin_18.x86_64.tbz2 from
http://aus.us.packages.macports.org/macports/packages/scalapack
---> Fetching distfiles for scalapack
---> Verifying checksums for scalapack
---> Extracting scalapack
---> Configuring scalapack
---> Building scalapack
Error: Failed to build scalapack: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port scalapack failed
}}}
The first lines where an error is report in the log look like:
{{{
:info:build /opt/local/bin/mpicc-openmpi-gcc9 -DAdd_ -Dscalapack_EXPORTS
-pipe -Os -DNDEBUG -I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-mmacosx-version-min=10.14 -fPIC -o
CMakeFiles/scalapack.dir/BLACS/SRC/dgamx2d_.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/dgamx2d_.c
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/zgsum2d_.c:1:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/zgsum2d_.c:
In function 'zgsum2d_':
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/Bdef.h:295:9:
warning: implicit declaration of function 'BI_dmvcopy'; did you mean
'BI_zmvcopy'? [-Wimplicit-function-declaration]
:info:build 295 | BI_dmvcopy(2*(m), (n), (double *) (A),
2*(lda), (double *) (buff))
:info:build | ^~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/zgsum2d_.c:156:7:
note: in expansion of macro 'BI_zmvcopy'
:info:build 156 | BI_zmvcopy(Mpval(m), Mpval(n), A, tlda,
bp->Buff);
:info:build | ^~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/Bdef.h:297:9:
warning: implicit declaration of function 'BI_dvmcopy'; did you mean
'BI_cvmcopy'? [-Wimplicit-function-declaration]
:info:build 297 | BI_dvmcopy(2*(m), (n), (double *) (A),
2*(lda), (double *) (buff))
:info:build | ^~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/zgsum2d_.c:171:6:
note: in expansion of macro 'BI_zvmcopy'
:info:build 171 | BI_zvmcopy(Mpval(m), Mpval(n), A, tlda,
bp2->Buff);
:info:build | ^~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/sgamx2d_.c:
In function 'sgamx2d_':
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/sgamx2d_.c:202:7:
warning: implicit declaration of function 'BI_smvcopy'; did you mean
'BI_zmvcopy'? [-Wimplicit-function-declaration]
:info:build 202 | BI_smvcopy(Mpval(m), Mpval(n), A, tlda,
bp->Buff);
:info:build | ^~~~~~~~~~
:info:build | BI_zmvcopy
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/igamx2d_.c:
In function 'igamx2d_':
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/igamx2d_.c:199:7:
warning: implicit declaration of function 'BI_imvcopy'; did you mean
'BI_zmvcopy'? [-Wimplicit-function-declaration]
:info:build 199 | BI_imvcopy(Mpval(m), Mpval(n), A, tlda,
bp->Buff);
:info:build | ^~~~~~~~~~
:info:build | BI_zmvcopy
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/Bconfig.h:16,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/Bdef.h:7,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/sgamx2d_.c:1:
:info:build /opt/local/include/openmpi-gcc9/mpi.h:322:57: error: expected
expression before '_Static_assert'
:info:build 322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func,
newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc
" instead.")
:info:build |
^~~~~~~~~~~~~~
:info:build /opt/local/include/openmpi-gcc9/mpi.h:2824:31: note: in
expansion of macro 'THIS_SYMBOL_WAS_REMOVED_IN_MPI30'
:info:build 2824 | #define MPI_Type_struct(...)
THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Type_struct, MPI_Type_create_struct)
:info:build |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/sgamx2d_.c:224:12:
note: in expansion of macro 'MPI_Type_struct'
:info:build 224 | ierr=MPI_Type_struct(i, len, disp, dtypes,
&MyType);
:info:build | ^~~~~~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/Bconfig.h:16,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/Bdef.h:7,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2/BLACS/SRC/igamx2d_.c:1:
:info:build /opt/local/include/openmpi-gcc9/mpi.h:322:57: error: expected
expression before '_Static_assert'
}}}
I'm attaching the full log file.
--
Ticket URL: <https://trac.macports.org/ticket/58635>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list