CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   I have an error with UDF into ANSYS CFX 11.0 (https://www.cfd-online.com/Forums/cfx/26192-i-have-error-udf-into-ansys-cfx-11-0-a.html)

Minh Ngoc July 31, 2008 23:46

I have an error with UDF into ANSYS CFX 11.0
 
Hi everyone!

I have an error when run "cfx5mkext.exe" that: --------------------- C:\Program Files\Ansys Inc\v110\CFX\bin>cfx5mkext An error has occurred in cfx5mkext:

No source file has been specified ---------------------------- Would you help me to this problem? Thank you very much!

MoRR August 1, 2008 10:25

Re: I have an error with UDF into ANSYS CFX 11.0
 
1. type 'ifortvars' before that command and enter 2. then type 'cfx5mkext test.F' (use any fortran file just to check whether its iable to compile)


Minh Ngoc August 2, 2008 23:59

problem again!
 
Hi Morr, Thank you very much for helping me. Can you help me once more? This is another error happened. I will tell you in exact details. I'm using CFX 11.0 and Win XP PS2. In order to use UserFortran, I installed: 1. Visual C++ 2005 Express Edition 2. Microsoft Platform SDK for Win XP PS2 3. Intel Fortran Compiler 9.1

However when running cfx5mk, this warnings appeared:

Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.

C:\>cd C:\Program Files\ANSYS Inc\v110\CFX\bin

C:\Program Files\ANSYS Inc\v110\CFX\bin>cfx5mkext

Use of uninitialized value in substitution (s///) at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1731. Use of uninitialized value in rindex at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/PathManip.pm line 356. Use of uninitialized value in length at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/PathManip.pm line 356. Use of uninitialized value in concatenation (.) or string at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1756. Use of uninitialized value in concatenation (.) or string at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1765. Use of uninitialized value in concatenation (.) or string at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1776. Use of uninitialized value in sprintf at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1781. C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\Bin\ifort -threads -dll -exe:.\ winnt\\.dll C:\Program Files\ANSYS Inc\v110\CFX\lib\winnt\solver-mpichnt.lib Intel(R) Fortran Compiler for 32-bit applications, Version 9.1 Build 20070322 Z Package ID: W_FC_C_9.1.037 Copyright (C) 1985-2007 Intel Corporation. All rights reserved.

ifort: warning: Microsoft Visual C++ not found in path

Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved.

-out:.\winnt\\.dll.dll -dll -implib:.\winnt\\.dll.lib "C:\Program Files\ANSYS Inc\v110\CFX\lib\winnt\solver-mpichnt.lib" LINK : warning LNK4001: no object files specified; libraries used LINK : warning LNK4068: /MACHINE not specified; defaulting to X86 LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 .\winnt\\.dll.dll : fatal error LNK1120: 1 unresolved externals

And another one:

Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.

C:\>ifortvars

Intel(R) Visual Fortran Compiler 9.1.037 Build Environment for 32-bit applications Copyright (C) 1985-2007 Intel Corporation. All rights reserved.

Setting environment for using Microsoft Visual Studio 2005 x86 tools.

Attempting to detect a Microsoft Visual Studio installation

Targeting Windows XP 32 DEBUG

I would be grateful if anyone can help me to deal with this! Thank you very much!


Lan August 3, 2008 05:53

Re: problem again!
 
may be you can use the win sp1 edtion.


Minh Ngoc August 4, 2008 04:57

Re: problem again!
 
Thank you Lan but I prefer Win xp ps2 Edition. Maybe I installed UserFortran in CFX 11.0 in a wrong way. Can you instruct me how to install it, steps by steps? Thank you very much!

Hung August 18, 2008 03:07

Re: I have an error with UDF into ANSYS CFX 11.0
 
Could you help me how run cfx5mkext to create share libarry.Please step by step Thanks


All times are GMT -4. The time now is 23:30.