Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the MPAS-Tools repo.
  2. Install the mesh conversion tools (MPAS-Tools/grid_gen/mesh_conversion_tools)
  3. Ensure that your python build includes the netCDF4 library (http://unidata.github.io/netcdf4-python/)
  4. The script uses gpmetis so make sure this is installed
  5. 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