Skip to content

vjaunet/fortran_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fortran Librairies <<<<<<< HEAD

Installation : make make install

In the program make file include the installation path "IPATH" as the following: ifort -IIPATH/MOD

To call a librairy, compile with the following options : ifort -IIPATH/MOD -c myprog.f90 -o exec -LIPATH/LIB -lmylib

===============================

News :

Since Intel stopped there non-commercial license, the library is ported to the GNU FORTRAN compiler gfortran. The Intel compiler should still be supported. The library compiles with gfortran from Homebrew gcc 6.1.0_1 and GCC 7.2.

Requirement :

netcdf lapack fftw

Installation :

make make install

Usage :

In the program make file include the installation path "IPATH" as the following: CF -IIPATH/MOD

To call a librairy, compile with the following options : CF -IIPATH/MOD -c myprog.f90 -o exec -LIPATH/LIB -lmylib

where CF is your favorite fortran compiler.

f68c88dba04320fe3fd5b93242bdec0455f3b2f0

and "use module_name" has to be place before the implicit none of the main program file.

mylib has to be raplaced with one the following librairy names :

  • tecplot a tecplot_io module for read and writing acsii tecplot files

  • interp a interpolation module containing 1d and 2 routines

  • sepctral psd, coherence, cross-psd, auto/cross-correlation of real8 and complex16 varialbes. And more..

  • even more to be described

TODO : put some examples, do a real wiki <<<<<<< HEAD

=======

f68c88dba04320fe3fd5b93242bdec0455f3b2f0

About

Same as fortran_lib but ported to gfortran

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published