Skip to content

Configuration on CENTOS7.8 linux cluster with ifort and openmpi #482

@RF-1123

Description

@RF-1123

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions