[petsc-dev] make --with-shared-libraries default on most systems?

Satish Balay balay at mcs.anl.gov
Wed Jan 23 09:58:44 CST 2013


On Wed, 23 Jan 2013, Jed Brown wrote:

> On Sun, Jan 20, 2013 at 6:15 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
> >
> >    Should we consider making --with-shared-libraries the default on most
> > systems (those it is known to behave well on)?
> >
> 
> I think shared is a better default. I'm not sure how smart we should try to
> be about building on machines that don't like shared libraries.
> 
> 
> >
> >     Satish,
> >
> >           Could you switch on --with-shared-libraries on all nightly
> > builds and see what breaks?
> >
> 
> Did this ever happen? It looks like the nightlies are still static.

ok - pushed this change now.

We had this on as default sometime back - and had plenty of
petsc-maint due to it - hence we switched back.

Part of the issue could be due to the way we handle
externalpackages. Ideally each externalpackage should build its own
sharedlibrary [relibaly].

Satish

> 
> 
> >
> >           After we get that past I'll have you switch on
> > --with-dynamic-libraries, but let's leave that for later :-)
> >
> >    Thanks
> >
> >      Barry
> >
> >
> 




More information about the petsc-dev mailing list