Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] 1.5.5rc1 tested: Solaris 11 hwloc link failure
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2011-12-14 04:19:58


Grumble. This is getting old.

Add Solaris 11 on x86-64 to the list of platforms where OMPI is
incorrectly trying to link Linux-specific hwloc symbols, even though I
can build a stand-alone hwloc w/o problems:
> $ uname -a
> SunOS pcp-j-20 5.11 snv_151a i86pc i386 i86pc Solaris
> $ gcc --version | head -1
> gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)
> $ make
> [...]
> CC opal_wrapper.o
> CCLD opal_wrapper
> Undefined first referenced
> symbol in file
> opal_hwloc122_hwloc_set_linux_hooks ../../../opal/.libs/libopen-pal.so
> opal_hwloc122_hwloc_look_linux ../../../opal/.libs/libopen-pal.so
> opal_hwloc122_hwloc_backend_sysfs_exit ../../../opal/.libs/libopen-pal.so
> opal_hwloc122_hwloc_backend_sysfs_init ../../../opal/.libs/libopen-pal.so
> ld: fatal: symbol referencing errors. No output written to
> .libs/opal_wrapper
> collect2: ld returned 1 exit status
> make[2]: *** [opal_wrapper] Error 1
> make[2]: Leaving directory
> `/home/phargrov/openmpi-1.5.5rc1/BUILD-dflt/opal/tools/wrappers'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/phargrov/openmpi-1.5.5rc1/BUILD-dflt/opal'
> make: *** [all-recursive] Error 1

On 12/14/2011 12:04 AM, Paul H. Hargrove wrote:
>
>
> So, I agree w/ Brice that OMPI is getting something wrong, as
> evidenced by the failures to link linux-specific hwloc symbols.
> My reports (other than the one for RHL8) have been unfairly pointing
> at hwloc.
>
> -Paul
>

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900