next up previous contents
Next: Further Details to obtain Up: Installation Procedure Previous: Gunzip and tar the   Contents

Edit the SLmake.inc include file

Example machine-specific SCALAPACK/SLmake.inc files are provided in the INSTALL subdirectory for the Intel i860, IBM SP, Cray T3E, SGI Origin, and various workstations using MPI or PVM. When you have selected the machine to which you wish to install ScaLAPACK, copy the appropriate sample include file (if one is present) into SCALAPACK/SLmake.inc. For example, if you wish to run ScaLAPACK on a DEC ALPHA,

Edit the SLmake.inc make include file to contain the following:

  1. Specify the complete path to the top level SCALAPACK directory called home.
  2. Identify the platform to which you will be installing the libraries. If your directory structure for ScaLAPACK is different than the aforementioned structure, you will also need to specify locations of SCALAPACK subdirectories.
  3. Define F77, NOOPT, F77FLAGS, CC, CCFLAGS, LOADER, LOADFLAGS, ARCH, ARCHFLAGS, and RANLIB, to refer to the compiler and compiler options, loader and loader options, library archiver and options, and ranlib for your machine. If your machine does not require ranlib set RANLIB = echo.
  4. Specify the C preprocessor definitions for compilation, BLACSDBGLVL and CDEFS. The possible values for BLACSDBGLVL are 0 and 1. The possible options for CDEFS are -DAdd_, -DNoChange, and -DUPCASE. If you are on a DEC ALPHA, you must also add -DNO_IEEE to the definition of CDEFS.
  5. Specify the locations of the needed libraries: BLACS, PVM or MPI, and BLAS.
This make include file is referenced inside each of the makefiles in the various subdirectories. As a result, there is no need to edit the makefiles in the subdirectories. All information that is machine specific has been defined in this include file.



Subsections
next up previous contents
Next: Further Details to obtain Up: Installation Procedure Previous: Gunzip and tar the   Contents
Susan Blackford 2001-08-12