Building SCALAPACK 2.0.1 with Intel Compiler


SCALAPACK requires BLAS and LAPACK, please read the tutorial

  1. Building BLAS Library using Intel and GNU Compiler and
  2. Building LAPACK 3.4 with Intel and GNU Compiler

To compile the SCALAPACK,

# mkdir -p ~/src
# wget http://www.netlib.org/scalapack/scalapack-2.0.1.tgz
# tar -zxvf scalapack-2.0.1.tgz
# cd scalapack-2.0.1
# cp  SLmake.inc.example SLmake.inc

Edit the scalapack SLmake.inc file. At line 58 and line 59

BLASLIB       = -lblas -L/usr/local/blas
LAPACKLIB     = -llapack -L/usr/local/lapack/lib

At the Linux Console again

# make
# mv scalapack-2.0.1 /usr/local/

Update ane export your LD_LIBRARY_PATH

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s