Dear Mr. P. Blaha,<br>
Thanks a lot for your answer. I dont have much
experience with scalapack, so that I compiled the scalapack package in
standard way as you can see below in SLmake.inc and I got as output
only the libscalapack.a library. Please could you to explain to me
if I need special setup to compile scalapack?<br>
<br>
------------------------- begin of SLmake.inc ------------------------------
<div id="mb_2">----------------------<br>############################################################################<br>#<br># Program: ScaLAPACK<br>
#<br># Module: SLmake.inc<br>#<br># Purpose: Top-level Definitions<br>#<br># Creation date: February 15, 2000<br>#<br># Modified:<br>#<br># Send bug reports, comments or suggestions to <a href="mailto:scalapack@cs.utk.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">scalapack@cs.utk.edu</a><br>
#<br>############################################################################<br>#<br>SHELL = /bin/sh<br>#<br># The complete path to the top level of ScaLAPACK directory, usually<br># $(HOME)/SCALAPACK<br>#<br>
home = $(HOME)/scalapack-1.8.0<br>#<br># The platform identifier to suffix to the end of library names<br>#<br>PLAT = LINUX<br>#<br># BLACS setup. All version need the debug level (0 or 1),<br># and the directory where the BLACS libraries are<br>
#<br>BLACSDBGLVL = 0<br>BLACSdir = $(HOME)/BLACS/LIB<br>#<br># MPI setup; tailor to your system if using MPIBLACS<br># Will need to comment out these 6 lines if using PVM<br>#<br>USEMPI = -DUsingMpiBlacs<br>
#SMPLIB = /usr/lib/mpi/build/LINUX/ch_p4/lib/libmpich.a<br> SMPLIB = /opt/mpich/gnu/libmpich.a<br>BLACSFINIT = $(BLACSdir)/blacsF77init_MPI-$(PLAT)-$(BLACSDBGLVL).a<br>BLACSCINIT = $(BLACSdir)/blacsCinit_MPI-$(PLAT)-$(BLACSDBGLVL).a<br>
BLACSLIB = $(BLACSdir)/blacs_MPI-$(PLAT)-$(BLACSDBGLVL).a<br>TESTINGdir = $(home)/TESTING<br><br>#<br># PVMBLACS setup, uncomment next 6 lines if using PVM<br>#<br>#USEMPI =<br>#SMPLIB = $(PVM_ROOT)/lib/$(PLAT)/libpvm3.a<br>
#BLACSFINIT =<br>#BLACSCINIT =<br>#BLACSLIB = $(BLACSdir)/blacs_PVM-$(PLAT)-$(BLACSDBGLVL).a<br>#TESTINGdir = $(HOME)/pvm3/bin/$(PLAT)<br><br>CBLACSLIB = $(BLACSCINIT) $(BLACSLIB) $(BLACSCINIT)<br>FBLACSLIB = $(BLACSFINIT) $(BLACSLIB) $(BLACSFINIT)<br>
<br>#<br># The directories to find the various pieces of ScaLapack<br>#<br>PBLASdir = $(home)/PBLAS<br>SRCdir = $(home)/SRC<br>TESTdir = $(home)/TESTING<br>PBLASTSTdir = $(TESTINGdir)<br>TOOLSdir = $(home)/TOOLS<br>
REDISTdir = $(home)/REDIST<br>REDISTTSTdir = $(TESTINGdir)<br>#<br># The fortran and C compilers, loaders, and their flags<br>#<br>F77 = /opt/mpich-wienbin/mpif77<br>CC = /opt/mpich-wien/bin/mpicc<br>
NOOPT =<br>F77FLAGS = -funroll-all-loops -O3 $(NOOPT)<br>DRVOPTS = $(F77FLAGS)<br>CCFLAGS = -O4<br>SRCFLAG =<br>F77LOADER = $(F77)<br>CCLOADER = $(CC)<br>F77LOADFLAGS =<br>CCLOADFLAGS =<br>
#<br># C preprocessor defs for compilation<br># (-DNoChange, -DAdd_, -DUpCase, or -Df77IsF2C)<br>#<br>CDEFS = -Df77IsF2C -DNO_IEEE $(USEMPI)<br>#<br># The archiver and the flag(s) to use when building archive (library)<br>
# Also the ranlib routine. If your system has no ranlib, set RANLIB = echo<br>#<br>ARCH = ar<br>ARCHFLAGS = cr<br>RANLIB = ranlib<br>#<br># The name of the libraries to be created/linked to<br>#<br>
SCALAPACKLIB = $(home)/libscalapack.a<br>BLASLIB = /usr/lib64/libblas.a<br>LAPACKLIB = /usr/lib64/liblapack.a<br>#<br>PBLIBS = $(SCALAPACKLIB) $(FBLACSLIB) $(LAPACKLIB) $(BLASLIB) $(SMPLIB)<br>PRLIBS = $(SCALAPACKLIB) $(CBLACSLIB) $(SMPLIB)<br>
RLIBS
= $(SCALAPACKLIB) $(FBLACSLIB) $(CBLACSLIB) $(LAPACKLIB) $(BLASLIB)
$(SMPLIB)<br>LIBS = $(PBLIBS)<br> <br></div>
<br>