[MacPorts] #68065: py38-mpi4py @3.1.4: error: Cannot compile MPI programs. Check your configuration!!!

MacPorts noreply at macports.org
Mon Aug 28 07:01:20 UTC 2023


#68065: py38-mpi4py @3.1.4: error: Cannot compile MPI programs. Check your
configuration!!!
------------------------+-----------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  py-mpi4py
------------------------+-----------------------
 https://build.macports.org/builders/ports-10.6_i386-builder/builds/133290/steps
 /install-port/logs/stdio
 {{{
 --->  Building py38-mpi4py
 DEBUG: Executing proc-pre-org.macports.build-build-0
 DEBUG: Executing org.macports.build (py38-mpi4py)
 DEBUG: Environment:
 CC='/opt/local/bin/mpicc-mpich-clang11'
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 mpi4py/py38-mpi4py/work/.CC_PRINT_OPTIONS'
 CFLAGS='-arch i386 -isysroot/'
 CPATH='/opt/local/include'
 CXX='/opt/local/bin/mpicxx-mpich-clang11'
 CXXFLAGS='-arch i386 -stdlib=libc++ -isysroot/'
 DEVELOPER_DIR='/Developer'
 F77='/opt/local/bin/mpif77-mpich-clang11'
 F90='/opt/local/bin/mpif90-mpich-clang11'
 F90FLAGS='-m32'
 FC='/opt/local/bin/mpif90-mpich-clang11'
 FCFLAGS='-m32'
 FFLAGS='-m32'
 LDFLAGS='-arch i386'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 OBJC='/opt/local/bin/clang-mp-11'
 OBJCFLAGS='-arch i386 -isysroot/'
 }}}
 {{{
 MPI configuration: [mpi] from 'mpi.cfg'
 MPI C compiler:    /usr/bin/mpicc
 MPI C++ compiler:  /usr/bin/mpicxx
 MPI F compiler:    /usr/bin/mpif90
 MPI F90 compiler:  /usr/bin/mpif90
 MPI F77 compiler:  /usr/bin/mpif77
 checking for library 'lmpe' ...
 /usr/bin/mpicc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-
 common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch i386
 -isysroot/ -c _configtest.c -o _configtest.o
 cc1: error: unrecognized command line option "-Wno-unused-result"
 failure.
 }}}
 {{{
 error: Cannot compile MPI programs. Check your configuration!!!

 ERROR Backend subprocess exited when trying to invoke build_wheel
 }}}
 It looks like it is not using the right compiler.

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


More information about the macports-tickets mailing list