[aspect-devel] inconsistency in use of x, y, and z

Wolfgang Bangerth bangerth at tamu.edu
Sat Mar 21 09:12:26 PDT 2015


On 03/11/2015 10:14 PM, Jonathan Perry-Houts wrote:
> Yeah, the problem is that mpirun only sends stdin to process 0, so I
> just write a temp file on process 0, tell the other processes where to
> find it, and let them all open it independently, then delete it once
> they've all had a chance to read it.
>
> It would also be possible to just let process 0 deal with the input (be
> it a file, or stdin) and send the whole thing as a string to all other
> instances via MPI. Or something like that. If this is actually something
> that anyone would use I could change it to work that way, but otherwise
> I won't bother.

That's what I ended up implementing:
   https://github.com/geodynamics/aspect/pull/287

Best
  W.


-- 
------------------------------------------------------------------------
Wolfgang Bangerth               email:            bangerth at math.tamu.edu
                                 www: http://www.math.tamu.edu/~bangerth/



More information about the Aspect-devel mailing list