Installing and configuring ScaLAPACK
To install ScaLAPACK, you can download it from netlib at http://www.netlib.org/scalapack/#_scalapack_version_2_0_2.
Download the source tarball into a folder in your /var/mpishare
directory, and extract it into a convenient directory, for example, /var/mpishare/sca
. As ScaLAPACK depends on many different libraries, it might not be easy to compile it successfully. To simplify things, there is a handy setup script written in Python. You can download it from http://www.netlib.org/scalapack/scalapack_installer.tgz.
Extract the installer script into the source directory of ScaLAPACK. Then, you can run the script with the following command:
./setup.py --prefix=/var/mpishare/sca --mpiincdir=/usr/include/mpi/ --downall
The prefix
option tells the setup script where to install the ScaLAPACK libraries, which will be a subdirectory called lib
below this folder. The mpiincdir
command specifies the location of the OpenMPI include files, and the downall
option tells...