I'm running into some errors compiling MPAS-A:
> make gfortran CORE=init_atmosphere USE_PIO2=true OPENMP=false
. . .
/usr/lib/openmpi/lib/libmpi_mpifh.so: undefined reference to `mpi_fortran_in_place__'
/usr/lib/openmpi/lib/libmpi_mpifh.so: undefined reference to `MPI_Win_f2c'
/usr/lib/openmpi/lib/libmpi_mpifh.so: undefined reference to `mpi_fortran_unweighted'
. . .
Anyone come across this or have suggestions about fixing it?
The openmpi library throwing this error was preinstalled on my system (an Azure Data Science VM running Ubuntu). Should it even be going here since it was compiled with 'OPENMP=false' and I installed mpich? I installed mpich and other required libraries using https://www2.mmm.ucar.edu/people/duda/files/mpas/sources/iolib_installation.sh. Also, I placed the iolib libraries, including mpich, first in all the path env variables (PATH, LIBRARY_PATH, LD_LIBRARY_PATH) which probably isn't necessary but I was running out of ideas.
> make gfortran CORE=init_atmosphere USE_PIO2=true OPENMP=false
. . .
/usr/lib/openmpi/lib/libmpi_mpifh.so: undefined reference to `mpi_fortran_in_place__'
/usr/lib/openmpi/lib/libmpi_mpifh.so: undefined reference to `MPI_Win_f2c'
/usr/lib/openmpi/lib/libmpi_mpifh.so: undefined reference to `mpi_fortran_unweighted'
. . .
Anyone come across this or have suggestions about fixing it?
The openmpi library throwing this error was preinstalled on my system (an Azure Data Science VM running Ubuntu). Should it even be going here since it was compiled with 'OPENMP=false' and I installed mpich? I installed mpich and other required libraries using https://www2.mmm.ucar.edu/people/duda/files/mpas/sources/iolib_installation.sh. Also, I placed the iolib libraries, including mpich, first in all the path env variables (PATH, LIBRARY_PATH, LD_LIBRARY_PATH) which probably isn't necessary but I was running out of ideas.