On Thu, 31 Oct 2002, Jeff Squyres wrote:

>   # cd ~
>   # wget http://unc.dl.sourceforge.net/sourceforge/oscar/oscar-only-srpms-1.4.tar.gz
>   # tar zxf oscar-only-srpms-1.4.tar.gz
>
>   --> Start here if you already have the SRPMs
>   # cd ~/oscar-1.4/packages/lam/SRPMS
>   # export FC=/path/to/your/f95
>   # rpm --rebuild lam-oscar-6.5.6-usysv.7.src.rpm

Doing this will build for your default architecture (which, in my test was
i386).  If you want to build for a more optimized architecture, use the
--target option to the rpm command, and select i586 or i686.

>   [...lots and lots of output...]
>   # cd /usr/src/redhat/RPMS/i586

The RPMs will be in the output directory of the target that you selected
above.  So ".../RPMS/i386" or ".../RPMS/i586", etc.

>   # cp lam-oscar*rpm ~oscartst
>   # cexec rpm -e lam-oscar lam-oscar-module
>   # cexec rpm -ivh ~oscartst/lam-oscar*rpm

You may need to supply the path to cexec -- /opt/c3-c/cexec.

You will also need to run these two rpm commands on the head node itself
(i.e., without the cexec).

Finally, if LAM was set as your default MPI, you'll probably need to reset
it, because when you rpm -e the old LAM RPMs, they should be smart enough
to remove LAM as the default.  So run these commands:

  # switcher mpi = lam-6.5.6 --system --force
  # /opt/opium/bin/sync_users --force

This will set the default and then propogate it out to all the nodes -- so
do it *after* all RPM actions are finished.

-----

Typing all that from memory, I guess I was close, but not quite right.
Sorry for the confusion.

{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/





-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to