Re: [OMPI users] openmpi-1.7.2 rpm

2013-08-09 Thread Jeff Squyres (jsquyres)
It can be built either way (because some users want an all-in-one RPM and others and separate RPMs). Check out the comments at the top of the spec file: https://svn.open-mpi.org/trac/ompi/browser/branches/v1.7/contrib/dist/linux/openmpi.spec I think the option you want is build_all_in_one_rpm (

Re: [OMPI users] openmpi-1.7.2 rpm

2013-08-09 Thread RoboBeans
will this rpm include both openmpi and openmpi-devel or do i have to create separate rpms? Thanks for your time! On 8/9/13 3:14 PM, Jeff Squyres (jsquyres) wrote: The specfile we provide is quite flexible -- read through the comments at the top to see what CLI options it allows. The short ver

Re: [OMPI users] openmpi-1.7.2 rpm

2013-08-09 Thread Jeff Squyres (jsquyres)
The specfile we provide is quite flexible -- read through the comments at the top to see what CLI options it allows. The short version is that you want something like: rpmbuild --rebuild --define 'configure_options --enable-event-thread-support --enable-opal-multi-threads ...etc.' openmpi-1.7.

Re: [OMPI users] openmpi-1.7.2 rpm

2013-08-09 Thread RoboBeans
Thanks Jeff. I was able to produce rpm using "rpmbuild --rebuild openmpi-1.7.2-1.src.rpm". What is the correct way of passing additional config parameters if a user wish to. For example -enable-event-thread-support --enable-opal-multi-threads --enable-orte-progress-threads --enable-mpi-thread-m

Re: [OMPI users] openmpi-1.7.2 rpm

2013-08-08 Thread Jeff Squyres (jsquyres)
The issue is that the buildrpm.sh script is not really intended for users. It's for the OMPI developers who make the official Open MPI SRPM. That usually ends up being me, so that script is somewhat tailored to my environment. You should be able to rpmbuild --rebuild the Open MPI SRPM if you w

Re: [OMPI users] openmpi-1.7.2 rpm

2013-08-08 Thread Jonathan Barber
I think you're missing the package "rpm-build", is it installed? Cheers On 8 August 2013 05:54, RoboBeans wrote: > Hello everyone, I am trying to create rpm from openmpi source code but > getting following error. Could someone please point what I am doing wrong? > I have attached buildrpm.sh a

[OMPI users] openmpi-1.7.2 rpm

2013-08-08 Thread RoboBeans
Hello everyone, I am trying to create rpm from openmpi source code but getting following error. Could someone please point what I am doing wrong? I have attached buildrpm.sh and openmpi.spec for your reference. Thanks for your time! # *./buildrpm.sh openmpi-1.7.2.tar.gz* --> Found tarball: o