[MITgcm-devel] seeking algo for globally unique per-tile file names

Chris Hill cnh at mit.edu
Fri Jan 30 22:01:28 EST 2004


Ed,

 The array W2_myTileList (W2_EXCH2_PARAMS.h) has for each bi=1:nsx,bj=1 a
unique global tile number

Chris 

> -----Original Message-----
> From: mitgcm-devel-bounces at mitgcm.org 
> [mailto:mitgcm-devel-bounces at mitgcm.org] On Behalf Of Ed Hill
> Sent: Friday, January 30, 2004 9:44 PM
> To: MITgcm-devel
> Subject: [MITgcm-devel] seeking algo for globally unique 
> per-tile file names
> 
> 
> Hi Andy & Chris,
> 
> I'm trying to come up with a simple method for generating 
> globally unique per-tile file names for mnc.  I understand 
> that the "iG,jG"
> method as used in mdsio is not valid for W2/exch2.  And I've 
> noticed the comment in pkg/exch2/W2_EXCH2_PARAMS.h that says:
> 
> C     W2 tile id variables (tile ids are no longer a function of
> C     process and subgrid indicies).
> 
> But in spite of that comment, could we somehow determine 
> global tile indices using only the three variables: [myThid, 
> bi, bj]?  Perhaps we could add a common block with a 
> myTileIDs(bi,bj) variable that gets initialized by the 
> wrapper at thread start-up?
> 
> Or is there a better way?
> 
> 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