[ET Trac] [Einstein Toolkit] #2112: move CCTK_MyHost and friends into flesh
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Feb 7 18:02:26 CST 2018
#2112: move CCTK_MyHost and friends into flesh
--------------------------+-------------------------------------------------
Reporter: rhaas | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords: Carpet PUGH driver
--------------------------+-------------------------------------------------
Comment (by rhaas):
@ knarf: the problem with that is that all ranks on the node need to agree
on the same process ID. I also cannot use the process ID of rank 0 and
bcast that one, because (being devil's advocate) it could actually be 2
nodes which are shared among two simulations and one simulation has rank 0
on node A and the other has rank 0 on node B and those two just happen to
have the same process ID.
@ eschett: that will almost always work :-)
A simpler thing, without the need for any mmap would be basically what you
are already doing with the processor names but using the (32 bit numeric
so much easier to work with) {{{gethostid()}}} result. This would avoid
having to pass around strings through MPI. Again, no mmap needed.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2112#comment:9>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list