Rate This Document
Findability
Accuracy
Completeness
Readability

Installing ScaLAPACK

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the ScaLAPACK installation package.
    tar -xvf scalapack-2.1.0.tgz
  3. Go to the directory generated after the decompression.
    cd scalapack-2.1.0
  4. Run the following command to copy and paste the file:
    cp SLmake.inc.example SLmake.inc
  5. Modify the SLmake.inc file.
    1. Open the SLmake.inc file.
      vi SLmake.inc
    2. Press i to enter the edit mode and modify the file as follows:
      BLASLIB=/path/to/LAPACK/libblas.a
      LAPACKLIB=/path/to/LAPACK/liblapack.a
      LIBS=$(LAPACKLIB) $(BLASLIB)
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  6. Perform the compilation.
    make
  7. Copy the generated static library to another directory.
    cp *.a /path/to/EXTRA/mathlib