Versions Compared

Key

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

...

  • Metis/ParMetis: MOAB can optionally use the Metis or ParMetis library for partitioning mesh files in an offline form through MOAB’s mbpart tool. This may be useful to pre-partition the mesh apriori in offline remapping workflows, especially when using Metis KWAY graph partitioning algorithm (MPAS).

  • NetCDF: MOAB library optionally depends on the NetCDF(-C) libraries to compile the ExodusII reader/writer. If MPI is enabled, then the underlying HDF5 dependency for NetCDF should have parallel support i.e., serial HDF5 dependency will not pass internal configuration checks. If you built the NetCDF library for E3SM, consistently use that installation to enable NetCDF support in MOAB.

...

(Below use the same compiler, MPI and I/O libraries you have set up for E3SM. If you have multiple compiler-MPI options, you will need to build MOAB for each compiler family with corresponding TPL dependencies.)

  • Override default compilers with environment variables or configure-time options with the compilers you use for E3SM: CC, CXX, FC, F77

  • For the MPI installed for E3SM, use --with-mpi=$MPI_DIR

  • For the PNetCDF installed, use --with-pnetcdf=$PNETCDF_DIR

  • To simplify the process of building MOAB along with its dependenciesTPLs that are not used directly by E3SM, we currently offer a workflow to automatically pull the TPL sources and build it on the machine. These packages will be installed in the same location as the specified MOAB prefix (INSTALL_DIR).

...

  • Compile MOAB and supported tools: make -j4

  • Verify configuration and build setup: make check (Some checks won’t may not pass without HDF5. Ignore those).

...

  • Note: If running on machines that require a job submission, request an interactive node before you run make check

  • To install the compiled libraries, headers, and tools in the prefix directory, run: make install

If you experience any issues during the configuration or linking phases of MOAB, please email the mailing list: moab-dev@mcs.anl.gov , or contact Vijay M , Iulian Grindeanu or #coupler on Slack for additional help.

...