[OMPI devel] wiki: creating frameworks and components
I created 3 wiki pages over the holidays: * https://svn.open-mpi.org/trac/ompi/wiki/devel/CreateComponent How to add a new to / remove an old component from Open MPI * https://svn.open-mpi.org/trac/ompi/wiki/devel/CreateFramework How to add a new to / remove an old framework from Open MPI * https://svn.open-mpi.org/trac/ompi/wiki/devel/Autogen The role of autogen in finding/configuring/building frameworks and components Feel free to edit with any mistakes / things that are not clear. Hopefully, these pages will be most useful to those who need to add/ remove components and frameworks. Enjoy! -- Jeff Squyres Cisco Systems
Re: [OMPI devel] wiki: creating frameworks and components
That's really helpful, thanks! 2009/1/8 Jeff Squyres > I created 3 wiki pages over the holidays: > > * https://svn.open-mpi.org/trac/ompi/wiki/devel/CreateComponent > How to add a new to / remove an old component from Open MPI > * https://svn.open-mpi.org/trac/ompi/wiki/devel/CreateFramework > How to add a new to / remove an old framework from Open MPI > * https://svn.open-mpi.org/trac/ompi/wiki/devel/Autogen > The role of autogen in finding/configuring/building frameworks and > components > > Feel free to edit with any mistakes / things that are not clear. > Hopefully, these pages will be most useful to those who need to add/remove > components and frameworks. > > Enjoy! > > -- > Jeff Squyres > Cisco Systems > > ___ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel > >
[OMPI devel] Building with rpath disabled
Hi, attached you'll find a (trivial) patch against the latest svn trunk (r20227) that adds a --disable-rpath to configure, so libraries can be build with rpath disabled. The reason for adding this feature that was that rpath is often problematic and it is removed in Debian anyway. (We currently delete rpath entries after building which is a little ugly.) The patch simply adds a call to the macro AC_LIB_RPATH in configure.ac and installs "config.rpath" from gettext which seems to be the preferred way of distributing the m4 macros needed for that. The license should not be an issue, as far as I can say. I tested it with the current trunk and it worked fine for me. It would be great if you could consider including it since it makes Debian maintainance of Open MPI a little easier and I think other distributions (and some users) may benefit from stripping rpath as well. Thanks in advance! Best regards Manuel ompi_rpath_fix.patch.gz Description: GNU Zip compressed data signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: [OMPI devel] [Pkg-openmpi-maintainers] Building with rpath disabled
On 8 January 2009 at 16:45, Manuel Prinz wrote: | Hi, | | attached you'll find a (trivial) patch against the latest svn trunk | (r20227) that adds a --disable-rpath to configure, so libraries can be | build with rpath disabled. The reason for adding this feature that was | that rpath is often problematic and it is removed in Debian anyway. (We | currently delete rpath entries after building which is a little ugly.) "In theory, theory and practice are the same. In practive, they are not." It is true that Debian 'at large' has a policy to not use rpath. This is due to the fact that as a distro, we can control ld.so.conf etc. That said, I as a developer often do not nuke rpath because certain systems are simply built to use it. With Open MPi, and particularly Rmpi, I have had nasty bugs given that symbols are split over several libraries. To be honest, that was worse with Ubuntu because they globally tell the linker to strip-unneeded (or something like that) as a default which killed till I enforced LD_FLAGS="" to override it for the package. Long story short, I'd suggest a short moratorium here til we at Debian have figured that all ducks are indeed in a row. Right now I fear they may not be. Testing standalone C programs against libmpi is not enough of a test. Manuel and I will toy with this off-line and report back. Dirk PS Apologies also for the 'ftbfs' lingo the other day which came from a Debian-internal list and a post that was not initially meant for wider distribution. | The patch simply adds a call to the macro AC_LIB_RPATH in configure.ac | and installs "config.rpath" from gettext which seems to be the preferred | way of distributing the m4 macros needed for that. The license should | not be an issue, as far as I can say. | | I tested it with the current trunk and it worked fine for me. It would | be great if you could consider including it since it makes Debian | maintainance of Open MPI a little easier and I think other distributions | (and some users) may benefit from stripping rpath as well. | | Thanks in advance! | | Best regards | Manuel | -- | Pkg-openmpi-maintainers mailing list | pkg-openmpi-maintain...@lists.alioth.debian.org | http://lists.alioth.debian.org/mailman/listinfo/pkg-openmpi-maintainers -- Three out of two people have difficulties with fractions.
Re: [OMPI devel] OpenMPI rpm build 1.3rc3r20226 build failed
This doesn't happen in a normal build of the same tree? I ask because both 1.3r20226 builds fine for me manually (i.e., ./ configure;make and buildrpm.sh). On Jan 8, 2009, at 8:15 AM, Lenny Verkhovsky wrote: Hi, I am trying to build rpm from nightly snaposhots of 1.3 with the downloaded buildrpm.sh and ompi.spec file from http://svn.open-mpi.org/svn/ompi/branches/v1.3/contrib/dist/linux/ I am getting this error . Making all in vtlib make[5]: Entering directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/ BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt/vt/vtlib' gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_comp_gnu.o -MD -MP -MF .deps/vt_comp_gnu.Tpo - c -o vt_comp_gnu.o vt_comp_gnu.c gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_memhook.o -MD -MP -MF .deps/vt_memhook.Tpo -c -o vt_memhook.o vt_memhook.c gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_memreg.o -MD -MP -MF .deps/vt_memreg.Tpo -c -o vt_memreg.o vt_memreg.c gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_iowrap.o -MD -MP -MF .deps/vt_iowrap.Tpo -c -o vt_iowrap.o vt_iowrap.c mv -f .deps/vt_memreg.Tpo .deps/vt_memreg.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_iowrap_helper.o -MD -MP -MF .deps/vt_iowrap_helper.Tpo -c -o vt_iowrap_helper.o vt_iowrap_helper.c mv -f .deps/vt_memhook.Tpo .deps/vt_memhook.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT rfg_regions.o -MD -MP -MF .deps/rfg_regions.Tpo - c -o rfg_regions.o rfg_regions.c vt_iowrap.c:1242: error: expected declaration specifiers or '...' before numeric constant vt_iowrap.c:1243: error: conflicting types for '__fprintf_chk' mv -f .deps/vt_comp_gnu.Tpo .deps/vt_comp_gnu.Po make[5]: *** [vt_iowrap.o] Error 1 make[5]: *** Waiting for unfinished jobs mv -f .deps/vt_iowrap_helper.Tpo .deps/vt_iowrap_helper.Po mv -f .deps/rfg_regions.Tpo .deps/rfg_regions.Po make[5]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/ BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt/vt/vtlib' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/ BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt/vt' make[3]: *** [all] Error 2 make[3]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/ BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt/vt' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/ BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/ BUILD/ openmpi-1.3rc3r20226/ompi' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.32080 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.32080 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.32080 (%build) full error.log attached thanks, Lenny.
[OMPI devel] OpenMPI rpm build 1.3rc3r20226 build failed
Hi, I am trying to build rpm from nightly snaposhots of 1.3 with the downloaded buildrpm.sh and ompi.spec file from http://svn.open-mpi.org/svn/ompi/branches/v1.3/contrib/dist/linux/ I am getting this error . Making all in vtlib make[5]: Entering directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt/vt/vtlib' gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_comp_gnu.o -MD -MP -MF .deps/vt_comp_gnu.Tpo -c -o vt_comp_gnu.o vt_comp_gnu.c gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_memhook.o -MD -MP -MF .deps/vt_memhook.Tpo -c -o vt_memhook.o vt_memhook.c gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_memreg.o -MD -MP -MF .deps/vt_memreg.Tpo -c -o vt_memreg.o vt_memreg.c gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_iowrap.o -MD -MP -MF .deps/vt_iowrap.Tpo -c -o vt_iowrap.o vt_iowrap.c mv -f .deps/vt_memreg.Tpo .deps/vt_memreg.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_iowrap_helper.o -MD -MP -MF .deps/vt_iowrap_helper.Tpo -c -o vt_iowrap_helper.o vt_iowrap_helper.c mv -f .deps/vt_memhook.Tpo .deps/vt_memhook.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/bin\" -DDATADIR=\"/opt/openmpi/1.3rc3r20226-V00/gcc/share\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT rfg_regions.o -MD -MP -MF .deps/rfg_regions.Tpo -c -o rfg_regions.o rfg_regions.c vt_iowrap.c:1242: error: expected declaration specifiers or '...' before numeric constant vt_iowrap.c:1243: error: conflicting types for '__fprintf_chk' mv -f .deps/vt_comp_gnu.Tpo .deps/vt_comp_gnu.Po make[5]: *** [vt_iowrap.o] Error 1 make[5]: *** Waiting for unfinished jobs mv -f .deps/vt_iowrap_helper.Tpo .deps/vt_iowrap_helper.Po mv -f .deps/rfg_regions.Tpo .deps/rfg_regions.Po make[5]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt/vt/vtlib' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt/vt' make[3]: *** [all] Error 2 make[3]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt/vt' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/BUILD/ openmpi-1.3rc3r20226/ompi/contrib/vt' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/OMPI/BUILD/ openmpi-1.3rc3r20226/ompi' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.32080 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.32080 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.32080 (%build) full error.log attached thanks, Lenny. Installing /hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3--1/rpmroot/SRPMS/openmpi-1.3rc3r20226-V00.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.32623 + umask 022 + cd /hpc/home/USERS/lennyb/work/svn/release/scripts/dist-1.3-