[petsc-dev] Moar namespacing

Barry Smith bsmith at mcs.anl.gov
Mon Aug 27 18:53:33 CDT 2012


On Aug 27, 2012, at 6:02 PM, Lisandro Dalcin <dalcinl at gmail.com> wrote:

> On 27 August 2012 19:45, Barry Smith <bsmith at mcs.anl.gov> wrote:
>> 
>>  Does Fortran2008 have Vec Mat etc also as  keywords?
>> 
>> Note we'll also need to rename all current names in PETSc that are more than 26 char long since adding PETSc will make them too long.
>> 
> 
> PETSc already violates this elsewere, e.g. :
> 
> $ nm $PETSC_DIR/$PETSC_ARCH/lib/libpetsc.so | grep kspgmres
> 0000000000aafca3 T kspgmresgetcgsrefinementtype_
> 0000000000aafd0e T kspgmresgetrestart_
> 0000000000aae1a4 T kspgmresmonitorkrylov_
> 0000000000aafc70 T kspgmressetcgsrefinementtype_
> 0000000000aafd40 T kspgmressethaptol_
> 0000000000aafc48 T kspgmressetpreallocatevectors_
> 0000000000aafcdb T kspgmressetrestart_

   These are fine. The limit is more than 31 char and these are less than 31. I got the 26 by subtracting the 5 that Petsc adds.

   Barry

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




More information about the petsc-dev mailing list