Commit bbe3769a authored by incardon's avatar incardon

Fixing OpenBLAS installation

parent c7a7fe8e
......@@ -259,7 +259,11 @@ else
echo "Error the installation of Boost failed"
exit 1
fi
./script/install_BOOST.sh $i_dir $ncore
if [ x"$dgc_compiler" == x"icpc" ]; then
./script/install_BOOST.sh $i_dir $ncore intel-linux
else
./script/install_BOOST.sh $i_dir $ncore gcc
fi
BOOST_installed=1
configure_options=" $configure_options --with-boost=$i_dir/BOOST "
elif [ $conf_err -eq 208 ]; then
......
......@@ -163,6 +163,7 @@ function detect_compiler()
possible_solutions "${commands[@]}"
dgc_compiler=possible_solutions_ret
dgc_ret=1
CXX=$dgc_compiler
fi
}
......
......@@ -10,7 +10,7 @@ fi
wget http://ppmcore.mpi-cbg.de/upload/boost_1_60_0.tar.bz2
tar -xvf boost_1_60_0.tar.bz2
cd boost_1_60_0
./bootstrap.sh
./bootstrap.sh --with-toolset=$3
mkdir $1/BOOST
./b2 -j $2 install --prefix=$1/BOOST
rm -rf boost_1_60_0
......
......@@ -14,7 +14,7 @@ cd OpenBLAS-0.2.15
# configuration
make
make CC=gcc CXX=g++
mkdir $1/OPENBLAS
make install PREFIX=$1/OPENBLAS
rm -rf OpenBLAS-0.2.15
......
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