[petsc-dev] What needs to be done before a release?

Barry Smith bsmith at mcs.anl.gov
Sun Jun 3 11:58:29 CDT 2012


On Jun 3, 2012, at 8:15 AM, Blaise Bourdin wrote:

>> 
> 
> yes, I was trying to get rid of the static maximum size for farray. There are two hard-coded static sizes in PetscBagRegisterEnum: that the number of entries is less than 97, and that the length of each of the enum name is at most 98 char. The error message you get with an enum with more than 97 entries is not very informative.
> I don't know how to get the size of the list of names without using the size function. 
> 
> Are these static length a big deal? probably no.

   I increased the sizes to 256 and also added checking if either one is violated; it will set the ierr argument (no printing error message stuff because I don't want to do that from Fortran).

   Barry

> 
> 
>> 
>> 
>>> I would understand in the situation of pure f77 compatibility for instance, but we threw this away with the iso_c_binding module anyway...
>> 
>>   I want the user experience to be as close to f77 (what they are used to) as possible and not introduced unnecessary flater crap.
> 
> That's fair.
> 
> Blaise
> -- 
> Department of Mathematics and Center for Computation & Technology
> Louisiana State University, Baton Rouge, LA 70803, USA
> Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin
> 
> 
> 
> 
> 
> 
> 




More information about the petsc-dev mailing list