Skip to content

mgridgen: Multilevel Serial & Parallel Coarse Grid Construction Library

Overview of package

Package: mgridgen
Description: Multilevel Serial & Parallel Coarse Grid Construction Library
For more information: http://glaros.dtc.umn.edu/gkhome/mgridgen/overview
Categories: SoftwareDevelopment
NumericalMethods
License: Unknown

General Usage

MGridGen is a parallel library written entirely in ANSI C that implements algorithms for obtaining a sequence of successive coarse grids that are well-suited for geometric multigrid methods. The quality of the elements of the coarse grids is optimized using a multilevel framework.

Both the serial (mgridgen) and MPI/parallel version (parmgridgen) binaries have been added to your PATH.

The following environmental variables have been defined:

  • $MGridGen_ROOT has been set to the root of the mgridgen installation
  • $MGridGen_LIBDIR points to the directory containing the libraries
  • $MGridGen_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I$MGridGen_INCDIR

and the following flags to your link command (e.g. LDFLAGS in your Makefile):

  • -L$MGridGen_LIBDIR -Wl,-rpath,$MGridGen_LIBDIR

Available versions by cluster

This section lists the available versions of the package mgridgenon the UMD HPC clusters.

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
1.0 1.0 icelake, x86_64, zen, zen2 Yes