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

CFX and Fortran Compiler Integration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2007, 10:58
Default CFX and Fortran Compiler Integration
  #1
Rob
Guest
 
Posts: n/a
HI, i have CFX 10 and Intel fortran compiler 9, and i cant work out how to get CFX commands to compile. I am trying to use cfx5mkext and the compiler doesnt recognise it. If anyone has any ideas how to get the two programs working or knows of a different compiler that can carry out this command could you please advise me?. Its windows based software. I have just a few small files to compile, if anyone would be willing to compile them for me that would be great also, the files are small and its only the cfx5mkext that is required. Thanks! Rob
  Reply With Quote

Old   April 24, 2007, 17:48
Default Re: CFX and Fortran Compiler Integration
  #2
Stumpy
Guest
 
Posts: n/a
If you use CFX 11.0 then it will work OK with the Intel Compiler. The compiler for CFX 10.0 on Windows was Compaq Visual Fortran, but that's no longer available. I think there's a way to get the Intel compiler to work with CFX 10.0 - CFX support would probably know how to do that.
  Reply With Quote

Old   April 26, 2007, 01:46
Default Re: CFX and Fortran Compiler Integration
  #3
huangfuxiaotao
Guest
 
Posts: n/a
i uses cvf to explain this problem. Setting environment variable will be ok.

set path= set include= set lib= set cfxroot="your cfx installed path" set fortranroot="your fortran installed path"

call %fortranroot%\bin\DFVARS.BAT set path=%path%;%cfxroot%\bin;%cfxroot%\bin\winnt;%Sys temRoot%\system32;%SystemRoot%;%SystemRoot%\System 32\Wbem; set include=%inlcude%;%cfxroot%\include set lib==%lib%;%cfxroot%\lib

cfx5mkext yourprogram
  Reply With Quote

Reply


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
How to set environmental variables of Intel Fortran +CFX? Christine MO CFX 0 September 23, 2011 12:11
Intel Fortran Compiler & Tutorial 17 Young CFX 1 March 30, 2011 02:39
Fortran Compiler and example Young CFX 1 March 22, 2011 23:26
CFX 12.0, user fortran error songxguan CFX 3 December 23, 2009 16:24
Intel Fortran and CFX 11.0 Rogerio Fernandes Brito CFX 4 November 11, 2008 01:27


All times are GMT -4. The time now is 14:37.