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

Compilation error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2004, 02:25
Default Compilation error
  #1
Karthick
Guest
 
Posts: n/a
Hello all

I am getting the following error while compiling my udf in Fluent 6.1. My udf file is in the same directory as the case and data files.

Make sure that UDF source files are in the directory that contains your case and data files. If you have an existing dum directory, please remove this directory to ensure that the latest files are used.The system cannot find the file specified.

1 file(s) copied. (system "move user_nt.udf dum\ntx86\3ddp")0 (system "copy C:\fluent.inc\fluent6.1\src\makefile_nt.udf dum\ntx86\3ddp\makefile") 1 file(s) copied. 0 (chdir "dum")() (chdir "ntx86\3ddp")() 'nmake' is not recognized as an internal or external command, operable program or batch file. 'nmake' is not recognized as an internal or external command, operable program or batch file.

How can I get rid of this error?

Regards Karthick
  Reply With Quote

Old   April 15, 2004, 05:33
Default Re: Compilation error
  #2
Szabolcs Varga
Guest
 
Posts: n/a
Dear Karthick , I had the very same question 2 days ago. Please look at the answer that I got below: " nmake is not recognized as an internal or external command

means that FLUENT can't find Microsoft Visual Studio command line compiler. You have to install it and to set PATH in order to use compiled UDF on a Windows platform. "

Hi

ap " The only thing that I do not know yet is from where I could get this compiler. There is nothing referred to it in the Fluent manuals.

Regards, Szabolcs
  Reply With Quote

Old   April 16, 2004, 01:07
Default Re: Compilation error
  #3
Karthick
Guest
 
Posts: n/a
Dear Szabolcs Varga

Thanks for your reply. But I've already installed the Microsoft Visual studio in my system. Can you please tell me how I can specify the path for Visual studio?

Regards Karthick
  Reply With Quote

Old   April 16, 2004, 03:21
Default Re: Compilation error
  #4
Szabolcs Varga
Guest
 
Posts: n/a
Dear Karthick, Sorry I can't, but if I am not mistaken it was discussed here some time ago, although that time I did not pay to much attention. Could you please help me out from where I could get the Microsoft Visual studio compiler? Does it make part of the Fluent isntallation media or if not is there a downloadable version? Regards, Szabolcs
  Reply With Quote

Old   April 16, 2004, 03:45
Default Re: Compilation error
  #5
Karthick
Guest
 
Posts: n/a
Dear Szabolcs Varga,

Sorry, I am having Microsoft Visual Studio full edition in my system. It is provided with Visual studio compiler. I don't think it will come as part of Fluent Installation program. U can get downloadable version from Microsoft website. But it will take more time.

But instead of compiling, my udf is interpreting well. But when I try to give iterations, it is showing ACCESS_VIOLATION ERROR. What may be the possible reasons?

Regards Karthick
  Reply With Quote

Old   April 16, 2004, 13:36
Default Re: Compilation error
  #6
Mahesh
Guest
 
Posts: n/a
For Compiled UDF, one requires VC++ 6.0 with service pack 5. While loading VC++, it will ask to register the environment variables. Select that option.

If u r using windows system. Do one thing, check the environment variables(path,lib,MSDevDir and one more). If not, set them accordingly.

Regards, Mahesh
  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
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
OpenFOAM install on Ubuntu Natty 11.04 bkubicek OpenFOAM 13 May 26, 2011 05:48
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 04:00.