Your directions were right on except for on library. 

Here's were I got with this.

I rebuilt the lam rpms using the FC environment varialble prointing to the
Leahey Fortran compiler without problems. However when I went to install the
new  RPMS on the slave nodes they complained about the lack of libaio.so.1.

I used RPMFIND to get download the rpm and installed in in the master and
slave nodes. Now rebuilt lam rpms install fine on the master and slave
nodes.

I did have to use the switcher and opium commands as you thought.

But...when I try to run the test_cluster script. The lam test fails.

The message in the lamtest.err file is a follows: 

/usr/bin/ld: cannot find -laio

And lamtest.out contains:

--> MPI C bindings test:

TEST FAILED!
Commands: mpicc cpi.c -o lam-cpi && mpirun C lam-cpi && lamclean


MPICH fails as well, but at the moment, I'm not worried about that.

Suggestions?

Thanks

jz

John Ziriax Ph.D.
Naval Health Research Center Detachment (NHRC-DET), Microwave Department
8301 Navy Rd, Brooks AFB, TX 78235-5365
E-mail: [EMAIL PROTECTED],
http://www.brooks.af.mil/NHRC/nhrc.htm

 


-----Original Message-----
From: Jeff Squyres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 31, 2002 10:52 AM
To: Ziriax John M Civ NHRC/DET
Cc: Oscar-users (E-mail)
Subject: Re: [Oscar-users] Newbie question; Leahy Fortran compiler
integration


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: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to