-
Notifications
You must be signed in to change notification settings - Fork 161
Description
I'm getting an error compiling MOM6 (make NETCDF=3 REPRO=1 libfms.a -j). The error is Package mpich2 was not found in the pkg-config search path.
Perhaps you should add the directory containing mpich2.pc' to the PKG_CONFIG_PATH environment variable No package 'mpich2' found Package mpich2 was not found in the pkg-config search path. Perhaps you should add the directory containing
mpich2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mpich2' found
Package mpich2-f90 was not found in the pkg-config search path.
Perhaps you should add the directory containing `mpich2-f90.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mpich2-f90' found
gfortran -Duse_libMPI -Duse_netCDF -Duse_netCDF -DHAVE_SCHED_GETAFFINITY -Duse_LARGEFILE -I/usr/include -fcray-pointer -fdefault-double-8 -fdefault-real-8 -Waliasing -ffree-line-length-none -fno-range-check -O2 -fbounds-check -c -I../../src/FMS/include -I../../src/FMS/mpp/include ../../src/FMS/mpp/mpp_data.F90
../../src/FMS/mpp/mpp_data.F90:40:0: fatal error: mpif.h: No such file or directory
#include <mpif.h>
The template I use is linux-gnu.mk. What can be done about this problem? Should I use a different template?