Welcome, Guest
Username: Password: Remember me

TOPIC: Towards the completion of a guideline for TELEMAC installation

Towards the completion of a guideline for TELEMAC installation 7 years 10 months ago #24729

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

I am sure that many people are really interested in TELEMAC, but what makes them give up is that TELEMAC installation is a tricky part, so that many people want to give up! Especially, for modellers,researchers, I understand that we have to run our models on clusters, HPC (high performancing computers) to shorten time, and embrace fully the advantages, and powerful features of TELEMAC packages, so that is the reasons why we have to build TELEMAC in parallelism. Is it right?

On our forum, I think we are not able to find a full (step-by-step) guideline for TELEMAC installation, so I suppose to write it and share on this forum! Actually, I have completed some parts, if my idea is welcomed, I will post here shortly.

Thanks & Best Regards
Huy
The administrator has disabled public write access.

Towards the completion of a guideline for TELEMAC installation 7 years 10 months ago #24737

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

I am going to rewrite the installation guide for Linux in the following weeks. Any contribution is more than welcomed.
There is already one from stef.
That you can find here here

Cheers.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Towards the completion of a guideline for TELEMAC installation 7 years 10 months ago #24738

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

I know this post and just want to break down further, so it can be useful for those of people who are not familiar with Linux. Here is just an example of first part I have written:
PART I- CHECK AND INSTALL COMPILERS (for LINUX)

1. Check gfortran: which gfortran if it has been installed, you should see: /usr/bin/gfortran

if not, install it on your machine: sudo apt-get install gfortran

check gfortran again: gfortran - - version

GNU Fortran (Ubuntu 5.3.1-14ubuntu2) 5.3.1 20160413
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING


2. Check and install MPI: mpif90 -show

The program 'mpif90' can be found in the following packages:
* libmpich-dev
* libopenmpi-dev
Try: sudo apt install <selected package>

this mpif90 has not been installed in my machine, so now I will install it:
sudo apt-get install libmpich-dev
then check again to make sure MPI has been installed:
mpif90 -show
You should see like this:

gfortran -Wl,-Bsymbolic-functions -Wl,-z,relro -I/usr/include/mpich -I/usr/include/mpich -L/usr/lib/i386-linux-gnu -lmpichfort -lmpich

(NOTE: It is very useful to use “-show” command, so you will know where the package is located. Later on, you can remember and save time to find where it is, and you can copy this directory to set PATH in configuration file!!!)

3. Check, and make sure MAKE and CMAKE have been installed:
which make you should see: /usr/bin/make
which cmake you should also see: /usr/bin/cmake

4. Install VIM in your machine: sudo apt-get install vim

After that, if you type: vim -show you should see:

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 08 2016 11:38:28)
Rubbish after option argument: "-show"
More info with: "vim -h"

5. Install numpy:

sudo apt-get install python-numpy



so, PART II: it is about how to compile, install programs that support for parallel configurations ( MPI, METIS, SCOTCH, MUMPS,...)

PART III: set up configurations for each options

PART IV: How to run and test TELEMAC on Single, and Multi-cores....

What do you think?

Best Regards
Huy
The administrator has disabled public write access.
The following user(s) said Thank You: estebanlacunza, Htun Pyae Sone

Towards the completion of a guideline for TELEMAC installation 7 years 10 months ago #24739

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
This looks interesting.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
Moderators: borisb

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