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

Puzzled about communications between node(s) and host

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2011, 23:30
Default Puzzled about communications between node(s) and host
  #1
Member
 
Join Date: Mar 2011
Posts: 38
Rep Power: 15
aleisia is on a distinguished road
In parallelization of udf, I noticed the following paragraphy in "ufd manual":
"High-level communication macros of the form node to host... and host to node...
are typically used when you want to send data from the host to all of the compute nodes,
or from node-0 to the host. You cannot, however, use these high-level macros when you
need to pass data between compute nodes, or pass data from all of the compute nodes to
compute node-0. In these cases, you can use special message passing macros."

Also, in this udf manual, there is an udf example: Global Summation of Pressure on a Face Zone and its Area Average Computation. In this example, I believe there is need to send the data from all the nodes to node-0, but still it used node_to_host_real_2(,), which is conflicting with the above statement from the same manual.

I'm confused right now, so which way should I follow? To use node_to_host_real or use, say, PRF_CSEND_REAL(to, buffer, nelem, tag)
PRF_CRECV_REAL(from, buffer, nelem, tag)?

Please help, thanks a million!
aleisia 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
Parallel fluent 4 nodes machine (Quad 6600 SUSE) Rafa FLUENT 4 June 7, 2011 07:33
Cant run in parallel on two nodes using OpenMPI CHristofer Main CFD Forum 0 October 26, 2007 10:54
'No response from HOST' error-Moving mesh problems Alfred Herman Siemens 1 June 15, 2007 07:53


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