Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

MPAS Version 5.2

Compare
Choose a tag to compare
@mgduda mgduda released this 01 Aug 21:53
· 2868 commits to develop since this release

This minor release of MPAS corrects issues when using the PIO 2.x library versions. With the changes in this release, it should be possible to use the latest PIO release from https://github.com/NCAR/ParallelIO/.

When compiling MPAS with a PIO 2.x library version, the USE_PIO2=true option should be added to the MPAS build command.

The PIO 2.x library versions support integrated performance timing with the GPTL library; however, the MPAS infrastructure does not currently provide calls to initialize this library before it is used in PIO. Therefore, it is recommended to add -DPIO_ENABLE_TIMING=OFF to the options in the cmake command used to build PIO.

The following steps may be used as a rough guide to obtaining and installing the latest PIO code:

git clone [email protected]:NCAR/ParallelIO.git
cd ParallelIO
export PIOSRC=`pwd`
cd ..
mkdir build
cd build
export CC=mpicc
export FC=mpif90
cmake -DNetCDF_C_PATH=$NETCDF -DNetCDF_Fortran_PATH=$NETCDF -DPnetCDF_PATH=$PNETCDF -DCMAKE_INSTALL_PREFIX=/somewhere/writable/pio2 -DPIO_ENABLE_TIMING=OFF $PIOSRC
make
make install

In the above steps, /somewhere/writable/pio2 should be changed to the installation path for PIO, and after successfully installing, the PIO environment variable should be set to this path as well.