CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Code developing Fortran compiler (https://www.cfd-online.com/Forums/main/125859-code-developing-fortran-compiler.html)

leo_NM November 1, 2013 20:28

Code developing Fortran compiler
 
Good night

I'm dealing with CFD for more than a year now, I'm now realizing the need to fully understand CFD (physics, mathematics, numerical methods and coding).

For this purpose I'm thinking in develop my own code. The first step was to decide which language I would use. I considered a lot of then but Fortran 90 seems to be the most used in CFD and the one with more examples.

I'm now searching for a compiler to use. My intention is to keep the project free so, use an proprietary compiler is not an option.

My question is: Is there anyone with experience in developing an CFD code using free compilers ? what's the best one ?

The only one I've heard is:
http://www.g95.org/

thank you !

rmh26 November 6, 2013 00:19

GCC has a Fortran front end also known as GFORTRAN which gives very nice results

http://gcc.gnu.org
http://gcc.gnu.org/wiki/GFortran

There are other options like LLVM/dragonegg or open64. There are probably a few other open source Fortran compilers. GFORTRAN is probably the best supported compiler for fortran and receives regular updates and has nice documentation.

cfdnewbie November 6, 2013 16:30

INTEL has a Fortran compiler which is free for private use, and I find it to be faster than the GNU one.


All times are GMT -4. The time now is 05:08.