Difference between revisions of "Fortran"
From mn/geo/geoit
Basal@uio.no (talk | contribs) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == Fortran | + | === <span style="font-family:arial,helvetica,sans-serif">General '''RTENOTITLE''' Tips</span> === |
+ | |||
+ | <span style="font-family:arial,helvetica,sans-serif">GNU and intel compilers are both available on our servers. We have a very limited number of licenses for intel compilers so we suggest you to use GNU compilers for all your development.</span> | ||
+ | |||
+ | <span style="font-family:arial,helvetica,sans-serif">There is a default GNU compiler but it may be a quite old version. If you wish to use a newer version:</span> | ||
+ | <pre>module avail gcc</pre> | ||
+ | it returns the list of available versions. | ||
+ | <pre>module load gcc/4.9.0</pre> | ||
+ | <span style="font-family:arial,helvetica,sans-serif">It loads GNU compilers 4.9.0 (both Fortran, C and C++ compilers).</span> | ||
+ | |||
+ | <span style="font-family:arial,helvetica,sans-serif">Intel compilers are available by default on our UIO servers but on abel, you would need to load it:</span> | ||
+ | <pre>module load intel</pre> | ||
+ | ==== <span style="font-family:arial,helvetica,sans-serif">Other Fortran materials</span> ==== | ||
+ | |||
+ | *<span style="font-family:arial,helvetica,sans-serif">Gunnar Wollan has compiled a set of documents at [http://folk.uio.no/gunnarw/GEO4060/ http://folk.uio.no/gunnarw/GEO4060/] and you can also find some of his documents at [http://www.uio.no/studier/emner/matnat/geofag/GEF4510/h12/index.html http://www.uio.no/studier/emner/matnat/geofag/GEF4510/h12/index.html]</span> | ||
− | + | *<span style="font-family:arial,helvetica,sans-serif">An interesting free tutorial at [http://www.fortrantutorial.com/ http://www.fortrantutorial.com/] You can skip the installation of silverfrost compilers if you already have a Fortran compiler installed on your machine or if you are using sverdrup.uio.no</span> | |
− | = | + | *<span style="font-family:arial,helvetica,sans-serif">The National Computational Infrastructure in Australia has class notes online for a Basic Fortran course ([http://nf.nci.org.au/training/FortranBasic/ http://nf.nci.org.au/training/FortranBasic/]) and an Advanced Fortran course ([http://nf.nci.org.au/training/FortranAdvanced/ http://nf.nci.org.au/training/FortranAdvanced/]).</span> |
− | * | + | *<span style="font-family:arial,helvetica,sans-serif">Fortran Wiki [http://fortranwiki.org/fortran/show/HomePage http://fortranwiki.org/fortran/show/HomePage]</span> |
− | |||
− | + | == Fortran free compilers == | |
− | |||
− | + | For a more exhaustive list of free Fortran compilers, I suggest you check [http://www.thefreecountry.com/compilers/fortran.shtml http://www.thefreecountry.com/compilers/fortran.shtml] | |
− | |||
− | + | [[Category:Fortran]]<br/>[[Category:Software]]<br/>[[Category:Tools]] | |
− | Fortran |
Latest revision as of 17:38, 30 January 2015
General RTENOTITLE Tips
GNU and intel compilers are both available on our servers. We have a very limited number of licenses for intel compilers so we suggest you to use GNU compilers for all your development.
There is a default GNU compiler but it may be a quite old version. If you wish to use a newer version:
module avail gcc
it returns the list of available versions.
module load gcc/4.9.0
It loads GNU compilers 4.9.0 (both Fortran, C and C++ compilers).
Intel compilers are available by default on our UIO servers but on abel, you would need to load it:
module load intel
Other Fortran materials
- Gunnar Wollan has compiled a set of documents at http://folk.uio.no/gunnarw/GEO4060/ and you can also find some of his documents at http://www.uio.no/studier/emner/matnat/geofag/GEF4510/h12/index.html
- An interesting free tutorial at http://www.fortrantutorial.com/ You can skip the installation of silverfrost compilers if you already have a Fortran compiler installed on your machine or if you are using sverdrup.uio.no
- The National Computational Infrastructure in Australia has class notes online for a Basic Fortran course (http://nf.nci.org.au/training/FortranBasic/) and an Advanced Fortran course (http://nf.nci.org.au/training/FortranAdvanced/).
- Fortran Wiki http://fortranwiki.org/fortran/show/HomePage
Fortran free compilers
For a more exhaustive list of free Fortran compilers, I suggest you check http://www.thefreecountry.com/compilers/fortran.shtml