CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Problem with the FORTRAN compiler

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2009, 13:41
Default Problem with the FORTRAN compiler
  #1
New Member
 
Eduardo
Join Date: Aug 2009
Posts: 5
Rep Power: 16
Eduardo is on a distinguished road
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
Eduardo is offline   Reply With Quote

Old   December 2, 2009, 15:01
Default
  #2
Senior Member
 
Jack
Join Date: Mar 2009
Posts: 106
Rep Power: 16
rogbrito is an unknown quantity at this point
http://www.cfd-online.com/Forums/cfx...-compiler.html


Quote:
Originally Posted by Eduardo View Post
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 is offline   Reply With Quote

Old   December 2, 2009, 16:28
Default
  #3
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17
joey2007 is on a distinguished road
Did you start ifortvars before compiling?
joey2007 is offline   Reply With Quote

Reply

Tags
cfx 12, fortran, linux


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel Fortran Compiler & Tutorial 17 Young CFX 1 March 30, 2011 01:39
Fortran compiler problem Luke Siemens 2 September 18, 2008 03:43
CFX and Fortran Compiler Integration Rob CFX 2 April 26, 2007 00:46
Fortran compiler Arnab Siemens 5 September 14, 2004 03:59
problems with intel fortran compiler ryoga Main CFD Forum 3 September 24, 2003 11:42


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