CFD Online URL
[Sponsors]
Home > Forums > CFX

Problem with the FORTRAN compiler

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 2, 2009, 14:41
Default Problem with the FORTRAN compiler
  #1
New Member
 
Eduardo
Join Date: Aug 2009
Posts: 5
Rep Power: 7
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, 16:01
Default
  #2
Member
 
Rogerio Brito
Join Date: Mar 2009
Location: Brazil
Posts: 99
Rep Power: 6
rogbrito is an unknown quantity at this point
Send a message via Skype™ to rogbrito
CFX11 + Fortran compiler ?


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, 17:28
Default
  #3
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 168
Rep Power: 7
joey2007 is on a distinguished road
Did you start ifortvars before compiling?
joey2007 is offline   Reply With Quote

Reply

Tags
cfx 12, fortran, linux

Thread Tools
Display Modes

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 On
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 02:39
Fortran compiler problem Luke CD-adapco 2 September 18, 2008 04:43
CFX and Fortran Compiler Integration Rob CFX 2 April 26, 2007 01:46
Fortran compiler Arnab CD-adapco 5 September 14, 2004 04:59
problems with intel fortran compiler ryoga Main CFD Forum 3 September 24, 2003 12:42


All times are GMT -4. The time now is 06:53.