[petsc-users] correction to previous email

Zhang, Hong hongzhang at anl.gov
Mon Apr 5 17:51:02 CDT 2021

The size you observed is the physical size of the file which is different from the logical size of the file. The difference is usually OS-dependent. In your case, the logical size of the file should be 64 bytes, but the physical size is 4KB on Mac and 12KB on linux. So these numbers make sense. I am not sure if there is anything we can do to make the physical size smaller.

Hong (Mr.)

> On Apr 5, 2021, at 1:30 PM, Zane Charles Jakobs <Zane.Jakobs at colorado.edu> wrote:
> Hi PETSc devs,
> In an email I sent a few minutes ago, I claimed that the TS was writing files of size about 1MB per timestep. That is incorrect; it is actually writing files with a few kB (about 10 kB) per timestep. My questions in the previous email (why are these so big, and can I change that somehow?) still apply though, since this is still much larger than these files "should" be based on the size of the state (128 bits) and the time variable (64 bits).
> My apologies for the error, and thank you for any help you can provide.
> -Zane Jakobs

More information about the petsc-users mailing list