[OMPI devel] Fwd: 1.5rc5 has been posted
My head hurts from working on this! I just realized is for OpenMP, not OpenMPI. So, of course the PGI is used. I still don't know why otfprofile is failing, but at least that explains why OpenMPI-1.5rc5 has no . Sorry for the noise. Larry Baker US Geological Survey 650-329-5608 ba...@usgs.gov Begin forwarded message: From: Larry BakerDate: August 31, 2010 10:04:35 AM PDT To: Open MPI Developers Subject: Re: [OMPI devel] 1.5rc5 has been posted Reply-To: Open MPI Developers The make of OpenMPI 1.5rc5 fails for PGI 10.3 in otfprofile: Making all in otfprofile make[9]: Entering directory `/usr/local/src/openmpi-1.5rc5/ompi/ contrib/vt/vt/extlib/otf/tools/otfprofile' CXXotfprofile-otfprofile.o "/opt/pgi/linux86-64/10.3/include/omp.h", line 41: error: expected an identifier extern int omp_get_thread_num(void); ^ "/opt/pgi/linux86-64/10.3/include/omp.h", line 43: error: expected an identifier extern int omp_get_num_threads(void); ^ 2 errors detected in the compilation of "otfprofile.cpp". The errors are coming from an file that comes with the PGI compiler. I would think OpenMPI would use its own. The problem is, there isn't one (yet?): [root@hydra otfprofile]# find /usr/local/src/openmpi-1.5rc5 -name omp.h The C++ file that is using the PGI file is ompi/contrib/vt/ vt/extlib/otf/tools/otfprofile/otfprofile.cpp: [root@hydra otfprofile]# cd ompi/contrib/vt/vt/extlib/otf/tools/ otfprofile [root@hydra otfprofile]# grep omp.h *.cpp otfprofile.cpp:#include I ran the compile from make -n to verify that: [root@hydra otfprofile]# pgcpp -m64 -DHAVE_CONFIG_H -I. -I../.. - I../../otflib -I../../otflib -DINSIDE_OPENMPI -D_REENTRANT -mp -g -O3 -tp amd64 -DNO_PGI_OFFSET -c -o otfprofile-otfprofile.o `test - f 'otfprofile.cpp' || echo './'`otfprofile.cpp "/opt/pgi/linux86-64/10.3/include/omp.h", line 41: error: expected an identifier extern int omp_get_thread_num(void); ^ "/opt/pgi/linux86-64/10.3/include/omp.h", line 43: error: expected an identifier extern int omp_get_num_threads(void); ^ 2 errors detected in the compilation of "otfprofile.cpp". I don't know how to fix this. Where is otfprofile.cpp expecting to get ? Why isn't it there? I'm beginning to think this contrib/vt stuff should not be enabled by default. I don't know that it is needed in general. Larry Baker US Geological Survey 650-329-5608 ba...@usgs.gov On 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 jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ ___ devel mailing list de...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/devel ___ devel mailing list de...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/devel
[OMPI devel] Fwd: 1.5rc5 has been posted
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 650-329-5608 ba...@usgs.gov Begin forwarded message: From: Larry BakerDate: 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 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 ba...@usgs.gov On 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 jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ ___ devel mailing list de...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/devel