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

UDF Compile Error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 4, 2008, 11:55
Default UDF Compile Error
  #1
Zach
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
  Reply With Quote

Old   September 4, 2008, 22:15
Default Re: UDF Compile Error
  #2
Daniel Tanner
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.
  Reply With Quote

Old   September 5, 2008, 03:28
Default Re: UDF Compile Error
  #3
Zach
Guest
 
Posts: n/a
I do already have a compiler installed (visual studio). Any other ideas?
  Reply With Quote

Old   September 5, 2008, 04:01
Default Re: UDF Compile Error
  #4
doki
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.
  Reply With Quote

Old   September 6, 2008, 04:23
Default Re: UDF Compile Error
  #5
Fabio
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
  Reply With Quote

Old   September 11, 2008, 07:42
Default Re: UDF Compile Error
  #6
Daniel Tanner
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!

  Reply With Quote

Old   September 20, 2008, 07:35
Default Re: UDF Compile Error
  #7
Madusuthanan
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
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error msg when compile the udf brusly FLUENT 0 December 2, 2007 11: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 17:24


All times are GMT -4. The time now is 21:11.