MPAS-Dev / MPAS

Repository for private MPAS development prior to the MPAS v6.0 release.
Other
4 stars 0 forks source link

Moab instance for mpas_ocean #1456

Open iulian787 opened 6 years ago

iulian787 commented 6 years ago

As part of coupler modernization, (CMDV project), mpas mesh will be instanced using MOAB data structures, which will later help with tempestremap and online coupling

it is using data retrieved from blocks, with mpas_pool routines; currently it is tested for the case when there is one block per task (mesh partitioned in advance using gpmetis)

MOAB mesh is instanced when core_init is finished There are HAVE_MOAB guards for relevant code; MOAB needs to be built in advance, and MOAB_PATH needs to be defined as an environment variable for standalone build/run (same way PIO and PNETCDF, NETCDF env vars are defined)

tested on gfortran compiler