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)
make mpi
I edited the Bmake.inci file
BTOPdir = /usr/local/BLACS
MPIdir = /usr/lib64/mpi/gcc/openmpi
MPILIBdir =
MPIINCdir = $(MPIdir)/include
MPILIB =
SYSINC =
INTFACE = -Df77IsF2C
SENDIS =
TRANSCOMM =-DUseMpi2
F77 = /usr/lib64/mpi/gcc/openmpi/bin/mpif77
F77NO_OPTFLAGS =
F77FLAGS = $(F77NO_OPTFLAGS) -O
F77LOADER = $(F77)
F77LOADFLAGS =
CC = /usr/lib64/mpi/gcc/openmpi/bin/mpicc
CCFLAGS = -O3
CCLOADER = $(CC)
CCLOADFLAGS =
when I try to run
make mpi ; it gives me this error;
( cd SRC/MPI ; make )
make[1]: Entering directory `/usr/local/BLACS/SRC/MPI'
( cd INTERNAL ; make -f ../Makefile I_int "dlvl=/usr/local/BLACS" )
make[2]: Entering directory `/usr/local/BLACS/SRC/MPI/INTERNAL'
make[2]: *** No rule to make target `/mpif.h', needed by `mpif.h'. Stop.
make[2]: Leaving directory `/usr/local/BLACS/SRC/MPI/INTERNAL'
make[1]: *** [INTERN] Error 2
make[1]: 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
the problem.
Thanks.

