Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] 1.7.5rc1 failure: unresolved pthread calls
From: Paul Hargrove (phhargrove_at_[hidden])
Date: 2014-03-02 19:17:31


The failure below (from OpenBSD5-amd64) shows unresolved calls to pthread
"setpshared" interfaces for mutex and condition vars. Thesw were not part
of the initial POSIX threads specification, and therefore configure-time
check is required before these calls can safely be included.

Like my previous report (unresolved __sync_synchronize) this is from the
osc/sm component code, and there is no relation to VT (it just happens that
otfmerge-mpi is the first executable linked to libmpi).

-Paul

/home/phargrov/OMPI/openmpi-1.7.5rc1-openbsd5-amd64/BLD/ompi/contrib/vt/vt/../../../.libs/libmpi.a(osc_sm_component.o)(.text+0xba5):
In function `component_select':
/home/phargrov/OMPI/openmpi-1.7.5rc1-openbsd5-amd64/openmpi-1.7.5rc1/ompi/mca/osc/sm/osc_sm_component.c:349:
undefined reference to `pthread_mutexattr_setpshared'
/home/phargrov/OMPI/openmpi-1.7.5rc1-openbsd5-amd64/BLD/ompi/contrib/vt/vt/../../../.libs/libmpi.a(osc_sm_component.o)(.text+0xc14):/home/phargrov/OMPI/openmpi-1.7.5rc1-openbsd5-amd64/openmpi-1.7.5rc1/ompi/mca/osc/sm/osc_sm_component.c:358:
undefined reference to `pthread_condattr_setpshared'
collect2: ld returned 1 exit status

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