|June 9, 2011, 22:30||
Puzzled about communications between node(s) and host
Join Date: Mar 2011
Posts: 38Rep Power: 8
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!
|Thread||Thread Starter||Forum||Replies||Last Post|
|Parallel fluent 4 nodes machine (Quad 6600 SUSE)||Rafa||FLUENT||4||June 7, 2011 06:33|
|Cant run in parallel on two nodes using OpenMPI||CHristofer||Main CFD Forum||0||October 26, 2007 09:54|
|'No response from HOST' error-Moving mesh problems||Alfred Herman||CD-adapco||1||June 15, 2007 06:53|