CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   ansys-cfx12 CEL function error (https://www.cfd-online.com/Forums/cfx/87312-ansys-cfx12-cel-function-error.html)

Rada April 17, 2011 04:28

ansys-cfx12 CEL function error
 
Hi all,

I'm working with an User Fortran routine interfacing with ansys cfx.
my problem is look like cfx-tutorial chapter 19 under title of "air conditioning". as the test case for linking CEL I did all options in this tutorial but when I write Command
( ! system ("cfx5mkext TStat_Control.F") == 0 or die "cfx5mkext failed"; ) in command line, The following error appears.

"ERROR
CCL parser failed with message:
Perl Syntax errors detected:
cfx5mkext failed at(eval 86) line1. "

In fact I couldn't run cfx tutorial at first step!!!
could anyone help me about this error???
Thanks to all, and thanks to CFDonline!!

joey2007 April 18, 2011 15:22

For windows:
  • use a command line tool for compiling
  • use ifortvars script from intel to set the environment and path variables
  • if you really want to exactly like the tutorial you have to:
    • start a command line
    • ifortvars
    • start cfx5pre on this command line

Rada April 19, 2011 02:18

Quote:

Originally Posted by joey2007 (Post 304109)
For windows:
  • use a command line tool for compiling
  • use ifortvars script from intel to set the environment and path variables
  • if you really want to exactly like the tutorial you have to:
    • start a command line
    • ifortvars
    • start cfx5pre on this command line

dear joey
thanks for your answer.
which programs should i install for comiling?
I think the error is because of having no program for compiling!!!
best regards

joey2007 April 22, 2011 14:13

windows: intel compiler plus some development kits from microsoft. Do not have exactly in mind which. Check help or manual.
linux: portland group or gnufortran

Rada April 26, 2011 03:09

which version
 
thanks Dear joey
which version of "intel fortran compiler" should I install for ansys V12??
should I install "microsoft sdk platform"??
the Error I face with is ((The compiler command "ifort" could not be found.Please ensure that the compiler is on your PATH and try again)).
thanks alot

joey2007 April 26, 2011 04:10

Do not know. Check the manual for that.


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