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

compiling my UDF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 14, 2006, 01:53
Default Re: compiling my UDF
  #21
mAx
Guest
 
Posts: n/a
http://www.fluentusers.com/support/i...aq/openlib.htm ----------- Error: open_udf_library: The system cannot find the path specified Print-friendly

When trying to load a compiled UDF while running Fluent in Network Parallel you receive the error: Error: open_udf_library: The system cannot find the path specified

This error is because the other computer(s) on the cluster cannot "see" the udf through the network. Read and follow the instructions below. These changes have to take place on the computer that the compiled UDF, case and data file reside.

--------------------------------------------------------------------------------

Loading a Compiled UDF When Running Fluent Network Parallel Verify that the FLUENT.INC Environment Variables have been defined. Select the Start Menu, Programs, Fluent Inc Products, Fluent 6.1.xx, Set Environment. Choose YES to Modify. Edit the environment variable values so they don't have a local installation path, for example, C: \Fluent.Inc as all computers you are using to run FLUENT in network parallel must have access to the FLUENT.INC variables. Click on Start, Settings, Control Panel, System. Choose the Advanced Tab, choose Environment Variables. Edit the FLUENT_INC variable value using the network path format \\ followed by the computer name where FLUENT is installed. Edit the Path variable value using the network path format \\ followed by the computer name where FLUENT is installed.

After Edits Note: If you have compiled the UDF while running Fluent Network Parallel you MUST share the directory where the UDF is located so that all computers on the cluster can see this directory.

Share the directory that the case, data, and compiled UDF reside Right-click on the directory and choose Sharing from the menu. Click "Share this folder" Click OK. Note: When the directory is shared you will notice a "hand" under the directory. If you don't see the "Sharing" option contact your System Administrator. The share name, by default, will be the name of the folder/directory. The share name can be changed.

Open up a Command Prompt and browse to the directory where you have your case, data and source file. (The directory cannot contain spaces in the name, for example, C:\ Documents and Settings) Launch FLUENT. In the FLUENT window select Define, User Defined, Functions, Compiled. Choose the Add button to add your source file. Choose the Build button (as long as you are working in the directory that contains the source file you do not need to put a path to the directory in the Library Name box)

After the UDF has been successfully built in the Library Name panel it is necessary to type in the network path to the compiled UDF so that the computer nodes that you are spawning to can "see" the shared directory. Type in the name of the computer where the UDF resides using the \\ format. Type in the name of the shared directory where the UDF resides. In the example below, the shared directory name is "working". Type: libudf. Click Load.

There are many steps that must be taken in order to successfully compile and load UDF's while running FLUENT in Network Parallel.

Please see the document Compiling and Loading User Defined Functions (UDF's) running FLUENT Parallel for specific instructions.

  Reply With Quote

Old   February 14, 2006, 10:58
Default Re: compiling my UDF
  #22
Josh
Guest
 
Posts: n/a
Thank you very much! mAx.

I think this is the problem and I will follow the instructions to it.

Josh
  Reply With Quote

Old   February 14, 2006, 11:19
Default Re: compiling my UDF *NM*
  #23
www
Guest
 
Posts: n/a
  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
compiling udf at window Nt(64BIT) noa FLUENT 3 July 29, 2014 23:01
Compiling UDF on a cluster Adya FLUENT 1 December 14, 2009 12:30
UDF compiling problem in Flient 6.3 jeevan kumar FLUENT 2 February 25, 2009 01:43
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
On Compiling a UDF David Chabot FLUENT 5 May 20, 2005 09:13


All times are GMT -4. The time now is 01:05.