Hello, as a beginner with Telemac, I spend a lot of time understand how to install it in parallel... So now I managed to do it, I want to share my way with the community, step by step, because a lot of mistakes can be done. The *.cfg is really a mess for beginners, you will find a working one in attachments.
May be some things can be improved, but it seems to work well with Ubuntu (Gnome) 16.04 LTS. Please come back to me if anything seems to be wrong.
I find a good help with that
post from qilong and his description of his
docker image. Thnaks to him !
I tried to stick with the command line, maybe it will work on a linux server as well.
Let's go :
### install dependecies
sudo apt-get update && sudo apt-get install -y subversion vim cmake build-essential gfortran mpich subversion python python-numpy dialog
### download telemac in your home folder
svn co http://svn.opentelemac.org/svn/opentelemac/tags/v7p1r1 ~/telemac/v7p1 --username ot-svn-public --password telemac1*
### bashrc settings
then insert these lines (type the letter "i" in vim) at the end of the file
export PATH=~/telemac/v7p1/scripts/python27/:$PATH
export SYSTELCFG=~/telemac/v7p1/configs/systel.ubuntu.cfg
I named my own *.cfg file, change it if you want.
escape (ESC) save with":wq" + RETURN.
Apply with
### install metis
cd ~/telemac/v7p1/optionals
mkdir temp
cd temp
wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz
gunzip metis-5.1.0.tar.gz
tar -xvf metis-5.1.0.tar
cd metis-5.1.0
vim Makefile
change ("i" then ESC + ":wq")
prefix = ~/telemac/v7p1/optionals/metis-5.1.0/build/
cc = gcc
copy the makefile and remove temp folder
cp Makefile ~/telemac/v7p1/optionals/metis-5.1.0
cd ~/telemac/v7p1/optionals/
rm -rf temp
compile
cd ~/telemac/v7p1/optionals/metis-5.1.0
make config
make
### config systel.ubuntu.cfg
copy systel.ubuntu.cfg
into ~/telemac/v7p1/configs/
verify in "Ubuntu gfortran mpich2" libs_partel is a true directory : ~/telemac/v7p1/optionals/metis-5.1.0/build/Linux-x86_64/libmetis/libmetis.a
### compile TELEMAC
### other softwares with a gui interface to get a full working station
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update && sudo apt-get install -y qgis python-qgis qgis-plugin-grass grass grass-doc monteverdi otb-bin postgresql postgis spatialite-gui spatialite-bin gdal-bin paraview python-scipy python-matplotlib