|
[Sponsors] |
April 15, 2004, 03:25 |
Compilation error
|
#1 |
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 |
|
April 15, 2004, 06:33 |
Re: Compilation error
|
#2 |
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 |
|
April 16, 2004, 02:07 |
Re: Compilation error
|
#3 |
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 |
|
April 16, 2004, 04:21 |
Re: Compilation error
|
#4 |
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
|
|
April 16, 2004, 04:45 |
Re: Compilation error
|
#5 |
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 |
|
April 16, 2004, 14:36 |
Re: Compilation error
|
#6 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 12:39 |
OpenFOAM install on Ubuntu Natty 11.04 | bkubicek | OpenFOAM | 13 | May 26, 2011 06:48 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |