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

parallel UDF problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 14, 2006, 13:31
Default parallel UDF problem
  #1
kerem
Guest
 
Posts: n/a
hi everbody,

i am having trouble within a DEFINE_ADJUST macro, with the use of node_to_host and host_to_node macros. I'm using an interpreted UDF.

The serial version of the UDF runs normally when it is run parallely - of course generating incorrect results due to lack of communication. The problem with the parallel UDF also disappears once I delete the lines containing node_to_host and host_to_node macros. So the problem is definately caused by the use of these macros.

Should I use compiled UDF instead? Or is there any other rule that I am breaching?

The error I get is "Floating point error: invalid number". And while interpreting the UDF there is no problem. I get the error when I start running the simulation.

To experiment with this error, I typed a much simpler DEFINE_ADJUST macro containing almost only a single host_to_node macro, and i am still getting the same error.

Thanks for any help.

Peace.
  Reply With Quote

Old   June 19, 2006, 11:58
Default Re: parallel UDF problem
  #2
Tom
Guest
 
Posts: n/a
Karem,

Are you using a cluster of several machines, or a large SMP (shared memory) machine? I have a similiar issue, although using a compiled UDF that doesn't throw an error, but rather stops executing and seems to enter an infinite loop. I'm afraid I can't help yet, but I'd like to know if you have the same problem I do.

Many thanks,

Tom
  Reply With Quote

Old   June 20, 2006, 06:56
Default Re: parallel UDF problem
  #3
kerem
Guest
 
Posts: n/a
Hi Tom,

i am using a SMP with a double core processor running on WinXP. I have also access to a Linux cluster but i haven't tried it there.

Is yours also a host<->node communication issue?

I've actually put this thing aside for a while, but will be back to it soon. Please drop a line if you find something.

Regards,

Kerem
  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
UDF parallel Lucy Fluent UDF and Scheme Programming 3 May 28, 2013 13:14
problem loading UDF library in parallel cluster Veera Gutti FLUENT 7 July 3, 2011 09:15
Parallel UDF problem Lindsay FLUENT 0 November 7, 2008 05:31
UDF in parallel version. yobee FLUENT 0 August 17, 2004 04:12
parallel mode - small problem? co2 FLUENT 2 June 1, 2004 23:47


All times are GMT -4. The time now is 06:00.