Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
From sources

Install Rheolef from source distribution

Rheolef installs well from sources on Linux Debian or Ubuntu and on MAC-OSX.
It requires some others packages for compilation and installation

Prerequise for MAC-OSX

  • Compiler: clang
  • Others packages: boost eigen cgal latex gnuplot gmsh paraview

Prerequise for Linux Debian or Ubuntu

Enter first as root user:

apt-get update
apt-get install -y git make g++ autoconf automake libtool flex libfl-dev bison chrpath bsdmainutils
apt-get install -y libboost-dev libboost-iostreams-dev libboost-mpi-dev libcgal-dev libeigen3-dev ginac-tools libginac-dev pkg-config
apt-get install -y liblapack-dev libsuitesparse-dev libscotch-dev libptscotch-dev libmumps-scotch-dev libmumps-ptscotch-dev
apt-get install -y texlive-latex-recommended texlive-latex-extra texlive-science texlive-fonts-recommended texlive-font-utils
apt-get install -y texlive-extra-utils cm-super ghostscript poppler-utils doxygen gnuplot fig2dev cairosvg
apt-get install -y gmsh paraview paraview-python

Compile and install

Then, download the stable version in tar-ball distribution (35 mb):

wget https://www-ljk.imag.fr/membres/Pierre.Saramito/rheolef/rheolef-7.2.tar.gz

Enter next, as normal user (non-root):

tar xvzf rheolef-7.2.tar.gz
cd rheolef-7.2
./bootstrap
./configure
make
sudo make install

The last command requieres the root password. If you cannot install as root, please consider to install in your home directory, e.g.:

./configure --prefix=$HOME/sys
make
make install

See also the Configuration section for the options of the configure stage.

Alternatively, download the development version via GIT:

git clone 'https://gricad-gitlab.univ-grenoble-alpes.fr/rheolef/rheolef.git'
cd rheolef
./bootstrap
./configure --prefix=$HOME/sys
make
make install