We have a problem that -info seems to be jamming the IO system on jobs with 2K nodes on Cori/KNL. The code seems to hang when -info is used. I suggested having only process 0 do -info.
Tuomas here, tried something (see below) that looks like it should work, but apparently it did not. Does what Tuomas did below look like it should work or is there a better way to do this? Thanks, Mark ---------- Forwarded message ---------- From: Tuomas Koskela <[email protected]> Date: Fri, Jul 28, 2017 at 9:21 PM Subject: Setting -info on proc 0 To: "Mark F. Adams" <[email protected]> Hi Mark, I tried to find a way to set '-info' on process 0 and I don't understand what's wrong. Do you see anything wrong with this: 1. start program without -info in petsc.rc 2. call petscOptionsClearValue('-info',ierr) !(just to make sure it's not set) 3. if(process id = 0) call petscOptionsSetValue('-info','info.out',ierr) When I do this, no info.out - file gets written. If I start the code with -info in petsc.rc, the output always gets written to standard out from all ranks, no matter what I do with petscOptionsClearValue and petscOptionsSetValue. Am I doing something completely crazy here?
