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

Parallel UDF-UDM Reserveration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2007, 08:13
Default Parallel UDF-UDM Reserveration
  #1
bernhard
Guest
 
Posts: n/a
Hello! I running fluent 6.3.21 3ddp on two nodes. Within my compiled UDF, there is a DEFINE_EXECUTE_ON_LOADING routine, which should reserve and name various UDMs. While working on a single CPU that works nicely, however in parallel, the UDF freezes, and/or gives floating point exceptions:

>int start=-1;
:Message("I am %i\n",myid);
:start=Reserve_User_Memory_Vars(10);
:Message("I am %i\n and my starting udms is %i",myid,start);
:Set_User_Memory_Name(0,"heating");
:...

I guess that the problem is that each command can only be executed on specific processes. But on which processes does one need to invoke the two commands? Honestly, searching the UDF manual did not reveal to much information..

Thank you very much, and nice greetings, Bernhard

  Reply With Quote

Old   December 2, 2010, 12:06
Default
  #2
New Member
 
Philipp Schapotschnikow
Join Date: Oct 2010
Posts: 11
Rep Power: 15
Philipp_Sch is on a distinguished road
Having exactly the same problem
Anybody knows the solution?
Philipp_Sch is offline   Reply With Quote

Old   December 2, 2010, 12:49
Default
  #3
New Member
 
Philipp Schapotschnikow
Join Date: Oct 2010
Posts: 11
Rep Power: 15
Philipp_Sch is on a distinguished road
I figured out the solution in the mean time. The only thing one has to do is add a " return; " at the end of (each) UDF.
Philipp_Sch is offline   Reply With Quote

Reply


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
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
udf compile in parallel system tahereh FLUENT 1 December 9, 2008 09:48
Help: how to realize UDF on parallel cluster? Haoyin FLUENT 1 August 6, 2007 13:53
Parallel Fluent +UDF Jack Martinez FLUENT 0 June 28, 2007 11:19
UDF in parallel version. yobee FLUENT 0 August 17, 2004 04:12


All times are GMT -4. The time now is 23:08.