[MacPorts] #57938: scalapack @2.0.2_4 +openmpi failed configure on macOS Mojave

MacPorts noreply at macports.org
Tue Jan 22 14:33:40 UTC 2019


#57938: scalapack @2.0.2_4 +openmpi failed configure on macOS Mojave
-----------------------+-----------------------
 Reporter:  Bianca338  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:             |       Port:  scalapack
-----------------------+-----------------------
 Configuration fails when building BLACS.

 A similar issue was reported in https://trac.macports.org/ticket/52316
 with the MPI implementation mpich and was resolved in revision
 https://github.com/macports/macports-
 ports/commit/9b1bac79563d8402d6352ffb0a86c9f3bad9fe88#diff-
 af4fc063fec009d42130985002ebc6d0.
 However, the issue is still there when configuring scalapack with openmpi.

 Here are the last few lines of the main log file (scalapack/main.log):

 {{{
 :info:configure -- =========
 :info:configure -- Compiling and Building BLACS INSTALL Testing to set
 correct variables
 :info:configure CMake Error at CMAKE/FortranMangling.cmake:27 (MESSAGE):
 :info:configure    Configure in the BLACS INSTALL directory FAILED
 :info:configure Call Stack (most recent call first):
 :info:configure   CMakeLists.txt:122 (COMPILE)
 :info:configure -- Configuring incomplete, errors occurred!
 :info:configure See also
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_scalapack/scalapack/work/build/CMakeFiles/CMakeOutput.log".
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_scalapack/scalapack/work/build"
 && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles"
 -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local"
 -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib"
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC"
 -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW
 -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST
 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
 -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
 -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules"
 -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
 -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev
 -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DBUILD_SHARED_LIBS=ON
 -DBUILD_TESTING=ON -DCMAKE_OSX_ARCHITECTURES="x86_64"
 -DCMAKE_OSX_DEPLOYMENT_TARGET="10.14"
 -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk"
 -DMPI_C_COMPILER=mpicc-openmpi-mp -DMPI_Fortran_COMPILER=mpif90-openmpi-mp
 -DMPIEXEC=/opt/local/bin/mpiexec-openmpi-mp
 -DLAPACK_LIBRARIES="-L/opt/local/lib -lvecLibFort"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_scalapack/scalapack/work/scalapack-2.0.2
 :info:configure Exit code: 1
 :error:configure Failed to configure scalapack: configure failure: command
 execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
 :debug:configure     while executing
 :debug:configure "$procedure $targetname"

 }}}

 and here are the last few lines of the CMake log file in
 scalapack/work/build/CMakeFiles/CMakeOutput.log

 {{{
 Determining if the Fortran compiler supports Fortran 90 passed with the
 following output:
 Change Dir:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_scalapack/scalapack/work/build/CMakeFiles/CMakeTmp

 Run Build Command:"/opt/local/bin/gmake" "cmTC_82c3d/fast"
 /opt/local/bin/gmake -f CMakeFiles/cmTC_82c3d.dir/build.make
 CMakeFiles/cmTC_82c3d.dir/build
 gmake[1]: Entering directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_scalapack/scalapack/work/build/CMakeFiles/CMakeTmp'
 Building Fortran object
 CMakeFiles/cmTC_82c3d.dir/testFortranCompilerF90.f90.o
 /opt/local/bin/mpif90-openmpi-mp   -pipe -Os  -arch x86_64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -mmacosx-version-min=10.14   -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_scalapack/scalapack/work/build/CMakeFiles/CMakeTmp/testFortranCompilerF90.f90
 -o CMakeFiles/cmTC_82c3d.dir/testFortranCompilerF90.f90.o
 Linking Fortran executable cmTC_82c3d
 /opt/local/bin/cmake -E cmake_link_script
 CMakeFiles/cmTC_82c3d.dir/link.txt --verbose=1
 /opt/local/bin/mpif90-openmpi-mp  -L/opt/local/lib
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -pipe -Os  -arch x86_64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -mmacosx-version-min=10.14
 CMakeFiles/cmTC_82c3d.dir/testFortranCompilerF90.f90.o  -o cmTC_82c3d
 gmake[1]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_scalapack/scalapack/work/build/CMakeFiles/CMakeTmp'

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57938>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list