The same problem (LIBS = is missing -lpthread) occurs in orte/tools/{orte-clean,orte-iof,orte-ps,orted,orterun,orte-top}/Makefile.

Larry Baker
US Geological Survey

Begin forwarded message:

From: Larry Baker <>
Date: August 30, 2010 4:48:01 PM PDT
To: Open MPI Developers <>
Subject: Re: [OMPI devel] 1.5rc5 has been posted

To follow up on OpenMPI 1.5rc5 fails in opal/tools/wrappers for PGI 10.3.

The problem appears to be a missing -lpthread in the definition of most of the *LIBS variables in OpenMPI 1.5rc5 opal/tools/wrappers/Makefile:

[root@hydra src]# diff openmpi-{1.4.2,1.5rc5}/opal/tools/wrappers/Makefile | grep lutil
< LIBS = -lnsl -lutil  -lpthread
> LIBS = -lnsl  -lutil
< OMPI_WRAPPER_EXTRA_LIBS =   -ldl   -Wl,--export-dynamic -lnsl -lutil -lpthread -ldl
> OMPI_WRAPPER_EXTRA_LIBS =   -ldl   -Wl,--export-dynamic -lnsl -lutil -ldl
< OPAL_WRAPPER_EXTRA_LIBS = -ldl   -Wl,--export-dynamic -lnsl -lutil -lpthread -ldl
> OPAL_WRAPPER_EXTRA_LIBS = -ldl   -Wl,--export-dynamic -lnsl -lutil -ldl
< ORTE_WRAPPER_EXTRA_LIBS =  -ldl   -Wl,--export-dynamic -lnsl -lutil -lpthread -ldl
> ORTE_WRAPPER_EXTRA_LIBS =  -ldl   -Wl,--export-dynamic -lnsl -lutil -ldl
< WRAPPER_EXTRA_LIBS =   -ldl   -Wl,--export-dynamic -lnsl -lutil -lpthread -ldl
> WRAPPER_EXTRA_LIBS = -ldl   -Wl,--export-dynamic -lnsl -lutil -ldl
< crs_blcr_LIBS = -lnsl -lutil  -lpthread
> crs_blcr_LIBS = -lnsl  -lutil -lpthread

[root@hydra src]# diff openmpi-{1.4.2,1.5rc5}/opal/tools/wrappers/Makefile | grep LINK
> LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
< $(LINK) $(opal_wrapper_OBJECTS) $(opal_wrapper_LDADD) $(LIBS)
> $(AM_V_CCLD)$(LINK) $(opal_wrapper_OBJECTS) $(opal_wrapper_LDADD) $(LIBS)

I don't know anything about automake, so I don't know what code to look at that changed between 1.4.2 and 1.5rc5 that defines the *LIBS Makefile variables.

Larry Baker
US Geological Survey

On Aug 17, 2010, at 2:18 PM, Jeff Squyres wrote:

We still have one known possible regression:

But we posted rc5 anyway (there's a bunch of stuff that has been pending for a while that is now in).  Please test!

Jeff Squyres
For corporate legal information go to:

devel mailing list