Opened 6 months ago

#70045 new defect

starpu arbitrarily used mpich-gcc12 while being installed with +gcc13 variant

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: eborisch (Eric A. Borisch), mascguy (Christopher Nielsen)
Port: starpu, mpich

Description

I see this happening during the build:

libtool: link: /opt/local/bin/mpicc -gdwarf-2 -g3 -Wall -Werror=implicit -Werror=implicit-function-declaration -Wextra -Wunused -Wundef -Wshadow -Wpointer-arith -Wno-unused -O3 -pipe -Os -arch ppc -Wl,-headerpad_max_install_names -Wl,-rpath -Wl,/opt/local/lib/libgcc -arch ppc -o .libs/datatypes datatypes.o  -L/opt/local/lib ../../src/.libs/libstarpu-1.4.dylib ../src/.libs/libstarpumpi-1.4.dylib -L/opt/local/lib/mpich-gcc12 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/starpu-1.4.6/src/.libs/libstarpu-1.4.dylib -lMacportsLegacySupport -lm /opt/local/lib/libhwloc.dylib /opt/local/lib/libglpk.dylib -lblas -ldl /opt/local/lib/mpich-gcc12/libmpi.dylib /opt/local/lib/mpich-gcc12/libpmpi.dylib -lpthread -pthread -framework IOKit -framework Foundation
libtool: link: /opt/local/bin/mpicc -gdwarf-2 -g3 -Wall -Werror=implicit -Werror=implicit-function-declaration -Wextra -Wunused -Wundef -Wshadow -Wpointer-arith -Wno-unused -O3 -pipe -Os -arch ppc -Wl,-headerpad_max_install_names -Wl,-rpath -Wl,/opt/local/lib/libgcc -arch ppc -o .libs/pingpong pingpong.o  -L/opt/local/lib ../../src/.libs/libstarpu-1.4.dylib ../src/.libs/libstarpumpi-1.4.dylib -L/opt/local/lib/mpich-gcc12 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/starpu-1.4.6/src/.libs/libstarpu-1.4.dylib -lMacportsLegacySupport -lm /opt/local/lib/libhwloc.dylib /opt/local/lib/libglpk.dylib -lblas -ldl /opt/local/lib/mpich-gcc12/libmpi.dylib /opt/local/lib/mpich-gcc12/libpmpi.dylib -lpthread -pthread -framework IOKit -framework Foundation
libtool: link: /opt/local/bin/mpicc -gdwarf-2 -g3 -Wall -Werror=implicit -Werror=implicit-function-declaration -Wextra -Wunused -Wundef -Wshadow -Wpointer-arith -Wno-unused -O3 -pipe -Os -arch ppc -Wl,-headerpad_max_install_names -Wl,-rpath -Wl,/opt/local/lib/libgcc -arch ppc -o .libs/mpi_test mpi_test.o  -L/opt/local/lib ../../src/.libs/libstarpu-1.4.dylib ../src/.libs/libstarpumpi-1.4.dylib -L/opt/local/lib/mpich-gcc12 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_starpu/starpu/work/starpu-1.4.6/src/.libs/libstarpu-1.4.dylib -lMacportsLegacySupport -lm /opt/local/lib/libhwloc.dylib /opt/local/lib/libglpk.dylib -lblas -ldl /opt/local/lib/mpich-gcc12/libmpi.dylib /opt/local/lib/mpich-gcc12/libpmpi.dylib -lpthread -pthread -framework IOKit -framework Foundation

I have no idea why it uses /opt/local/lib/mpich-gcc12/libmpi.dylib though. The portfile uses mpi PG and does not overrides gcc version manually.

It uses mpich-gcc13 as the compiler though:

libtool: link: /opt/local/bin/mpicc-mpich-gcc13 -gdwarf-2 -g3 -Wall -Werror=implicit -Werror=implicit-function-declaration -Wextra -Wunused -Wundef -Wshadow -Wpointer-arith -Wno-unused -O3 -pipe -Os -arch ppc -Wl,-headerpad_max_install_names -Wl,-rpath -Wl,/opt/local/lib/libgcc -arch ppc -o mandelbrot/.libs/mandelbrot mandelbrot/mandelbrot-mandelbrot.o  -L/opt/local/lib /opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib /opt/local/lib/libX11.dylib ../src/.libs/libstarpu-1.4.dylib -lMacportsLegacySupport -lm /opt/local/lib/libhwloc.dylib /opt/local/lib/libglpk.dylib -lblas -ldl -lpthread -pthread -framework IOKit -framework Foundation
/bin/sh ../libtool  --tag=FC   --mode=link /opt/local/bin/mpif90-mpich-gcc13 -gdwarf-2 -g3 -Wall -Wextra -Wunused -Wshadow  -Wno-unused -Wno-unused-dummy-argument -O3 -pipe -Os -m32  -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -Wl,-rpath,/opt/local/lib/libgcc -arch ppc -o native_fortran/nf_vector native_fortran/nf_codelets.o native_fortran/fstarpu_mod.o native_fortran/nf_vector.o  -lpthread ../src/libstarpu-1.4.la  -lpthread -lpthread    
/bin/sh ../libtool  --tag=FC   --mode=link /opt/local/bin/mpif90-mpich-gcc13 -gdwarf-2 -g3 -Wall -Wextra -Wunused -Wshadow  -Wno-unused -Wno-unused-dummy-argument -O3 -pipe -Os -m32  -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -Wl,-rpath,/opt/local/lib/libgcc -arch ppc -o fortran90/f90_example fortran90/mod_types.o fortran90/starpu_mod.o fortran90/mod_interface.o fortran90/mod_compute.o fortran90/marshalling.o fortran90/f90_example.o  -lpthread ../src/libstarpu-1.4.la  -lpthread -lpthread

The port claims to be installed with gcc13 variant:

starpu @1.4.5_0+accelerate+gcc13+mpich (active)

Any idea what may be pulling in references to mpich-gcc12?

Change History (0)

Note: See TracTickets for help on using tickets.