Skip to content
Snippets Groups Projects
Commit 59a705a8 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing installation of SUITESPARSE on Intel compiler

parent 4d4dd9d1
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ All notable changes to this project will be documented in this file.
- CRITICAL-BUG scalar product in combination with vector product is broken (it return 0)
- Fixing 2D IO in binary for vector
- Fixing 1D grid writer in ASCII mode
- Fixing Intel compilation of Linear algebra
## [1.0.0] 13 September 2017 (Codename: Vortex)
......
......@@ -83,7 +83,6 @@ then
echo "$PATH"
module load gcc/7.1.0
module load openmpi/3.0.0-gnu7.1
module unload bullxmpi
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/incard/PARMETIS/lib:/home/incard/METIS/lib:/home/incard/HDF5/lib"
......
......@@ -99,7 +99,7 @@ else
fi
if [ ! -d "$1/SUITESPARSE" ]; then
./script/install_SUITESPARSE.sh $1
./script/install_SUITESPARSE.sh $1 $2
if [ $? -eq 0 ]; then
configure_options="$configure_options --with-suitesparse=yes --with-suitesparse-dir=$1/SUITESPARSE "
fi
......
......@@ -34,7 +34,7 @@ if [ x"$platform" == x"cygwin" ]; then
fi
echo "Compiling SuiteSparse without CUDA (old variable $CUDA)"
make "CUDA=no" "BLAS=-L$1/OPENBLAS/lib -lopenblas -pthread" "LAPACK="
"LDLIBS=$STS_LIB" "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$1/OPENBLAS/lib" make -j $2 "CUDA=no" "BLAS=-L$1/OPENBLAS/lib -lopenblas -pthread" "LAPACK="
if [ $? != 0 ]; then
echo "Failed to compile SuiteSparse"
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment