...
- Download the MPAS-Tools repo.
- Install the mesh conversion tools (MPAS-Tools/grid_gen/mesh_conversion_tools)
- Ensure that your python build includes the netCDF4 library (http://unidata.github.io/netcdf4-python/)
- The script uses gpmetis so make sure this is installed
- Run the sea ice graph generation script (MPAS-Tools/grid_gen/seaice_grid_tools)
usage: gen_seaice_mesh_partition.py
...
mpas_culler_location: location of the compiled MPAS cell culler (MpasCellCuller.x)
...
[-h] -m MESHFILENAME -n NPROCS
[-c MPASCULLERLOCATION] [-o OUTPUTPREFIX]
[-p] [-g METIS]
Create sea ice grid partition
optional arguments:
-h, --help show this help message and exit
-m MESHFILENAME, --mesh MESHFILENAME
MPAS mesh file
-n NPROCS, --nprocs NPROCS
number of processors
-c MPASCULLERLOCATION, --culler MPASCULLERLOCATION
location of cell culler
-o OUTPUTPREFIX, --outprefix OUTPUTPREFIX
output graph file prefic
-p, --plotting create diagnostic plotting file of partitions
-g METIS, --metis METIS
name of metis utility