Book Image

Building a BeagleBone Black Super Cluster

By : Andreas J Reichel
Book Image

Building a BeagleBone Black Super Cluster

By: Andreas J Reichel

Overview of this book

Table of Contents (14 chapters)
Building a BeagleBone Black Super Cluster
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
References
Index

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...