[petsc-dev] use --with-single-library=1 as default?

Lisandro Dalcín dalcinl at gmail.com
Thu Feb 4 06:52:01 CST 2010


On Wed, Feb 3, 2010 at 9:17 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>  I vote to have one library -lpetsc and one include file petsc.h
>
>   Barry
>
> Only partially joking
>

Well, having a single include, even if it is not called "petsc.h",
would be really nice.


>
> On Feb 3, 2010, at 6:08 PM, Satish Balay wrote:
>
>> Should we default to using --with-single-library=1? [I'd prefer this -
>> as it will minimize dlopen issues from external packages.]
>>
>> Also - I'd like to have distinct library names between
>> --with-single-library=0 and 1 - so that there is no ambiguity.
>>
>> i.e libpetsc.a for --with-single-library=1
>> libpetscsys.a [instead of current libpetsc.a] for --with-single-library=0
>>
>> With this change, the 'shared' targets don't have to be overloaded for
>> libpetsc.so [for eg: for shared_darwin]
>>
>> Satish
>>
>
>



-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594



More information about the petsc-dev mailing list