<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Thanks J-M. I did not know i needed to include the exch2 package. <div><br></div><div>best</div><div>dan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 8, 2022 at 3:46 PM Jean-Michel Campin <<a href="mailto:jmc@mit.edu">jmc@mit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This email was sent to you by someone outside the University.<br>
You should only click on links or attachments if you are certain that the email is genuine and the content is safe.<br>
<br>
Hi Dan,<br>
<br>
To use blank-tiles, you need:<br>
1) to compile pkg/exch2 (will be used if compiled, no run-time switch)<br>
2) provide a list of blank-tile in "data.exch2".<br>
the example I am aware of arei, in verification/:<br>
adjustment.cs-32x32x1/input/data.exch2.mpi (cs-grid, 4 blank-tiles)<br>
global_ocean.90x40x15/input/data.exch2.mpi (lat-lon grid, 1 blank-tile)<br>
these 2 are intented to be copied to "data.exch2"<br>
And note that you will have to set "dimsFacets" to the size of the full domain<br>
(including the blank-tiles) like in the later example: dimsFacets = 90, 40,<br>
3) to find the list of empty tiles to specify, the simplest is to run 1 time-step<br>
with an executable compiled without blank-tile (but same sNx,sNy) and to surch for<br>
"Empty tile: #" in all STDOUT ; those numbers will be the ones to list in "blankList".<br>
<br>
Cheers,<br>
Jean-Michel<br>
<br>
On Tue, Nov 08, 2022 at 03:15:33PM +0000, Daniel Goldberg wrote:<br>
> Hello All<br>
><br>
> Can I ask about how to use the blankList parameter in data.exch2?<br>
><br>
> Can it be used for cartesian as well as cubed sphere grids? If so, Im unsure of how exactly to use it without examples shown.<br>
><br>
> the docs on the CS grid say:<br>
><br>
><br>
> * The tiles omitted are specified in the file blanklist.txt by their tile number in the topology, separated by a newline.<br>
> * The total number of tiles in the topology minus those listed in blanklist.txt must equal nSx*nPx. (which i assume extends to the y direction -- but possibly not.)<br>
><br>
> So, if i wanted to have a grid where nSx=nSy=1, and the grid structure<br>
><br>
> nPx = 2<br>
> nPy = 4<br>
><br>
> then i believe with a cartesian grid, the tile numbering would be<br>
><br>
> 3 7<br>
> 2 6<br>
> 1 5<br>
> 0 4<br>
><br>
> where left = west, up = north, and i wanted to make tiles 2 and 3 blank. Would i set<br>
><br>
> blanklist = 2,3<br>
><br>
> and then change nPy = 3? And would i run with e.g. "mpirun -n 6" ? And, importantly, could input files still be defined as arrays of dimensions (sNx*2, sNy*4), i.e. of the same size as if i were not blanking tiles?<br>
><br>
> Many thanks!!!<br>
><br>
> Dan<br>
><br>
><br>
><br>
> --<br>
> Daniel Goldberg, PhD (he/him)<br>
> Reader in Glaciology<br>
> School of Geosciences, University of Edinburgh<br>
> Geography Building, Drummond Street, Edinburgh EH8 9XP<br>
><br>
><br>
> em: <a href="mailto:dan.goldberg@ed.ac.uk" target="_blank">dan.goldberg@ed.ac.uk</a><mailto:<a href="mailto:dan.goldberg@ed.ac.uk" target="_blank">dan.goldberg@ed.ac.uk</a>><br>
> web: <a href="https://www.geos.ed.ac.uk/homes/dgoldber" rel="noreferrer" target="_blank">https://www.geos.ed.ac.uk/homes/dgoldber</a><br>
> The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th??? ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.<br>
<br>
> _______________________________________________<br>
> MITgcm-support mailing list<br>
> <a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
> <a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
<br>
_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
</blockquote></div>