Compilation with gfortran: differenze tra le versioni

Da MeteOceanWiki.
Riga 57: Riga 57:
  
 
Create the file pysource.sh in /opt/opentelemac/v7p3r1/configs
 
Create the file pysource.sh in /opt/opentelemac/v7p3r1/configs
 +
 +
Create the file systel.cfg in /opt
 +
 +
COMPILE TELEMAC
 +
 +
'' source pysource.sh ''
 +
'' config.py''
 +
'' compileTELEMAC.py ''

Versione delle 11:48, 5 set 2018

This guide is written following this webpage:

http://wiki.opentelemac.org/doku.php?id=installation_on_linux

PREREQUISITES

This is the list of software that are mandatory to compile and run opentelemac:

1) Python 2.7.0

2) Numpy 1.8.3

3) Gfortran 4.6.3 (minimun version)

4) MPI libraries

5) scipy

6) matplotlib

PROCESS

create a folder in opt

mkdir opentelemac

download opentelemac file for the v7p3r1 version

 svn checkout http://svn.opentelemac.org/svn/opentelemac/tags/v7p3r1/ 
 cd v7p3r1/optionals/metis-5.1.0 
 cmake -D CMAKE_INSTALL_PREFIX=/opt/opentelemac/metis_installed . 
 make 
 make install 

Download hdf5-1.8.14

Enter in the source folder

 ./configure --prefix=/opt/opentelemac/hdf5_installed 
 make  
 make install 

Enter the folder hdf5_installed Create a symbolic link to lib64

 ln -s lib64/ lib 


Download MED 3.2.0

Install MED

 ./configure --with-hdf5=/opt/opentelemac/hdf5_installed --prefix=/opt/opentelemac/med_installed 
 make 
 make install 

Create the file pysource.sh in /opt/opentelemac/v7p3r1/configs

Create the file systel.cfg in /opt

COMPILE TELEMAC

 source pysource.sh 
 config.py
 compileTELEMAC.py