Commit cf92e2d1 authored by Pietro Incardona's avatar Pietro Incardona

Fixing installation script

parent 55440232
......@@ -63,7 +63,6 @@ if [ "$2" == "gin" ]
then
echo "Compiling on gin\n"
source ~/.bashrc
sh ./autogen.sh
module load gcc/4.9.2
./install -s -c "--prefix=/home/jenkins/openfpm_install"
make
......
......@@ -68,7 +68,7 @@ AC_ARG_WITH(suitesparse,
# First, check SUITESPARSE_LIBS environment variable
if test "x$SUITESPARSE_LIBS" != x; then
save_LIBS="$LIBS"; LIBS="$SUITESPARSE_LIBS -lumfpack -lm -lsuitesparseconfig"
save_LIBS="$LIBS"; LIBS="$SUITESPARSE_LIBS -lumfpack -lm -lsuitesparseconfig -lrt"
AC_MSG_CHECKING([for umf_l_malloc])
AC_TRY_LINK_FUNC(umf_l_malloc, [ax_suitesparse_ok=yes
SUITESPARSE_LIB="$SUITESPARSE_LIBS -lamd -lbtf -lcamd -lccolamd -lcholmod -lcolamd -lcxsparse -lklu -ldl -lrbio -lspqr -lsuitesparseconfig -lumfpack"], [SUITRSPARSE_LIBS=""])
......
......@@ -10,7 +10,7 @@ fi
wget http://ppmcore.mpi-cbg.de/upload/SuiteSparse-4.4.5.tar.gz
rm -rf SuiteSparse
tar -xf SuiteSparse-4.4.5.tar.gz
if [ $? == 0 ]; then
if [ $? != 0 ]; then
echo "Fail to download SuiteSparse"
exit 1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment