Hi,
On Sun, Nov 14, 2004 at 08:24:09AM -0500, Jeff Squyres wrote:
> >The point seems to be that the LAM people have released a src rpm
> >which is somehow more intented for developers.
>
> That's probably fairly accurate. We didn't do extensive testing with
> our src RPM -- we know that it builds for us, but our experience has
> been that not many people actively rebuild the src RPM since building
> the tarball is [literally] just as easy (if not easier).
Indeed. But I like to install the software on every node locally
instead of e.g. sharing it over NFS. Having a RPM to install is
very convinient then. And I need to build from source to make lam
use our fortran compiler instead of g77.
>
> Don't put too much stock in this. The $Id$ lines are a remnant from
> when we still used CVS -- these ones somehow escaped removal when we
> switched to Subversion almost a year ago. :-)
>
> BTW, "caos" refers to the cAos Linux project (we make slightly
> different RPMs for them): http://www.caosity.org/projects/caos
Okay... :)
> >So what I did is to take the 7.0.6 specfile and adjust it for 7.1.1.
> >Works like a charm. (Actually, not really; statically linked MPI
> >programs do not run. But I guess this has nothing to do with the topic
> >of this mail. If anyone disagrees please tell me.)
>
> What changes did you have to make?
Unfortunately my build machine crashed lately (or to be more precise,
I screwed it up) and I did a reinstall without saving the spec file.
However, my notes about the build process are the following; this
should be clear enough:
export FC=ifort
export FFLAGS="-tpp6 -xK -O2"
export CFLAGS="-O2 -g -march=athlon-xp -fmessage-length=0"
export CXXFLAGS=$CFLAGS
cd /usr/src/packages/SPECS
vi lam-7.1.1.spec
# edit release
# change split at top to 0, rpi to tcp
# replace gcc-g77 by intel-ifort8-whatever
# cf 'rpm -q --provides -p intel-ifort8-8.1-019.i386.rpm'
rpmbuild -ba lam-7.1.1.spec
I wanted to reproduce the build but then saw that you have released a
new src rpm with increased verion. Dont know what you changed there and
whether my 'recipe' is still applicable.
Dominik.
--
|