To follow up on
http://www.open-mpi.org/community/lists/devel/2010/08/8417.php: 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) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
> 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
650-329-5608
baker@usgs.govOn Aug 17, 2010, at 2:18 PM, Jeff Squyres wrote:
We still have one known possible regression:
https://svn.open-mpi.org/trac/ompi/ticket/2530
But we posted rc5 anyway (there's a bunch of stuff that has been pending for a while that is now in). Please test!
http://www.open-mpi.org/software/ompi/v1.5/
--
Jeff Squyres
jsquyres@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________
devel mailing list
devel@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel