Rate This Document
Findability
Accuracy
Completeness
Readability

Installing ScaLAPACK

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the ScaLAPACK installation package:
    tar -xvf  scalapack.tgz
  3. Run the following command to switch to the directory containing the decompressed files:
    cd scalapack-2.0.2
  4. Run the following command to generate the SLmake.inc file:
    cp SLmake.inc.example SLmake.inc
  5. Run the following command to edit the SLmake.inc file:
    1. Run the following command to edit the case file:
      vi SLmake.inc
    2. Press i to enter the insert mode and modify lines 58 and 59 of the file.
      BLASLIB       = -L/path/to/OPENBLAS/lib -lopenblas
      LAPACKLIB     = -L/path/to/OPENBLAS/lib -lopenblas
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  6. Run the following commands to perform compilation and installation:
    make
  7. Run the following command to copy the generated link library to the installation directory:
    mkdir -p /path/to/SCALAPACK
    cp libscalapack.a /path/to/SCALAPACK