[ET Trac] [Einstein Toolkit] #2112: move CCTK_MyHost and friends into flesh

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Feb 8 17:31:41 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):

 Getting lost even more in the weeds.

 Actually MPI_Get_processor_name() on rank 0 together with the pid on rank
 0 should be enough to give a unique name for the shared memory section.
 MPI_Get_processor_name() identifies the host (and if it is overly specific
 as on BG I don't mind since I just need a unique name that identifies the
 machine) plus the pid which is unique on the machine. All of this only as
 a fallback if the MPI3 stuff is not available.

 Since MPI_Get_processor_name has a fixed size, Bcasting its result (+ pid)
 is much simpler than the concatenation of all gethostname results.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2112#comment:16>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list