[mvapich-discuss] CC topology.lo /usr/include/string.h(548): error: identifier "__locale_t" is undefined __locale_t __loc)

Jonathan Perkins perkinjo at cse.ohio-state.edu
Thu Mar 27 14:43:03 EDT 2014


Hi Jeff.  We aren't able to reproduce this issue with a newer version
of the intel compilers.  I noticed that this is failing in hydra's
hwloc which is built after our embedded version of hwloc in the
library has already successfully built.  Perhaps you can simply work
around this by not building hydra (--with-pm=mpirun or --with-pm=no).

If you want to continue debugging this try removing your extra options
to see if this is reproducible.  Also, if you have a newer intel
compiler at your disposal you may want to try that (Most recently we
have been using 14.0.1).

On Thu, Mar 27, 2014 at 2:10 PM, Jeff Hammond <jeff.science at gmail.com> wrote:
> The hwloc build is failing with Intel 13.1.3.  Any suggestions?
>
> Jeff
>
> [jhammond at blogin2 build-intel]$ svn info ..
> Path: ..
> URL: https://mvapich.cse.ohio-state.edu/svn/mpi/mvapich2/trunk
> Repository Root: https://mvapich.cse.ohio-state.edu/svn/mpi
> Repository UUID: 09bc9535-d30e-0410-b1f7-d46b20a4725c
> Revision: 7309
> Node Kind: directory
> Schedule: normal
> Last Changed Author: perkinjo
> Last Changed Rev: 7308
> Last Changed Date: 2014-03-26 15:49:36 -0500 (Wed, 26 Mar 2014)
>
>   $ ../configure CC=/soft/intel/13.1.3/bin/icc
> FC=/soft/intel/13.1.3/bin/ifort F77=/soft/intel/13.1.3/bin/ifort
> CXX=/soft/intel/13.1.3/bin/icpc --disable-fc --disable-f77
> --disable-cxx --with-device=ch3:psm --with-pm=hydra
> --enable-threads=runtime --disable-romio
> --prefix=/home/jhammond/MPI/intel-mv2-trunk --enable-wrapper-rpath
>
> [jhammond at blogin2 build-intel]$ make
> make  all-recursive
> make[1]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel'
> Making all in /home/jhammond/MPI/mv2-trunk/build-intel/src/mpl
> make[2]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/mpl'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/mpl'
> Making all in /home/jhammond/MPI/mv2-trunk/build-intel/src/openpa
> make[2]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa'
> Making all in src
> make[3]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa/src'
> make  all-am
> make[4]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa/src'
> make[4]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa/src'
> make[3]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa/src'
> Making all in test
> make[3]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa/test'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa/test'
> make[3]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa'
> make[2]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/openpa'
> Making all in src/pm/hydra
> make[2]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/pm/hydra'
> Making all in ../../mpl
> make[3]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/mpl'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/mpl'
> Making all in tools/topo/hwloc/hwloc
> make[3]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/pm/hydra/tools/topo/hwloc/hwloc'
> Making all in src
> make[4]: Entering directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/pm/hydra/tools/topo/hwloc/hwloc/src'
>   CC       topology.lo
> /usr/include/string.h(548): error: identifier "__locale_t" is undefined
>                          __locale_t __loc)
>                          ^
>
> /usr/include/string.h(549): error: attribute "nonnull" references
> nonpointer parameter
>        __THROW __attribute_pure__ __nonnull ((1, 2, 3));
>                                   ^
>
> /usr/include/string.h(552): error: identifier "__locale_t" is undefined
>                           size_t __n, __locale_t __loc)
>                                       ^
>
> /usr/include/string.h(553): error: attribute "nonnull" references
> nonpointer parameter
>        __THROW __attribute_pure__ __nonnull ((1, 2, 4));
>                                   ^
>
> compilation aborted for
> ../../../../../../../../../src/pm/hydra/tools/topo/hwloc/hwloc/src/topology.c
> (code 2)
> make[4]: *** [topology.lo] Error 1
> make[4]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/pm/hydra/tools/topo/hwloc/hwloc/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/pm/hydra/tools/topo/hwloc/hwloc'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel/src/pm/hydra'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/fusion/gpfs/home/jhammond/MPI/mv2-trunk/build-intel'
> make: *** [all] Error 2
>
> --
> Jeff Hammond
> jeff.science at gmail.com
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo


More information about the mvapich-discuss mailing list