Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: George Bosilca (bosilca_at_[hidden])
Date: 2006-05-25 15:34:44


That's kind of funny ... Look like the PTHREAD_CANCEL was missing
from the pthread.h on most of the Linux distributions until the
beginning of 2002 (http://sourceware.org/ml/newlib/2002/
msg00538.html). And it look like it is still missing from the MAC OS
X 10.3.9 pthread.h (http://lists.apple.com/archives/darwin-
development/2004/Feb/msg00150.html). Anyway, we can remove it as the
ptl are not used in the 1.0.2 release.

   Thanks,
     george.

On May 24, 2006, at 5:10 PM, Brock Palen wrote:

> Im getting the following error when trying to build OMPI on OSX
> 10.3.9 with myrinet support, the libs are in
> /opt/gm/lib
> Includes:
> /opt/gm/include
>
> Bellow is my configure line and the error:
> ./configure --prefix=/home/software/openmpi-1.0.2 --with-tm=/home/
> software/torque-2.1.0p0 --with-gm=/opt/gm FC=/opt/ibmcmp/xlf/8.1/bin/
> xlf90 F77=/opt/ibmcmp/xlf/8.1/bin/xlf CPPFLAGS=-I/opt/gm/include
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../../
> include -I/opt/gm/include -I../../../../include -I../../../.. -
> I../../../.. -I../../../../include -I../../../../opal -I../../../../
> orte -I../../../../ompi -I/opt/gm/include -D_REENTRANT -O3 -DNDEBUG -
> fno-strict-aliasing -MT ptl_gm.lo -MD -MP -MF .deps/ptl_gm.Tpo -c
> ptl_gm.c -fno-common -DPIC -o .libs/ptl_gm.o
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../../
> include -I/opt/gm/include -I../../../../include -I../../../.. -
> I../../../.. -I../../../../include -I../../../../opal -I../../../../
> orte -I../../../../ompi -I/opt/gm/include -D_REENTRANT -O3 -DNDEBUG -
> fno-strict-aliasing -MT ptl_gm_priv.lo -MD -MP -MF .deps/
> ptl_gm_priv.Tpo -c ptl_gm_priv.c -fno-common -DPIC -o .libs/
> ptl_gm_priv.o
> ptl_gm_component.c: In function `mca_ptl_gm_thread_progress':
> ptl_gm_component.c:249: error: `PTHREAD_CANCELED' undeclared (first
> use in this function)
> ptl_gm_component.c:249: error: (Each undeclared identifier is
> reported only once
> ptl_gm_component.c:249: error: for each function it appears in.)
> make[4]: *** [ptl_gm_component.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> Could this be related to the version of the gm package we have
> installed? Any insight would be helpful.
> Brock
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users