[petsc-dev] [petsc4py] PETSc.Viewer().createHDF5 wipes out existing files

Lisandro Dalcin dalcinl at gmail.com
Fri Sep 24 16:39:28 CDT 2010


On 9 September 2010 20:27, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> On 9 September 2010 19:24, Dmitry Karpeev <karpeev at mcs.anl.gov> wrote:
>> It seems to me that a nondestructive default would be better.
>> I guess there is an expectation that users open viewers to write to
>> more than to read from,
>> but I think we still don't want to wipe out their files without an
>> explicit authorization.
>> Dmitry.
>
> While I agree with both of you,  changing this makes me a bit nervous
> because of the backward compatibility implications...
>

Fixed in petsc4py-dev (for binary viewers)

http://code.google.com/p/petsc4py/source/detail?r=8f9501ada815a43a29aa44a595f12f3b01a2ab4d


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169



More information about the petsc-dev mailing list