[MITgcm-support] parallelizing tutorial examples

Jean-Michel Campin jmc at ocean.mit.edu
Thu Apr 28 13:36:48 EDT 2011


Hi Francis,

You may also try to use "testreport",
with the most up-to-date doc in section 4.2 there:
http://mitgcm.org/public/devel_HOWTO/devel_HOWTO_onepage/

Cheers,
Jean-Michel

On Thu, Apr 28, 2011 at 10:22:37AM -0700, Neil Swart wrote:
> Hi Francis,
> I've had this happen a few times: Basically, you need to make sure that the grid of your domain (set in SIZE.h) matches the input data in topog.bin (i.e. both have the same number of grid points).
> 
> Typically in the verification experiments the size of topog.bin is set up in a matlab script called gendata.m in the input directory (you can set nx and ny).
> 
> In SIZE.h, your domain size Nx  = sNx*nSx*nPx and Ny  = sNy*nSy*nPy 
> 
> If you have changed the number of processors, nPy or nPx, then your domain size will have changed, and might not match with topog.bin. So you need to make sure these are consistent.
> 
> Hope that helps,
> Neil
> 
> 
> -----------------------------------
> Neil Swart
> Climate Modelling Group
> University of Victoria
> Victoria, BC, Canada
> 
> http://climate.uvic.ca/
> 
> On 2011-04-28, at 10:05 AM, Francis Poulin wrote:
> 
> > Hello,
> > 
> > I've just started using the MITgcm and I have a rather simple questions.  I've been able to run many of the tutorials in serial and they work beautifully.  To run them in parallel requires some alterations and I'm hoping to find a list of what needs to be done.  What I've figured out so far is:
> > 
> > 1) Need to change the OPTFILE.  I think I've done this correctly since it compiles ok.
> > 
> > 2) Need to change the SIZE.h file (I actually used the SIZE.h_mpi that I found in exp2).
> > 
> > 3) When I ran it there was a problem with topog.bin.  I presume this means that I need to recreate the data file in a way that is consistent with MPI?
> > 
> > I've looked through the manual and haven't found anything that lists all the necessary changes.  I thought I'd ask just in case someone has done this already.
> > 
> > Thanks in advance for your time,
> > Francis  
> > 
> > 
> > ------------------
> > Francis Poulin                    
> > Assistant Professor            
> > Department of Applied Mathematics
> > University of Waterloo
> > 
> > email:           fpoulin at uwaterloo.ca
> > Web:            http://www.math.uwaterloo.ca/~fpoulin/
> > Telephone:  +1 519 888 4567 x32637
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > MITgcm-support mailing list
> > MITgcm-support at mitgcm.org
> > http://mitgcm.org/mailman/listinfo/mitgcm-support
> 

> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list