Table of Contents

Installation Procedures with Python and Perl

links from Installation notes


Fortran 90

If you wish to recompile the TELEMAC-MASCARET system from its source code to tune the compiler optimisation to your processor or if you need to input your own Fortran code to model the specifics of your application (boundary, initial conditions, special output variable, etc.) a Fortran compiler must be installed on your computer (compatible with standard Fortran 95). Fortran compilers can either be downloaded from free and open source software distribution websites, or bought through your usual software vendor whether on-line or not.


The TELEMAC-MASCARET system is written in a strict standard Fortran 90 language, which makes compilation under multiple compilers and multiple platforms possible. Here is the free solution depending on your operating system:


$> gfortran -v


\> gfortran -v


Alternatively, if you are looking for speed and advanced optimisation, we recommend that you invest in the Intel Fortran compiler, which can be installed on both Linux and MS Windows operating systems. To check that your Intel Fortran Compiler is set properly on MS Windows operating system, just type the following in a terminal console:

\> ifort


If this is unsuccessful, it is often the case that the execution of 'ifortvars.bat' is necessary to set appropriate PATHs, LIBs and INCLUDEs within your DOS command console. 'ifortvars.bat' can usually be found under …\Program Files\Intel\Compiler\11.0\…\fortran\Bin, depending on the version of the compiler and the installation procedure.


Of course, if you are already using a different Fortran compiler whether on Linux or MS Windows operating systems, feel free to continue doing so. It is recommended though that you use the Python scripts of the TELEMAC-MASCARET system as the configuration is easier.

Tips and Tricks

\>crt2.o: No such file: No such file or directory


By default, the environment variable 'G95_LIBRARY_PATH' is set to D:\program\fortran\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2, where D:\program\fortran is the an example of the root of the installation directory for g95. The crt2.o file is however in the D:\program\fortran\g95\lib directory. The solution is threfore to have:

G95_LIBRARY_PATH=D:\program\fortran\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2;D:\program\fortran\g95\lib

(note that the PATH separator on MS Windows operating system is ”;”)