On 28 October 2010 16:06, Barry Smith <bsmith at mcs.anl.gov> wrote: > > On Oct 28, 2010, at 4:15 AM, Aron Ahmadia wrote: > >> I like Lisandro's approach. ?If the developers can provide scripts >> that attempt to identify the usage of Vec and replace them with >> PetscVec, all the better. > > ? Unfortunately getting the #defines exactly right (including for Fortran) I > think is a major bitch >
Yep, it is a pain (I basically do this for getting petsc4py-dev working with 3.0.0 and 31). > > as is having a translator script that works perfect; and I hesitate to have > something that "works most of the time". > Perhaps "works most of the time" is better than nothing. -- 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
