Run GEOS-5 on NCCS Haswells: Difference between revisions

mNo edit summary
mNo edit summary
Line 84: Line 84:
However, if you want to use all the cores, you'll need to change the layout.
However, if you want to use all the cores, you'll need to change the layout.


=== Edits to AGCM.rc ===
=== AGCM ===
 
==== Edits to AGCM.rc ====


For the AGCM, you will want to edit the <tt>NX:</tt> and <tt>NY:</tt> entries such that they will fill the nodes and respect the cubed-sphere dynamics requirement that NY be divisible by 6. Some sample geometries that respect this are:
For the AGCM, you will want to edit the <tt>NX:</tt> and <tt>NY:</tt> entries such that they will fill the nodes and respect the cubed-sphere dynamics requirement that NY be divisible by 6. Some sample geometries that respect this are:
Line 98: Line 100:
| c90 || ½° || 14 || 24 || 336
| c90 || ½° || 14 || 24 || 336
|-
|-
| c90 || ¼° || 14 || 48 || 672
| c180 || ¼° || 14 || 48 || 672
|}
|}


Note that in future unstable tags--Heracles-1_0_UNSTABLE, say--changes will soon be in place in MAPL that will allow much more flexible core placement. When these changes are in, all geometries that respect the cubed-sphere restriction would work.
Note that in future unstable tags--Heracles-1_0_UNSTABLE, say--changes will soon be in place in MAPL that will allow much more flexible core placement. When these changes are in, all geometries that respect the cubed-sphere restriction would work.


=== Edits to gcm_run.j ===
==== Edits to gcm_run.j ====
 
To use the Haswells, you'll need to change a few of the #SBATCH flags at the top of the script. First, make sure that the number of tasks you are requesting matches what ever you've used in AGCM.rc. For example, if you are running 7x12, be sure to use:
 
#SBATCH --ntasks=84
 
Now, to submit to the Haswells, you need to add:
 
#SBATCH --partitions=sp3
#SBATCH --constraint=hasw