Jeff, Thanks for the great answer! I'll try it later this AM.
And a big thanks to the developers as well. I should have mentioned before how much I am looking forward to learning about and using Oscar. Doing it the "old-fashioned-way" makes you appreciate well crafted tools. 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 7:32 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, Ziriax John M Civ NHRC/DET wrote: > My question is this. The code we plan to run is written in Fortran-95. > Previously, on non-Oscar clusters, we have had to build LAM-MPI from > scratch refering it to the Lahey Fortran. I assume I'll have to do that > with Oscar's LAM as well. > > Do I need to rebuild LAM? If so, are there instructions for doing that? Unfortunately, you will likely need to rebuild LAM because of the differences in linker conventions between fortran compilers. The LAM OSCAR RPM was built with g77 0.5.26 (gcc 2.96 -- default RH 7.2). Random note: with OSCAR 1.4, it is possible to have both the g77 LAM and Lahey LAM installed using the "switcher" command, if you'd like. The instructions below assume that you don't, but if you do, let me know and I'll explain how. Fortunately, it's pretty easy to rebuild LAM with a different fortran compiler. - If you didn't already get an OSCAR distribution with SRPMS, download one from the OSCAR files page on SourceForge (the "only-srpms" package will probably be sufficient), and expand it over your current OSCAR tree. - Go into the packages/lam/SRPMS directory. - Set the environment variable FC to be whatever the name (or full path) of your compiler is. For example: # export FC=/path/to/lahey/bin/f95 - Then rebuild the LAM SRPM (you'll need to do this as root): # rpm --rebuild lam-oscar-6.5.6-usysv.7.src.rpm This will take a few minutes as LAM is totally recompiled. The resulting RPMs will be in /usr/src/redhat/RPMS/i586 -- there will be two: one for LAM proper, and one for its switcher module. - Now you need to uninstall the old LAM on all your client nodes and install the new one. I'd do this with the c3 tools. First copy the RPMs to ~oscartst (since that's on /home, it'll be available on all nodes), then uninstall the old RPMs, then install the new RPMs. So here's all the commands that you'll execute on the OSCAR head node (assuming your OSCAR tree is under ~): --> If you don't already have SRPMs # 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 [...lots and lots of output...] # cd /usr/src/redhat/RPMS/i586 # cp lam-oscar*rpm ~oscartst # cexec rpm -e lam-oscar lam-oscar-module # cexec rpm -ivh ~oscartst/lam-oscar*rpm (note that I used "lam-oscar*rpm", assuming that there's no other files matching that wildcard) I'm typing those from memory, so forgive me if they're not 100% correct. I'm about to do a test install myself, so I'll double check these and re-post if I got anything wrong. {+} 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
