|
[Sponsors] |
September 4, 2008, 11:55 |
UDF Compile Error
|
#1 |
Guest
Posts: n/a
|
I am using parrallel fluent on a windows maching with two processors. When I build my udf library I get a 'nmake' is not recognized as an internal or external command, operable program or batch file error. Then, when I load the library I get another error that says Error: open_udf_library: The system cannot find the file specified. Any ideas?
Thanks, Zach |
|
September 4, 2008, 22:15 |
Re: UDF Compile Error
|
#2 |
Guest
Posts: n/a
|
Fluent cannot find your system compilers. You need to have a C compiler to use the compiled udf function. If it is a basic udf, interpreted udf might work.
Good luck. |
|
September 5, 2008, 03:28 |
Re: UDF Compile Error
|
#3 |
Guest
Posts: n/a
|
I do already have a compiler installed (visual studio). Any other ideas?
|
|
September 5, 2008, 04:01 |
Re: UDF Compile Error
|
#4 |
Guest
Posts: n/a
|
that may be because of the compiler type. as I have had such problems, in some cases, there seems the system rather tries to find a CPP compiler nor the visual compilers.
|
|
September 6, 2008, 04:23 |
Re: UDF Compile Error
|
#5 |
Guest
Posts: n/a
|
Hi, i've got this kind of problem some times ago, the solution in my case was installing Visual Studio and Fluent in the same root directory, if you have already done that try changing the folder with another like \C because i think long path files are not good. I hope this helps
|
|
September 11, 2008, 07:42 |
Re: UDF Compile Error
|
#6 |
Guest
Posts: n/a
|
There is a newer forum discussion on this which may be helpful (http://www.cfd-online.com/Forum/fluent.cgi?read=60629), I posted the following.
********************* I had the same issue. You need to use the "Visual Studio Command Prompt" from the start menu in windows to launch fluent. If you are using a 64-bit system use the 64-bit version not the standard i.e. for me I use "Visual studio 2008 x64 Win64 Command Prompt". Also make sure you launch fluent from the directory containing the C files! Hope this helps! |
|
September 20, 2008, 07:35 |
Re: UDF Compile Error
|
#7 |
Guest
Posts: n/a
|
i also get he similar problem before, i solved this problem by downloading nmake utility from folling id http://support.microsoft.com/default...;en-us;Q132084
execute it and also keep that utility in your \windows\system 32 folder that will solve my problem. You can try this |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error msg when compile the udf | brusly | FLUENT | 0 | December 2, 2007 10:11 |
UDF Compile Error | Quak | FLUENT | 3 | July 20, 2005 08:31 |
help!udf compile error | Fred | FLUENT | 4 | June 21, 2005 00:05 |
UDF compile error | tony | FLUENT | 1 | May 10, 2005 05:47 |
Help! UDF Compile Error | Michael | FLUENT | 1 | January 18, 2002 16:24 |