[Users] output not overwritten anymore?

Christian Reisswig reisswig at tapir.caltech.edu
Mon Mar 12 16:06:35 CDT 2012


Hi Ian, Erik,

thanks for the reply! I played around with IO::truncate_files = yes/no
but without success.
In particular, CarpetIOScalar does not overwrite files (I am looking at the L2 
norm of some grid function) anymore.

cheers,
Christian

> On 12 Mar 2012, at 20:25, Christian Reisswig wrote:
> > Hi,
> > 
> > I am wondering if the default behavior of Cactus output has been changed
> > recently. When starting a simulation from scratch (i.e. no recovery),
> > already existing output files used to get overwritten.
> > Instead now, Cactus appends data to the end of the files. How can I
> > change this behavior? Is there a parameter for this?
> 
> Hi Christian,
> 
> >From IOUtil/param.ccl:
> BOOLEAN truncate_files "Truncate existing output files from previous runs
> (except when recovering) ?" STEERABLE = ALWAYS {
> } "yes"
> 
> I don't think this has been changed.  If it is not truncating the files,
> then either you have this parameter set accidentally, or there is
> something very wrong!
> 
> On the other hand, many people who might have been involved in such a
> change are probably using simfactory, which ensures that you have a new
> empty directory for each Cactus run, so a problem might not have been
> noticed.


More information about the Users mailing list