[aspect-devel] Progress in writing the mantle convection code Aspect

Timo Heister heister at clemson.edu
Fri Nov 1 15:02:10 PDT 2013


> Is this correct?  From what I can tell (checkpoint_restart.cc:94) only process 0 calls the postprocessor serialization function.  This complicates things a bit for particle checkpointing since I need all processes to write to the file.  Is there a way to have process 0 write to the file and have the rest of the processes create an aspect::oarchive that goes to /dev/null, while ensuring everyone gets their serialization functions called?

You are correct. You are welcome to change this (just execute the
first block that contains "oa << *this" on every machine). The other
cores are sitting around idle during that time anyway. Leave a comment
that explains this, though.

-- 
Timo Heister
https://urldefense.proofpoint.com/v1/url?u=http://www.math.clemson.edu/~heister/&k=dsHy%2FVymniCD0osh6tze%2Fw%3D%3D%0A&r=WLGUy1n%2F1Vzsqown7KFPcAEzR5DIdbP771jYw4Spy%2Bk%3D%0A&m=pth9Yp2R81Yen4k24QZWrvGlGOwiI1K%2FBsqtno4AS70%3D%0A&s=241b652ab8fd1cf41fb286c1e92e3e02c9e567cd2a1b5bf6ce6f55a10e9e2d1d


More information about the Aspect-devel mailing list