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

Compiling UDF on a cluster

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2009, 11:49
Default Compiling UDF on a cluster
  #1
New Member
 
Join Date: Dec 2009
Posts: 1
Rep Power: 0
Adya is on a distinguished road
Hello All,

I am trying to compile a UDF on cluster(multiple nodes). If I run Fluent interactively on the cluster it compiles fine and I am able to link the UDF files with the case file. But when I submit a job on the cluster I get an error that says the UDF file cannot be found. My job file looks like this:

/file/rcd/nethome/users/sa5kb/SJA/Case1/test/Case1-finemesh.cas
/define/user-defined/compiled/compile/libudfyes vel_piston.c""
/define/user-defined/compiled/load/libudf /nethome/users/sa5kb/SJA/Case1/test/libudf/lnamd64/2ddp/libudf.so
/solve/iterate 10000
/file/wd /nethome/users/sa5kb/SJA/Case1/test/Case1-finemesh.dat
/exit


This job file compiles the C program but is not able to find and link the compiled UDF with the case file. Is there anything wrong in the way I am doing it?
Adya is offline   Reply With Quote

Old   December 14, 2009, 12:30
Default
  #2
Member
 
Michele Vascellari
Join Date: Mar 2009
Posts: 70
Rep Power: 17
mighelone is on a distinguished road
I have never compiled udf, during a job, so I'm guessing....

from which path do you launch your job? Do you move to the working directory in the script file, otherwise the working directory is the home.

Probably fluent compiles the udf library in the home directory o somewhere else.
Try to look up the libudf directory generated during compilation, using

find $HOME -name "*libudf*"

regards

Michele
mighelone is offline   Reply With Quote

Reply

Tags
udf compilation


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem loading UDF library in parallel cluster Veera Gutti FLUENT 8 July 26, 2016 08:24
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 08:14
Help: how to realize UDF on parallel cluster? Haoyin FLUENT 1 August 6, 2007 14:53
On Compiling a UDF David Chabot FLUENT 5 May 20, 2005 10:13


All times are GMT -4. The time now is 14:34.