CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   intel visual Fortran 11 with CFX 5 (https://www.cfd-online.com/Forums/cfx/86679-intel-visual-fortran-11-cfx-5-a.html)

jiguozhao March 30, 2011 02:34

intel visual Fortran 11 with CFX 5
 
Dear All:
this problem drove me insane! it blocked me for a long long time and i could do nothing without overcoming it!
i want to compile a fortran file for creating a user function. so i followed air conditioning simulation in tutorial. but the compile step cannot be passed through.
my system is windows 7. ANSYS 12.1, Intel Fortran 11.1, both windows SDK 7.0 and 7.1 have been tried.
i copied ifortvars.bat and ifort.cfg to my working directory first, and make them pointing to SDK installing directory.
when i type "cfx5mkext TStat_Control.F", the error is "an error has occurred in cfx5mkext, H:/try to study/HVAC\ifort could not be started, or exited with return code 255: there are no more files."
please save me, friends!!
any advice will be appreciated!!
best regars
Ji Guozhao
g.ji@uq.edu.au

AliTr March 31, 2011 02:28

did you try to run it from "Interl(R) Visual Fortran..." command line, you should be able to find its shortcut in windows Programs list

if it still didn't work, run the PATH command on CFX command line window, copy whatever you see, and paste in a text file. do the same thing in "Interl(R) Visual Fortran..." command line window. Then merge both PATH commands in your text file and run the merged one in "Interl(R) Visual Fortran..." command line window. this should fix any addresing problem, then change the folder to your project and run CFX5MKEXT again.

for example I assume the PATH in first window gives this:

PATH=C:\Program Files (x86)\Intel

and the PATH command in second window gives you this:

PATH=C:\Program Files\ANSYS Inc

then the merged one would be:

PATH=C:\Program Files (x86)\Intel;C:\Program Files\ANSYS Inc


If this works you may use the new PATH to fix the configuration file as well.

CFXNewbie December 15, 2015 06:30

Quote:

Originally Posted by AliTr (Post 301612)
did you try to run it from "Interl(R) Visual Fortran..." command line, you should be able to find its shortcut in windows Programs list

if it still didn't work, run the PATH command on CFX command line window, copy whatever you see, and paste in a text file. do the same thing in "Interl(R) Visual Fortran..." command line window. Then merge both PATH commands in your text file and run the merged one in "Interl(R) Visual Fortran..." command line window. this should fix any addresing problem, then change the folder to your project and run CFX5MKEXT again.

for example I assume the PATH in first window gives this:

PATH=C:\Program Files (x86)\Intel

and the PATH command in second window gives you this:

PATH=C:\Program Files\ANSYS Inc

then the merged one would be:

PATH=C:\Program Files (x86)\Intel;C:\Program Files\ANSYS Inc


If this works you may use the new PATH to fix the configuration file as well.

Hi!

I have a very similar Problem. I try to work through tutorial 19 (Air conditioning), but after days compilation is not succesful :( I'm always getting the error

ERROR
CCL parser failed with message:
Perl Syntax errors detected:
cfx5mkext failed at (eval 15) line 1.

Before starting cfx pre, in command line i tried to set Environment variables:

include=C:\Program Files (x86)\Intel\ComposerXE-2011\compiler;C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\include\intel64

lib=C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\lib;C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\lib\intel64

path=C:\Program Files\ANSYS Inc\v150\CFX\bin;C:\Program Files (x86)\Intel\ComposerXE-2011\bin;C:\Program Files (x86)\Intel\ComposerXE-2011\bin\intel64;C:\Program Files (x86)\Intel\ComposerXE-2011\redist;C:\Program Files (x86)\Intel\ComposerXE-2011\redist\intel64;C:\Program Files (x86)\Intel\ComposerXE-2011\redist\intel64\compiler;C:\Program Files (x86)\Intel\ComposerXE-2011\redist\intel64\mkl;C:\Program Files (x86)\Intel\ComposerXE-2011\redist\intel64\mpirt;

and executed:

C:\Program Files (x86)\Intel\ComposerXE-2011\bin\ifortvars.bat

would be so glad, if anybody could help me!

Thank you!


Best regards,
Emil


All times are GMT -4. The time now is 15:09.