Welcome, Guest
Username: Password: Remember me

TOPIC: step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel

step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel 7 years 9 months ago #25057

  • avni
  • avni's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 6
Hi stef,

Well done. Like I commented on Qilong's tutorial, you don't need to edit the ~/.bashrc file to include the two export commands. You can directly type them on the terminal.
export PATH=~/telemac/v7p1/scripts/python27/:$PATH
export SYSTELCFG=~/telemac/v7p1/configs/systel.ubuntu.cfg
The administrator has disabled public write access.

step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel 7 years 9 months ago #25059

  • josekdiaz
  • josekdiaz's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 48
Dear Avni,

You should also clarify that the above has to be done each time you open a new terminal as variables declared that way are limited to that specific terminal instance.

Editing the bashrc file (or whatever user profile config in your linux distro) is a one-time only procedure.

Regards,

José Díaz.
The administrator has disabled public write access.

step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel 7 years 9 months ago #25066

  • avni
  • avni's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 6
Dear Jose,

You are absolutely right. The variable assignments are not persistent among terminal sessions if you issue them as simple terminal commands. More information is here:

help.ubuntu.com/community/EnvironmentVar...nvironment_variables

Thank you for the correction.
The administrator has disabled public write access.

step-by-step : install Telemac [v7p2-v7p1] Ubuntu 16.04 in parallel 7 years 9 months ago #25196

  • stef
  • stef's Avatar
Hello everyone.
Sorry for the ones that did not managed to get it work, but the step by step guide seems to work for me.

Here is an an update for the install guide with v7p2.

### install dependecies
sudo apt-get update && sudo apt-get upgrade
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/v7p2r0/  ~/telemac/v7p2 --username ot-svn-public --password telemac1*

### bashrc settings
vim ~/.bashrc
then insert these lines with "i" at the end of the file
# telemac
export PATH=~/telemac/v7p2/scripts/python27/:$PATH
export SYSTELCFG=~/telemac/v7p2/configs/systel.ubuntu.cfg
escape (ESC) save with":wq" + RETURN. Apply with
source ~/.bashrc

### install metis
cd ~/telemac/v7p2/optionals
mkdir tmp
cd tmp
mkdir metis_staging_area
cd metis_staging_area
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 then ":wq")
prefix = ~/telemac/v7p2/optionals/metis-5.1.0/build/
cc = gcc
copy the makefile and remove temp folder
cp Makefile ~/telemac/v7p2/optionals/metis-5.1.0
cd ~/telemac/v7p2/optionals/tmp
rm -rf metis_staging_area
compile
cd ~/telemac/v7p2/optionals/metis-5.1.0
make config
make

### copy the config file systel.ubuntu.cfg into ~/telemac/v7p2/configs/ (inspired with qilong)

File Attachment:

File Name: systel.ubuntu_2017-02-13.cfg
File Size: 3 KB



### compile TELEMAC
compileTELEMAC.py

### test it !
cd ~/telemac/v7p2/examples/telemac2d/bumpflu
telemac2d.py t2d_bumpflu.cas
telemac2d.py t2d_bumpflu.cas --ncsize=4
The administrator has disabled public write access.

step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel 7 years 9 months ago #25197

  • stef
  • stef's Avatar
And I still need some help for getting work Intel parallel studio with ubuntu, and config telemac to work with it can anybody help ?
The administrator has disabled public write access.

step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel 7 years 9 months ago #25198

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Hi,

Do you mean you want to refer a configuration?
The administrator has disabled public write access.

step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel 7 years 9 months ago #25200

  • stef
  • stef's Avatar
Hi, yes, i would like an adapted config file for ubuntu, and a step by step install of the parallel_studio_xe_2017_update1_cluster_edition, with the bashrc settings and the overall compilation procedure (metis, mpich, telemac). That is what I am working now, but it's quite difficult for me... And i wonder if you can do it on a virtual machine with virtual box.
The administrator has disabled public write access.

step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel 7 years 9 months ago #25201

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Hi,

In order to run in parallel, you simply need only METIS and MPI. For me, It is much easier to set a configuration on Ubuntu than one for windows. Just specify and install correctly. Has you installed Metis and MPI? There are several configuration examples in configs directory you can refer.

or I guess you are not familiar with submitting a job to compile or run TELEMAC using SBATCH?
The administrator has disabled public write access.

step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel 7 years 9 months ago #25204

  • stef
  • stef's Avatar
The goal of this topic is to find a way, fro an "end-user" like me, to install and run telemac in parallel on Ubuntu. Ubuntu is a well-know linux distribution, and I think it will be nice to have a step by step guide to install telemac on it, on a simple PC. So I am not familiar with Sbatch, and not familiar with compile Metis and MPI...
The administrator has disabled public write access.

step-by-step guide to install Telemac v7p1 on Ubuntu 16.04 in parallel 7 years 9 months ago #25214

  • REYES.CASTILLO
  • REYES.CASTILLO's Avatar
thanks so much,
I was able to solve the problem
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.