Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

PIO Compile Errors

F-Colby-UML

New member
Trying to install MPAS on Ubuntu 24 system, one which runs WRF without trouble.
Used the library installation script from Michael Duda. All the libraries installed correctly except PIO.
The git clone process worked fine and the cmake command almost worked. The errors at the end appeared to be related to examples.
I went ahead with make and got the same errors.
Hoping that these errors weren't functional, I tried compiling init-atmosphere but the command reported that no PIO library was found.
I have attached the output from cmake, make and the environment variables.
Am hoping someone else has figured this out.
 

Attachments

  • cmake.txt
    11 KB · Views: 1
  • environ.txt
    3.9 KB · Views: 1
  • make.txt
    29.2 KB · Views: 1
Do you have a reason to use PIO? As of v8.0, PIO is an optional dependency for MPAS-A (and init_atmosphere core).

MPAS compilation will default to the SMIOL library if the PIO variable is not in the environment. Try removing the PIO variable from your environment and re-building the init_atmosphere core.
  • Example of removing PIO variable: unset PIO; make ${YOUR_TARGET} CORE=init_atmosphere


If you want to fix the PIO build issue, it looks like you need to install SZlib and ensure your HDF5, NetCDF, and other software link and use it correctly. You may want to review the PIO: CMake Install Walk-through
 
Top