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

help please for fortran!!!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 26, 2005, 08:52
Default help please for fortran!!!
  #1
brian
Guest
 
Posts: n/a
hi! i would like to use the g95 or gfortran compiler (ones of the few free ones)to compile a fortran subroutine on Windows. But i don't know how to modify the cfx5mkext.ccl? thanks a lot
  Reply With Quote

Old   May 26, 2005, 09:20
Default Re: help please for fortran!!!
  #2
Juan Carlos
Guest
 
Posts: n/a
Hi,

Even if you modify the cfx5mkext.ccl file to obtain a shared library, are you sure that g95/gfortran produce code compatible with the CFX solver executable?. CFX-5.7.1 requires CVF 6.5 as far as I recall.

cl = C compiler executable fc = Fortran compiler executable, like g95 link = linker executable

Then, there are a series of flags to pick up header (cpp include directive) files, threads functionality, shared library output, etc..

Hope it helps, Juan Carlos

PS. I recall that g77 had problems linking with pgf on Linux, in particular I/O functionality.. Are you ready to deal with that kind of obscure errors later?
  Reply With Quote

Old   May 27, 2005, 05:09
Default Re: help please for fortran!!!
  #3
brian
Guest
 
Posts: n/a
thanks for your help I 'm aware of the problem of g77 on linux: no double precision possible and no I /O. I guess (but I hope no) i will have the same problem with gfortran or g95 on windows but for the moment i'm not really ready to buy CVF (600$ It'a a ltitle expensive). and i would like to use a routine fortran before to invest in this software. To do this i need much information. i wonder if sb has already succeed in this??? or if sb has useful knowledge?? thanks
  Reply With Quote

Old   May 31, 2005, 21:35
Default Re: help please for fortran!!!
  #4
Jeff
Guest
 
Posts: n/a
Worse!

Your dll generated from cfx5mkext has to link with the cfx solver library. This library is compiled with CVF. I haven't found anything else that is binary compatible with this library, including Intel Fortran. The DLL's simply have to be compiled with CVF or they won't link with the cfx object library.

Jeff
  Reply With Quote

Old   June 1, 2005, 05:36
Default Re: help please for fortran!!!
  #5
brian
Guest
 
Posts: n/a
OK , thanks for your help. i guessed the Intel compiler would work because it's rather near to the compaq one but it won't. What a shame no other compiler worked!

thanks everyone
  Reply With Quote

Reply

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



All times are GMT -4. The time now is 03:24.