compile BLACS lib using openmpi

Open discussion regarding features, bugs, issues, vendors, etc.

compile BLACS lib using openmpi

Postby goldeneye075 » Fri Jul 08, 2011 9:34 pm

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.
goldeneye075
 
Posts: 1
Joined: Fri Jul 08, 2011 9:26 pm

Re: compile BLACS lib using openmpi

Postby admin » Tue Aug 16, 2011 10:00 am

Hi,
Just download and run the scalapack installer at http://www.netlib.org/scalapack/
It should work fine.
Julie
admin
Site Admin
 
Posts: 486
Joined: Wed Dec 08, 2004 7:07 pm


Return to User Discussion

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 2 guests