Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Tim S. Woodall (twoodall_at_[hidden])
Date: 2005-09-14 16:40:07


Jeff - seems like a configure/build issue to me. Shouldn't we disable
numa support and not try to build it if the supporting libraries
don't exist?

Thanks,
Tim

Jeff Squyres wrote:
> I believe the problem is that you are trying to link statically, but
> there is no static version of libnuma available (i.e., there's only
> libnuma.so, not libnuma.a).
>
> Hence, if you want libnuma support, you'll either have to generate a
> libnuma.a file or compile Open MPI dynamically...
>
>
> On Sep 14, 2005, at 4:25 PM, James W. Barker wrote:
>
>
>>Jeff,
>>
>>This error has been occurring during make for the last couple of days
>>(this error is from HEAD 7371).
>>
>>Jim Barker
>>
>>mkdir .libs
>>g++ -g -Wall -Wundef -Wno-long-long -finline-functions -pthread -o
>>ompi_info components.o ompi_info.o output.o param.o version.o
>>-Wl,--export-dynamic ../../../ompi/.libs/libmpi.a
>>-L/usr/mellanox/lib -lvapi -lmosal -lmpga -lmtl_common
>>../../../orte/.libs/liborte.a ../../../opal/.libs/libopal.a -ldl -lm
>>-lutil -lnsl
>>../../../opal/.libs/libopal.a(maffinity_libnuma_module.o)(.text+0xd):
>>In function `opal_maffinity_libnuma_component_query':
>>/home/jbarker/ompi_7371/opal/mca/maffinity/libnuma/
>>maffinity_libnuma_module.c:55:
>>undefined reference to `numa_available'
>>../../../opal/.libs/libopal.a(maffinity_libnuma_module.o)(.text+0x5b):
>>In function `libnuma_module_init':
>>/home/jbarker/ompi_7371/opal/mca/maffinity/libnuma/
>>maffinity_libnuma_module.c:71:
>>undefined reference to `numa_set_strict'
>>../../../opal/.libs/libopal.a(maffinity_libnuma_module.o)(.text+0x60):
>>/home/jbarker/ompi_7371/opal/mca/maffinity/libnuma/
>>maffinity_libnuma_module.c:72:
>>undefined reference to `numa_set_localalloc'
>>../../../opal/.libs/libopal.a(maffinity_libnuma_module.o)(.text+0xb5):
>>In function `libnuma_module_set':
>>/home/jbarker/ompi_7371/opal/mca/maffinity/libnuma/
>>maffinity_libnuma_module.c:90:
>>undefined reference to `numa_setlocal_memory'
>>collect2: ld returned 1 exit status
>>make[3]: *** [ompi_info] Error 1
>>make[3]: Leaving directory
>>`/home/jbarker/ompi_7371/ompi/tools/ompi_info'
>>make[2]: *** [all-recursive] Error 1
>>make[2]: Leaving directory `/home/jbarker/ompi_7371/ompi/tools'
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory `/home/jbarker/ompi_7371/ompi'
>>make: *** [all-recursive] Error 1
>>
>>
>>James W. Barker, Ph.D.
>>Los Alamos National Laboratory
>>Computer and Computational Sciences Division
>>Advanced Computing Laboratory - Resilient Technologies Team
>>505-665-9558
>>
>>
>>_______________________________________________
>>devel mailing list
>>devel_at_[hidden]
>>http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>
>
>