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

Fortran77 or Fortran 90

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2002, 19:32
Default Fortran77 or Fortran 90
  #1
Swapnil
Guest
 
Posts: n/a
Hi all,

1) Does CFX support Fortran 90 and if yes please mention the name of the Fortran 90 compiler?

2)What changes one has to make in the template fortran file provided by CFX ( i guess it's written in fortran 77)

3) What changes one has to make in the cfx5mkext.ccl so as to use Fortran 90

Thanks,

Swapnil.

P.S I am a C language user. CFX is forcing me to learn Fortran.
  Reply With Quote

Old   November 26, 2002, 06:32
Default Re: Fortran77 or Fortran 90
  #2
Michael Schwinne
Guest
 
Posts: n/a
Hi,

I am using CFX-5.5.1. AEA recommends the use of Fortran77, but you can also use Fortran90. We use the Portland Group Compiler. I had to change the .h-files attached to CFX (MMS.h cfx5ext.h), as annotation starts with "!" instead of "C" in F90. There are no changes required in the ccl-file.

Michael
  Reply With Quote

Old   November 26, 2002, 16:16
Default Re: Fortran77 or Fortran 90
  #3
Robin
Guest
 
Posts: n/a
Hi Swapnil,

Actually, you can write your user functions in any language you choose, C, C++, Fortran, etc. The only difference is that the Memory Management System (MMS) is only available to Fortran code, thus Fortran is the language of choice.

Robin
  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
Fortran Compiler-CFX12.1 Araz CFX 13 March 27, 2017 06:37
memory ms visual fortran 6 vadim Main CFD Forum 0 December 20, 2008 14:01
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 hawk Main CFD Forum 1 April 12, 2005 23:13
visual fortran Monica Main CFD Forum 1 August 28, 2004 21:45
Why Favoring Fortran over C/C++? Zi-Wei Chiou Main CFD Forum 35 September 26, 2001 10:34


All times are GMT -4. The time now is 16:07.