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-2.1.0.tgz
  3. Run the following command to switch to the directory generated after decompression:
    cd scalapack-2.1.0
  4. Run the following command to copy and paste the file:
    cp SLmake.inc.example SLmake.inc
  5. Run the following commands to modify the SLmake.inc file:
    1. Open SLmake.inc.
      vim SLmake.inc
    2. Press i to enter the insert mode and modify the file as follows:
      BLASLIB    = /path/to/EXTRA/librefblas.a 
      LAPACKLIB  = /path/to/EXTRA/liblapack.a  
      LIBS       = $(LAPACKLIB) $(BLASLIB) 
    3. Press Esc, type :wq!, and press Enter to save the changes and exit.
  6. Run the following command to perform compilation:
    make -j
  7. Run the following command to copy the generated static library to another directory:
    cp *.a /path/to/EXTRA/mathlib