Installation in Linux OpenSuse

More
7 years 2 months ago - 7 years 2 months ago #178 by matthiash
I can confirm the script is working now (Tested on OpenSuse Leap 42.2).
In case you want to try it again, download and run the latest version.

Regards,
Matthias

Edit:
Here is the script in case the link goes down one day:
Code:
#! /bin/bash set -e export BASEDIR=~/ngsuite sudo zypper install python3-tk python3-devel gcc6-c++ cmake git python3-tk tk-devel liblapacke3 liblapack3 libXmu-devel Mesa-libGLU-devel zlib-devel gcc-c++ sudo pip3 install jupyter mkdir -p $BASEDIR cd $BASEDIR git clone https://github.com/NGSolve/ngsolve.git ngsolve-src cd $BASEDIR/ngsolve-src git checkout v6.2.1709 git submodule update --init --recursive mkdir -p $BASEDIR/ngsolve-build mkdir -p $BASEDIR/ngsolve-install cd $BASEDIR/ngsolve-build cmake \ -DLAPACK_LIBRARIES=/usr/lib64/liblapack.so.3 \ -DCMAKE_INSTALL_PREFIX=${BASEDIR}/ngsolve-install \ -DCMAKE_CXX_COMPILER=g++-6 \ -DCMAKE_C_COMPILER=gcc-6 \ -DUSE_UMFPACK=ON \ ${BASEDIR}/ngsolve-src make -j4 install echo "export NETGENDIR=$BASEDIR/ngsolve-install/bin" >> ~/.bashrc echo "export PYTHONPATH=$BASEDIR/ngsolve-install/lib64/python3.4/site-packages:." >> ~/.bashrc echo "export PATH=$BASEDIR/ngsolve-install/bin:\$PATH" >> ~/.bashrc source ~/.bashrc
Last edit: 7 years 2 months ago by matthiash. Reason: add script
Time to create page: 0.093 seconds