[mpich-discuss] building 3.2 fails

Kenneth Raffenetti raffenet at mcs.anl.gov
Mon Nov 16 11:02:20 CST 2015


There is a bug in the build system that prevents building both the hydra 
and gforker process managers at the same time. You'll need to drop one 
from your configure line in order to proceed.

There is a ticket to track this issue, which will be fixed in the next 
release. https://trac.mpich.org/projects/mpich/ticket/2299

Ken

On 11/16/2015 10:56 AM, Zbigniew Jędrzejewski-Szmek wrote:
> Hi,
>
> I'm trying to compile mpich-3.2 on Fedora rawhide and it fails with the
> following:
>
> /bin/sh ./libtool  --tag=FC   --mode=compile gfortran -Isrc/binding/fortran/use_mpi  -m64 -O2 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -O2 -Jsrc/binding/fortran/use_mpi -c src/binding/fortran/use_mpi/mpi.f90 -o src/binding/fortran/use_mpi/mpi.lo
> libtool: link: gcc -m64 -O2 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -O2 -Wl,-z -Wl,noexecstack -o src/pm/gforker/mpiexec.gforker src/pm/gforker/src_pm_gforker_mpiexec_gforker-mpiexec.o  src/pm/util/libmpiexec.a -lpthread
> src/pm/gforker/src_pm_gforker_mpiexec_gforker-mpiexec.o: In function `mpiexec_usage':
> /builddir/build/BUILD/mpich-3.2/src/pm/gforker/mpiexec.c:283: undefined reference to `MPL_usage_printf'
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-process.o): In function `MPIE_ExecProgram':
> /builddir/build/BUILD/mpich-3.2/src/pm/util/process.c:362: undefined reference to `MPL_internal_sys_error_printf'
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-process.o): In function `MPIE_ForkProcesses':
> /builddir/build/BUILD/mpich-3.2/src/pm/util/process.c:173: undefined reference to `MPL_internal_error_printf'
> /builddir/build/BUILD/mpich-3.2/src/pm/util/process.c:155: undefined reference to `MPL_internal_error_printf'
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-ioloop.o): In function `MPIE_IOLoop':
> /builddir/build/BUILD/mpich-3.2/src/pm/util/ioloop.c:191: undefined reference to `MPL_internal_sys_error_printf'
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-pmiserv.o): In function `fPMIKVSAllocate':
> /builddir/build/BUILD/mpich-3.2/src/pm/util/pmiserv.c:461: undefined reference to `MPL_internal_error_printf'
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-pmiserv.o): In function `PMISetupInClient':
> /builddir/build/BUILD/mpich-3.2/src/pm/util/pmiserv.c:175: undefined reference to `MPL_internal_error_printf'
> /builddir/build/BUILD/mpich-3.2/src/pm/util/pmiserv.c:185: undefined reference to `MPL_internal_error_printf'
> /builddir/build/BUILD/mpich-3.2/src/pm/util/pmiserv.c:191: undefined reference to `MPL_internal_error_printf'
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-pmiserv.o): In function `fPMI_Handle_get_my_kvsname':
> /builddir/build/BUILD/mpich-3.2/src/pm/util/pmiserv.c:770: undefined reference to `MPL_internal_error_printf'
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-pmiserv.o):/builddir/build/BUILD/mpich-3.2/src/pm/util/pmiserv.c:618: more undefined references to `MPL_internal_error_printf' follow
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-pmiport.o): In function `PMIServGetPort':
> /builddir/build/BUILD/mpich-3.2/src/pm/util/pmiport.c:142: undefined reference to `MPL_internal_sys_error_printf'
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-pmiport.o): In function `PMIServSetupPort':
> /builddir/build/BUILD/mpich-3.2/src/pm/util/pmiport.c:323: undefined reference to `MPL_internal_error_printf'
> src/pm/util/libmpiexec.a(src_pm_util_libmpiexec_a-simple_pmiutil2.o): In function `PMIU_readline':
> /builddir/build/BUILD/mpich-3.2/src/pm/util/simple_pmiutil2.c:124: undefined reference to `MPL_internal_error_printf'
> collect2: error: ld returned 1 exit status
> Makefile:19692: recipe for target 'src/pm/gforker/mpiexec.gforker' failed
>
> Any ideas? Full log is at http://in.waw.pl/~zbyszek/fedora/mpich-3.2-build.log .
>
> Zbyszek
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list