ERROR in build MPAS

sunweihao

New member
Dear scientists,
I got an error when I build MPAS atmosphere model.

When I input: make ifort CORE=init_atmosphere

Here is error message:

make[1]: Entering directory `/public1/home/lym/swh/MPAS-Model'
Checking for a usable PIO library...
************ ERROR ************
Failed to compile a PIO test program
Please ensure the PIO environment variable is set to the PIO installation directory
************ ERROR ************
make[1]: *** [pio_test] Error 1
make[1]: Leaving directory `/public1/home/lym/swh/MPAS-Model'
make: *** [ifort] Error 2

the PIO I used is version 1.7.1 and version of MPAS is v7.3. I wonder if I have error in install pio, and I check the $PIO I have set to the path where it installed.
When I input: ls ${PIO}/lib
1656162814650.png

When I input: ls ${PIO}/include
1656162862239.png

it seems the pio has been correctly installed, can someone help me? Thanks!
 

Whatheway

Member
Dear scientists,
I got an error when I build MPAS atmosphere model.

When I input: make ifort CORE=init_atmosphere

Here is error message:

make[1]: Entering directory `/public1/home/lym/swh/MPAS-Model'
Checking for a usable PIO library...
************ ERROR ************
Failed to compile a PIO test program
Please ensure the PIO environment variable is set to the PIO installation directory
************ ERROR ************
make[1]: *** [pio_test] Error 1
make[1]: Leaving directory `/public1/home/lym/swh/MPAS-Model'
make: *** [ifort] Error 2

the PIO I used is version 1.7.1 and version of MPAS is v7.3. I wonder if I have error in install pio, and I check the $PIO I have set to the path where it installed.
When I input: ls ${PIO}/lib
View attachment 6737

When I input: ls ${PIO}/include
View attachment 6739

it seems the pio has been correctly installed, can someone help me? Thanks!
Did you get it to work?
 

mgduda

Administrator
Staff member
As Whatheway said, it may be worth trying the latest PIO release (2.5.7 as of the time of writing this post). I know that some of our documentation mentions using PIO 1.7.1, but we should probably update that.

In case you're familiar with switching branches in a Git repository, you can try compiling from the 'develop' branch in the MPAS-Model repository. The 'develop' branch contains better logic for automatically detecting the correct PIO library version, and it also includes better diagnostic messages when the PIO library detection fails. This might help in debugging the PIO issue, but once that's resolved, I'd recommend switching back to the v7.3 release code for any science runs with MPAS-Atmosphere.
 
Top