Hello. I'm trying to compile MPAS 7.0 Atmosphere. For starter, I'm using this installation script, https://www2.mmm.ucar.edu/people/duda/files/mpas/sources/iolib_installation.sh . However instead of using netcdf-c-4.7.0 in the script, I'm using netcdf-c-4.7.4. This is due to problem with curl. Please refer to https://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg14665.html , as it says it's a bug in configure file in netcdf-c-4.7.0. Attached is the output of make gfortran CORE=atmosphere. The particular error line I believe would be
For reference, I'm using Ubuntu 18.04 WSL2 under Windows 10. The gfortran details are gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
Code:
make[5]: Entering directory '/home/yunus/MPAS-Model-7.0/src/external/ezxml'
mpicc -O3 -m64 -D_MPI -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -c ezxml.c
gfortran: error: pio1.f90: No such file or directory
gfortran: error: pio1.f90: No such file or directory
make[5]: Leaving directory '/home/yunus/MPAS-Model-7.0/src/external/ezxml'
For reference, I'm using Ubuntu 18.04 WSL2 under Windows 10. The gfortran details are gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)