CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Error in opening the UDF library

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

LinkBack Thread Tools Display Modes
Old   December 9, 2006, 22:20
Default Error in opening the UDF library
Posts: n/a

I am trying to load my UDf library.It's working fine while building the library.I am experiencing the below error while trying to load the library

Opening UDF library Error open_UDF_library:The system cannot find the file specified

The log file says:" 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : U1077: 'cl' : return code '0x1' Stop."

I have Microsoft visual installed on my system. If u have a clue on this error,pls let me know.


  Reply With Quote

Old   December 9, 2006, 22:42
Default Re: Error in opening the UDF library
Posts: n/a
You need to setup the compilation environment before you run Fluent. If your VS .net is installed under: C:\Program Files\ You should run the following command before you run Fluent if you want to compile UDFs: C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat
  Reply With Quote

Old   December 10, 2006, 00:52
Default Re: Error in opening the UDF library
Posts: n/a
Now it is giving the error "The application has failed to start because mspdb71.dll was not found".

  Reply With Quote

Old   December 11, 2006, 17:19
Default Re: Error in opening the UDF library
Posts: n/a
I was in the same situation. My OS is Windows XP. Microsoft Visual Studio is installed. Here is what I did to fix it. Hope you can get some clue.

Go to 'Control Panle' -> 'Performance and Maintenance' -> 'System' -> 'Advanced' Tab -> 'Environment Variables'

Create environment variables and enter values as follow:

include = C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include

lib = C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib

MSDevDir = C:\Program Files\Microsoft Visual Studio\Common\MSDev98

Path = C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;c:\\ntbin\ntx86

I just copied these values from another computer where UDF works well. Maybe some of these values are not necessary. By the way, your udf library was not built successfully. If everything is correct, you should have a libudf.dll file in the same folder as the log file is in.
  Reply With Quote


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
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
problem loading UDF library in parallel cluster Veera Gutti FLUENT 7 July 3, 2011 09:15
Error in opening UDF library anon_d Fluent UDF and Scheme Programming 4 May 21, 2011 02:10
error open udf library adjie_mesin06 Main CFD Forum 1 October 27, 2010 01:49
fluent UDF external library lapack problem Rick FLUENT 0 May 7, 2008 10:16

All times are GMT -4. The time now is 09:46.