[MITgcm-devel] [Fwd: Re: mpi on dolphin -- corrected]

Chris Hill cnh at mit.edu
Sun Mar 14 13:35:31 EST 2004


Hi Ed,

 I didn't see any mails from you yesterday - so I'll contimue to ignore them
I guess!
 
 There is a section on running under MPI in the software architecture ->
"MITgcm execution under WRAPPER" part of the manual. 

 http://mitgcm.org/sealion/online_documents/node160.html

 that is the place to update MPI related details description.

 In the revised manual we should also point to those details from the
Getting Started section.


Chris 

> -----Original Message-----
> From: mitgcm-devel-bounces at mitgcm.org 
> [mailto:mitgcm-devel-bounces at mitgcm.org] On Behalf Of Ed Hill
> Sent: Sunday, March 14, 2004 12:17 PM
> To: MITgcm-devel
> Subject: [MITgcm-devel] [Fwd: Re: mpi on dolphin -- corrected]
> 
> 
> Hi Chris,
> 
> Please ignore the email I sent yesterday.  After a few
> (silly) mistakes, I managed to get both mpich and MITgcm running on 
> Tom Haine's Opteron cluster.  Below are my notes.
> 
> Would it be OK to include mpich/MITgcm notes in the MITgcm manual 
> (maybe as an appendix?) or is it more appropriate content for the 
> "developer's HOWTO"?
> 
> Ed
> 
> 
> -----Forwarded Message-----
> > From: Ed Hill <ed at eh3.com>
> > To: Tom Haine <Thomas.Haine at jhu.edu>
> > Subject: Re: mpi on dolphin -- corrected
> > Date: Sun, 14 Mar 2004 00:46:45 -0500
> > 
> > 
> > Hi Tom,
> > 
> > I was too hasty when I sent the earlier email.  The problem that we 
> > both ran into was the missing genmake2 "-mpi" option.  Its needed 
> > since it defines ALLOW_USE_MPI and ALWAYS_USE_MPI which were 
> > previously defined within CPP_EEOPTIONS.h.
> > 
> > In any case, the commands used were:
> > 
> > 1) get/install mpich:
> > 
> >   wget http://www-unix.mcs.anl.gov/mpi/mpich/downloads/mpich.tar.gz
> >   tar -xzf mpich.tar.gz 
> >   cd mpich-1.2.5.2/
> >   export RSHCOMMAND=/usr/bin/ssh
> >   ./configure -prefix=/home/ehill/mpich
> >   make
> >   make install
> >   cp /usr/local/mpich-1.2.5/share/machines.LINUX  \
> >     /home/ehill/mpich/share/machines.LINUX
> > 
> > 2) get and build MITgcm:
> > 
> >   export CVSROOT=':pserver:cvsanon at mitgcm.org:/u/gcmpack'
> >   cvs login 
> >     <== "cvsanon"
> >   cvs co MITgcm
> >   cd MITgcm/verification/global_ocean.cs32x15/build
> >     *** NOTE: PLEASE SEE ATTACHED OPTFILE "linux_amd64_g77+mpi" ***
> >   cp ~/linux_amd64_g77+mpi .
> >   mv ../code/SIZE.h_mpi ../code/SIZE.h
> >   ../../../tools/genmake2 -mpi -ieee -of=./linux_amd64_g77+mpi  \
> >     -mods=../code
> >   make depend
> >   make
> > 
> > 3) run MITgcm:
> > 
> >   MITgcm/verification/global_ocean.cs32x15/input
> >   ln -s ../build/mitgcmuv .
> >   /home/ehill/mpich/bin/mpirun -nolocal -np 2 ./mitgcmuv
> > 
> > 
> > and you can see the results that were produced in:
> > 
> >   /home/ehill/MITgcm/verification/global_ocean.cs32x15/input
> > 
> > 
> > I hope this example demonstrates all the steps.  Please send me an 
> > email if you have any more questions about MITgcm and/or MPI.
> > 
> > Ed
> --
> Edward H. Hill III, PhD
> office:  MIT Dept. of EAPS;  Room 54-1424;  77 Massachusetts Ave.
>             Cambridge, MA 02139-4307
> email:   eh3 at mit.edu,  ed at eh3.com
> URL:     http://web.mit.edu/eh3/
> phone:   617-253-0098
> fax:     617-253-4464
> 




More information about the MITgcm-devel mailing list