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