Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Installation in Linux OpenSuse

More
6 years 6 months ago - 6 years 6 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: 6 years 6 months ago by matthiash. Reason: add script
Time to create page: 0.147 seconds