[MOAB-dev] Exchanging tags with no name
Iulian Grindeanu
iulian at mcs.anl.gov
Thu Jan 17 16:35:28 CST 2013
Hello,
The name of the tag gets "packed" in the communication packet that is sent. We should probably error out if a "no name" tag is sent.
I would not use a no name tag, except a temporary tag in an application, and you always keep the tag handle itself (you can pass it around, store as a member data, etc)
I don't think you can recover the "no name" tag handle in a separate portion of the code.
Iulian
----- Original Message -----
| Hello:
| I just tried calling exchange_tags on a tag with no name (when I
| created the tag I specified NULL as the first argument to
| tag_get_handle) and found that the tag exchange did not seem to work.
| After a lot of experimentation, I found that whether or not the tag
| had a name was the factor that determined whether the shared,
| not-owned entities successfully updated...
| Two questions:
| 1. Does exchange_tags require that the tag have a name specified?
| 2. Am I allowed to pass NULL as the name for tag_get_handle? Or must
| tags have names?
| Thank You
| Milad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20130117/06e200f9/attachment.html>
More information about the moab-dev
mailing list