I am trying to compile BLACS lib using openmpi
I was able to install the BLAS and LAPACK lib, but got into trouble when
trying to install BLACS;
accordingly I copied the
cp BMAKES/Bmake.MPI-LINUX ./Bmake.inc
vi Bmake.inci (need to edit .....see below)
I edited the Bmake.inci file
BTOPdir = /usr/local/BLACS
MPIdir = /usr/lib64/mpi/gcc/openmpi
MPIINCdir = $(MPIdir)/include
INTFACE = -Df77IsF2C
F77 = /usr/lib64/mpi/gcc/openmpi/bin/mpif77
F77FLAGS = $(F77NO_OPTFLAGS) -O
F77LOADER = $(F77)
CC = /usr/lib64/mpi/gcc/openmpi/bin/mpicc
CCFLAGS = -O3
CCLOADER = $(CC)
when I try to run
make mpi ; it gives me this error;
( cd SRC/MPI ; make )
make: Entering directory `/usr/local/BLACS/SRC/MPI'
( cd INTERNAL ; make -f ../Makefile I_int "dlvl=/usr/local/BLACS" )
make: Entering directory `/usr/local/BLACS/SRC/MPI/INTERNAL'
make: *** No rule to make target `/mpif.h', needed by `mpif.h'. Stop.
make: Leaving directory `/usr/local/BLACS/SRC/MPI/INTERNAL'
make: *** [INTERN] Error 2
make: Leaving directory `/usr/local/BLACS/SRC/MPI'
make: *** [MPI] Error 2
I would apriciate if anyone could show me what need to be done to overcome