BTW - in case it wasn't clear, this is the mvapich2-1.5.1 rpm that comes with 
OFED 1.5.2-rc6.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Mike Heinz
Sent: Friday, September 10, 2010 2:43 PM
To: [email protected]; [email protected]
Subject: [mpich2-dev] Problems with mvapich2-1.5.1 - shared library is missing 
hwloc_* functions.

Hello all,

I'm trying to build mvapich2-1.5.1 on an RHEL 5 update 3 system. It builds from 
the SRPM just fine, but when I try to compile test programs, they don't link. 
It appears that a set of routines, hwloc_* are missing from the shared library.

[r...@homer bandwidth]# /usr/mpi/gcc/mvapich2-1.5.1/bin/mpicc bw.c
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_get_obj_by_depth'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_topology_get_depth'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_set_cpubind'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_topology_init'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_cpuset_cpu'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_get_depth_type'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_get_type_depth'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_get_nbobjs_by_depth'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_compare_types'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_topology_destroy'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_topology_load'
/usr/mpi/gcc/mvapich2-1.5.1/lib/libmpich.so: undefined reference to 
`hwloc_cpuset_alloc'
collect2: ld returned 1 exit status
_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to