pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Add conditional to ensure that serial_fes will only be used on task 0 #35

Closed trevilo closed 3 years ago

trevilo commented 3 years ago

This doesn't seem to affect our default cpu build, but I was seeing test failures in the serial write tests due to seg faults when using different compiler flags (specifically, I added '-g -pg -O2'). Not sure why that triggered the problem, but it is fixed by never trying to access serial_fes on mpi tasks other than root.