Skip to content

ruser_mesh_data values on restart #470

Answered by tomidakn
andreaantoni asked this question in Q&A
Discussion options

You must be logged in to vote

While the user-defined mesh/meshblock data are stored in a restart file and restored in the restarting process,

only the data on the master node (rank 0) is written in the restarting file, and it is users' responsibility to maintain consistency between nodes,

as written on the Wiki. So please make sure that you synchronize the data stored in ruser_mesh_data. You can do so, for example, using MPI_Allreduce in Mesh::UserWorkInLoop.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@leeyp2009
Comment options

@andreaantoni
Comment options

@leeyp2009
Comment options

@leeyp2009
Comment options

@andreaantoni
Comment options

Answer selected by andreaantoni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants