[mpich-discuss] --enable-strictmpi not respected

Kenneth Raffenetti raffenet at mcs.anl.gov
Thu Jul 21 10:22:04 CDT 2016


Hi Levi,

Yes, this looks like a bug with how we include directories in the 
Automake SUBDIRS variable. I've created a ticket to track the issue and 
investigate other occurrences.

https://trac.mpich.org/projects/mpich/ticket/2345

Ken

On 07/20/2016 04:18 PM, Dettwyler, Levi E wrote:
> Hi there,
>
> I think I've discovered an issue with the mpich-3.2 MPI tests not respecting the --enable-strictmpi flag passed in to the configure script. I'm building the mpich tests against OpenMPI.
>
> The full configure line I'm using is given below:
>
> export MPI_PREFIX=/home/build/OMPI
> ./configure --enable-strictmpi --disable-cxx --disable-fortran --prefix=$MPI_PREFIX CC=$MPI_PREFIX/bin/mpicc CFLAGS="-I$MPI_PREFIX/include" LDFLAGS="-L$MPI_PREFIX/lib64"
>
> When running "make" in the mpich-3.2/test/mpi directory, the following error is generated:
>
> Making all in ft
> make[1]: Entering directory `/root/mpich-3.2/test/mpi/ft'
>    CCLD     failure_ack
> failure_ack.o: In function `main':
> failure_ack.c:(.text+0x160): undefined reference to `MPIX_Comm_failure_ack'
> failure_ack.c:(.text+0x1e3): undefined reference to `MPIX_Comm_failure_get_acked'
> failure_ack.c:(.text+0x444): undefined reference to `MPIX_Comm_failure_get_acked'
> collect2: error: ld returned 1 exit status
> make[1]: *** [failure_ack] Error 1
> make[1]: Leaving directory `/root/mpich-3.2/test/mpi/ft'
> make: *** [all-recursive] Error 1
>
> The compiler is picking up the declaration of MPIX_* from the mpich-3.2/src/include directory, but obviously the OpenMPI libs won't have definitions for those. However, the fact that it's searching for these symbols at all seems to indicate that the --enable-strictmpi option isn't being respected since the MPIX_* functions are nonstandard.
>
> Any insight into this would be greatly appreciated!
>
>
> Thanks,
>
> Levi Dettwyler
> Intel Corporation
> levi.e.dettwyler at intel.com
>
>
>
> _______________________________________________
> 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