LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Glen Otero (gotero_at_[hidden])
Date: 2005-03-31 14:41:57


On Mar 31, 2005, at 11:19 AM, Jeff Squyres wrote:

> On Mar 31, 2005, at 2:07 PM, Glen Otero wrote:
>
>>> Changing the prefix in an SRPM rebuild is unfortunately a sticky
>>> thing; the distro macros are usually setup to do their own prefix
>>> and no others. :-\
>>
>> I can understand (but not condone) this behavior when the %configure
>> macro is used, but in the older specfiles where good ol' ./configure
>> is used," --prefix=$RPM_BUILD_ROOT/opt/lam" doesn't work either.
>> Isn't that a little strange?
>
> No -- if you set the prefix to $RPM_BUILD_ROOT/opt/lam, then that is
> what the prefix will be. More specifically, LAM will think that it
> should be installed into /tmp/rpm-build-root/opt/lam (or whatever your
> RPM_BUILD_ROOT is).

Yep. That's what I was seeing. LAM was installed in the default
locales, but mpicc was looking for libs in /var/tmp...
>
> So you really want to have a prefix of /opt/lam, and use a DESTDIR
> kind of install (e.g., "make DESTDIR=$RPM_BUILD_ROOT install").

Roger that. Thanks!

Glen
>
>> Thanks for this suggestion. If I'm stuck with the default install,
>> what should $LAMHOME be set to?
>
> We actually recommend not setting LAMHOME. There are a few cases
> where it is necessary, but unless you really need it (and you probably
> don't), it isn't necessary to set it.
>
> --
> {+} Jeff Squyres
> {+} jsquyres_at_[hidden]
> {+} http://www.lam-mpi.org/
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
Glen Otero Ph.D.
Linux Prophet


  • text/enriched attachment: stored