CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Problem with the FORTRAN compiler (https://www.cfd-online.com/Forums/cfx/70697-problem-fortran-compiler.html)

Eduardo December 2, 2009 13:41

Problem with the FORTRAN compiler
 
Hi I am using CFX 12 in Linux but also I have it in Windows Platform. I wrote a FORTRAN routine that I successfully compile and run together with CFX solve in windows. However when try to do the same in Linux it does not work. Actually the problem is at the compiling step. When I run from the OS linux window the following line:
Cfx5mkext myroutine.F
It shows the following error message:
“The compiler command “pgf95” or “ifort” or “gfortran” or “g77” could not be found. Please ensure that the compiler is on your path
I have check and I have installed the intelfortran and gccfortran on my machine.
My cfx5mkext file is on a directory and the fortran compilers are in others. Could this be the reason?
Could anyone give a help?
Regards,
Eduardo

rogbrito December 2, 2009 15:01

http://www.cfd-online.com/Forums/cfx...-compiler.html
:)

Quote:

Originally Posted by Eduardo (Post 238533)
Hi I am using CFX 12 in Linux but also I have it in Windows Platform. I wrote a FORTRAN routine that I successfully compile and run together with CFX solve in windows. However when try to do the same in Linux it does not work. Actually the problem is at the compiling step. When I run from the OS linux window the following line:
Cfx5mkext myroutine.F
It shows the following error message:
“The compiler command “pgf95” or “ifort” or “gfortran” or “g77” could not be found. Please ensure that the compiler is on your path
I have check and I have installed the intelfortran and gccfortran on my machine.
My cfx5mkext file is on a directory and the fortran compilers are in others. Could this be the reason?
Could anyone give a help?
Regards,
Eduardo


joey2007 December 2, 2009 16:28

Did you start ifortvars before compiling?


All times are GMT -4. The time now is 19:40.