SuperLU

 

Introduction

SuperLU is a general purpose library for the direct solution of large, sparse, nonsymmetric systems of linear equations.

 

Usage

module load library/superlu/5.2.1

 

Installation

module purge; sleep 4
module load cmake/3.5.0

cd /sw/library/superLU/5.2.1/src/
tar -zxvf superlu_5.2.1.tar.gz
mkdir -p /sw/library/superLU/5.2.1/src/SuperLU_5.2.1/build
cd /sw/library/superLU/5.2.1/src/SuperLU_5.2.1/build
cmake   -DBUILD_SHARED_LIBS=ON -DCMAKE_C_COMPILER=/sw/gcc/7.1.0/bin/gcc -DCMAKE_CXX_COMPILER=/sw/gcc/7.1.0/bin/g++ -DCMAKE_Fortran_COMPILER=/sw/gcc/7.1.0/bin/gfortran -DCMAKE_INSTALL_PREFIX=/sw/library/superLU/5.2.1   -D BLAS_LIB=/sw/library/blas/3.8.0/lib64 .. 2>&1 | tee cmakeLog.txt

make all 2>&1 | tee makeAllLog.txt
make install 2>&1 | tee makeInstallLog.txt

 

Reference

  1. http://crd-legacy.lbl.gov/~xiaoye/SuperLU/