The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Install ScaLAPACK

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

Install ScaLAPACK

Postby Rahul » Thu Nov 23, 2006 10:32 am

Hi,

I try to compile the ScaLapack library but struggle with it
I do have the BLAS and BLACS -libraries as noted on the netlib-webpage
(maybe not they are not optimized but they exist :) )

I am working on a Linux system and, I guess, AMD opteron, with x86_64 Processor...

The Error message I receive after typing make on the ScaLapack top dir is

make[1]: Entering directory `/home/gupta/Libs/ScaLAPACK/scalapack-1.7.4'
make[1]: *** No rule to make target `single'. Stop.
make[1]: Leaving directory `/home/gupta/Libs/ScaLAPACK/scalapack-1.7.4'
make: *** [toolslib] Error 2


Is there anything I forgot to type in th SLmake.inc or what is the cause for the message.

Thanks anyway

Roman
Rahul
 
Posts: 2
Joined: Thu Nov 23, 2006 10:11 am

Postby Benson » Fri Nov 24, 2006 2:55 am

you'd better show the contents of the file SLmake.inc in your scalapack
Benson
 
Posts: 11
Joined: Mon Mar 21, 2005 11:02 pm

Postby Rahul » Fri Nov 24, 2006 5:24 am

Thanks for your reply Benson

Here is the content of my SLmake.inc
############################################################################
#
# Program: ScaLAPACK
#
# Module: SLmake.inc
#
# Purpose: Top-level Definitions
#
# Creation date: February 15, 2000
#
# Modified:
#
# Send bug reports, comments or suggestions to scalapack@cs.utk.edu
#
############################################################################
#
SHELL = /bin/bash
#
# The complete path to the top level of ScaLAPACK directory, usually
# $(HOME)/SCALAPACK
#
home = /home/gupta/Libs/SCALAPACK
#
# The platform identifier to suffix to the end of library names
#
PLAT = LINUX
#
# BLACS setup. All version need the debug level (0 or 1),
# and the directory where the BLACS libraries are
#
BLACSDBGLVL = 0
BLACSdir = /home/gupta/Libs
#
# MPI setup; tailor to your system if using MPIBLACS
# Will need to comment out these 6 lines if using PVM
#
USEMPI = -DUsingMpiBlacs
SMPLIB = /home/gupta/Hilfsprogramme/mpich-1.2.7p1
BLACSFINIT = $(BLACSdir)/libmpiblacsF77init-p4.a
BLACSCINIT = $(BLACSdir)/libmpiblacsCinit-p4.a
BLACSLIB = $(BLACSdir)/libmpiblacs-p4.a
TESTINGdir = $(home)/TESTING

#
# PVMBLACS setup, uncomment next 6 lines if using PVM
#
#USEMPI =
#SMPLIB = $(PVM_ROOT)/lib/$(PLAT)/libpvm3.a
#BLACSFINIT =
#BLACSCINIT =
#BLACSLIB = $(BLACSdir)/blacs_PVM-$(PLAT)-$(BLACSDBGLVL).a
#TESTINGdir = $(HOME)/pvm3/bin/$(PLAT)

CBLACSLIB = $(BLACSCINIT) $(BLACSLIB) $(BLACSCINIT)
FBLACSLIB = $(BLACSFINIT) $(BLACSLIB) $(BLACSFINIT)

#
# The directories to find the various pieces of ScaLapack
#
PBLASdir = $(home)/PBLAS
SRCdir = $(home)/SRC
TESTdir = $(home)/TESTING
PBLASTSTdir = $(TESTINGdir)
TOOLSdir = $(home)/TOOLS
REDISTdir = $(home)/REDIST
REDISTTSTdir = $(TESTINGdir)
#
# The fortran and C compilers, loaders, and their flags
#
F77 = g77
#F77 = /usr/local/pgi/linux86/bin/pgf77
CC = gcc
NOOPT =
F77FLAGS = -O3 $(NOOPT)
CCFLAGS = -O4
SRCFLAG =
F77LOADER = $(F77)
CCLOADER = $(CC)
F77LOADFLAGS =
CCLOADFLAGS =
#
# C preprocessor defs for compilation
# (-DNoChange, -DAdd_, -DUpCase, or -Df77IsF2C)
#
CDEFS = -Df77IsF2C -DNO_IEEE $(USEMPI)
#
# The archiver and the flag(s) to use when building archive (library)
# Also the ranlib routine. If your system has no ranlib, set RANLIB = echo
#
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
#
# The name of the libraries to be created/linked to
#
SCALAPACKLIB = $(home)/libscalapack.a
BLASLIB = /home/gupta/Libs/libblas.a /home/gupta/Libs/libatlas.a
#
PBLIBS = $(SCALAPACKLIB) $(FBLACSLIB) $(BLASLIB) $(SMPLIB)
PRLIBS = $(SCALAPACKLIB) $(CBLACSLIB) $(SMPLIB)
RLIBS = $(SCALAPACKLIB) $(FBLACSLIB) $(CBLACSLIB) $(BLASLIB) $(SMPLIB)
LIBS = $(PBLIBS)
Rahul
 
Posts: 2
Joined: Thu Nov 23, 2006 10:11 am


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 6 guests