MPAS | Mesh Connectivity (graph.info) file for the mesh

  1. https://mpas-dev.github.io/
  2. /MPAS-Model/releases
  3. MPAS-Atmosphere Users' Guide V4.0
  4. MPAS-Atmosphere Users' Guide V5.3
  5. MPAS-Atmosphere Users' Guide V6.3
  6. MPAS-Atmosphere Users' Guide V7.0
  7. MPAS-Atmosphere Users' Guide V8.2.0
  8. Joint WRF/MPAS Users Workshop 2024

MPAS-Atmosphere Meshes

Several resolutions of quasi-uniform and refined meshes are available for download. Each mesh download provides the following:

  • an SCVT mesh on the unit sphere
  • the mesh connectivity (graph.info) file for the mesh
  • partitionings of the mesh (e.g., graph.info.part.32) for various MPI task counts

Additionally, for quasi-uniform meshes, “static” files using the default datasets are available. The static file downloads provide single-precision static files in CDF-5/64-bit data format and mesh connectivity files.

Metis

METIS is a set of serial programs for partitioning graphs, partitioning finite element meshes, and producing fill reducing orderings for sparse matrices. The algorithms implemented in METIS are based on the multilevel recursive-bisection, multilevel k-way, and multi-constraint partitioning schemes developed in our lab.

Download: - http://glaros.dtc.umn.edu/gkhome/metis/metis/download

MPAS | install Metis

gpmetis

1
gpmetis -minconn -contig -niter=200 graph.info <num_core>

which num_core = 12 or ...

If generating graph.info for new mesh

1
2
3
4
5
6
def create_graph_file(self, graphFname):
""" Create a graph.info file for the current mesh """

# In the limited_area program, this function will always create
# a graph.info file for a regional mesh. Thus, the variables here
# are not preloaded and are being read from disk
1
2
3
def create_partiton_fname(self, name, mesh, **kwargs):
""" Generate the filename for the regional graph.info file"""
return name+'.graph.info'

References

  1. gpmetis error | Nov 12, 2024
    1. should probably look like 512 513 514 509 510 511
    2. Here's the part of the MPAS-Limited-Area tool that should be writing this connectivity info: MPAS-Limited-Area/limited_area/mesh.py at v2.1 · MPAS-Dev/MPAS-Limited-Area.
    3. We've merge changes to support NumPy 2.x into the MPAS-Limited-Area main branch through MPAS-Dev/MPAS-Limited-Area PR #47. Thanks again for finding this issue!

MPAS | Mesh Connectivity (graph.info) file for the mesh
https://waipangsze.github.io/2025/04/14/MPAS-Mesh-Connectivity-graph-info-file-for-the-mesh/
Author
wpsze
Posted on
April 14, 2025
Updated on
May 12, 2025
Licensed under