The issue is described in the ticket that I cited -- we used a newer version of 
the GNU Autotools to bootstrap the v1.5 series than the v1.4 series.  The RPM 
macros that ship with RHEL 5 and 6 (and I think SLES 11?) don't seem to be 
compatible with this version -- so I'm not quite sure what the Right solution 
is.

To be clear: the v1.4 series will continue to be unaffected by this issue 
because we pick a set of versions of the GNU autotools for a release series and 
stick with it for the life of the series.  It's only the v1.5 series that is 
problematic here.

One workaround, as indirectly implied by #2611, would be to edit 
/usr/lib/rpm/macros and edit the "%configure" macro to remove the 
--program-suffix and --program-prefix clauses from it.  Then build the Open MPI 
RPM, and then restore those clauses in /usr/lib/rpm/macros.  This is icky and 
not a good solution, but it'll work.



On Nov 2, 2010, at 3:48 PM, Gus Correa wrote:

> Hi Jim
> 
> Please, read what the OpenMPI folks say about the 1.5 release:
> 
> "PLEASE NOTE: According to Open MPI's release methodology, the v1.5 series is 
> a "feature release" series. This means that it has rich new features that we 
> think are tested and stable, but they are not as mature as the stable "bug 
> fix" v1.4 series. If you are looking for ultra stability, you should probably 
> be using the v1.4 series."
> 
> Given this, rather than going to the cutting edge,
> I continue to use 1.4.2 (but should upgrade to 1.4.3).
> 
> You can download the 1.4 series, and the older releases as well.
> Just look at the menu on the LHS of their web page under "Download":
> 
> http://www.open-mpi.org/software/ompi/v1.4/
> 
> The 1.4.2 "configure --help" still shows this (although I only use --prefix):
> 
> Program names:
>  --program-prefix=PREFIX            prepend PREFIX to installed program names
>  --program-suffix=SUFFIX            append SUFFIX to installed program names
>  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
> 
> 
> 
> I hope this helps,
> Gus Correa
> 
> 
> Jim Kusznir wrote:
>> Hi all:
>> I finally decided to rebuild openmpi on my cluster (last built when
>> 1.3.2 was current).  I have a ROCKS cluster, so I need to build RPMs
>> to install accross the cluster rebuilds.  Previously, I did so with
>> the following command:
>> rpmbuild -bb --define 'install_in_opt 1' --define 'install_modulefile
>> 1' --define 'modules_rpm_name environment-modules' --define
>> 'build_all_in_one_rpm 0' --define 'configure_options
>> --with-tm=/opt/torque' --define '_name openmpi-gcc' --define 'makeopts
>> -J8' openmpi-1.3.2.spec
>> With 1.5, this fails with:
>> configure: WARNING: *** This configure script does not support
>> --program-prefix, --program-suffix or --program-transform-name. Users
>> are recommended to instead use --prefix with a unique directory and
>> make symbolic links as desired for renaming.
>> configure: error: *** Cannot continue
>> I thought it might have been the --define '_name ...', so I removed
>> that, but got the same error.
>> For me, the _name is important, as I build for two different compilers
>> and need to have the resulting RPMs named accordingly (and have them
>> installed in their own /opt/opemmpi-gcc, etc directories).
>> Any suggestions how to proceed?  (the specific version of openmpi in
>> this case is the one available for download on Nov 2 from the main
>> website; obtained via the src.rpm download)
>> --Jim
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to