Dear all
I am trying to run this make file, but I am having this error "catastrophic error: cannot open source file "mpi.h"
#include <mpi.h>. I am sure I have a problem with the make file, but knowledge in linux is low. Thanks in advance for your help
export HDF5_INC_DIR=$/usr/local/hdf5/include
export HDF5_LIB_DIR=$/usr/local/hdf5/lib
export NETCDF_INC_DIR=$/usr/local/netcdf4/include
export NETCDF_LIB_DIR=$/usr/local/netcdf4/lib /usr/local/netcdf4-fortran/lib
export $MPI_INC_DIR=$/opt/intel/impi/5.1.1.109/bin64
NETCDF_INCDIR="-I $NETCDF_INC_DIR"
NETCDF_LIBDIR="-L $NETCDF_LIB_DIR"
NETCDF_LIB="-lnetcdff -lnetcdf"
MPI_INCDIR="-I $MPI_INC_DIR"
MPI_LIBDIR=""
MPI_LIB=""
HDF5_INCDIR="-I $HDF5_INC_DIR"
HDF5_LIBDIR="-L $HDF5_LIB_DIR"
HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz"
################################################################################
################### Projet xios - xmlioserver #####################
################################################################################
%CCOMPILER /opt/intel/bin/icc
%FCOMPILER /opt/intel/bin/ifort
%LINKER /opt/intel/bin/ifort
%BASE_CFLAGS -ansi -w
%PROD_CFLAGS -O3 -DBOOST_DISABLE_ASSERTS
%DEV_CFLAGS -g -O2
%DEBUG_CFLAGS -g
%BASE_FFLAGS -D__NONE__
%PROD_FFLAGS -O3
%DEV_FFLAGS -g -O2
%DEBUG_FFLAGS -g
%BASE_INC -D__NONE__
%BASE_LD -lstdc++
%CPP opt/intel/bin/icc -EP
%FPP cpp -P
%MAKE make
Kind regards,
Estanislao