[petsc-users] static libs

Mark Adams mfadams at lbl.gov
Thu Feb 20 16:51:26 CST 2020


On Thu, Feb 20, 2020 at 2:30 PM Satish Balay <balay at mcs.anl.gov> wrote:

> BTW: What do you mean by 'Cray static library environment variable'? Is it
> CRAYPE_LINK_TYPE?


Yes, that was it.


> What is set to? What problems are you having?
>

I think they were using 'static' for Adios but are going to try to make it
work with dynamic.  Otherwise I can configure with static libs.

Thanks,


>
> One can get shared library build of PETSc working with:
>
> export CRAYPE_LINK_TYPE=dynamic
>
> Satish
>
> On Thu, 20 Feb 2020, Satish Balay via petsc-users wrote:
>
> > You can build PETSc statically with configure option:
> >
> > --with-shared-libraries=0
> >
> > Satish
> >
> > On Thu, 20 Feb 2020, Mark Adams wrote:
> >
> > > We are having problems linking with at Cray static library environment
> > > variable, that is required to link Adios, and IO package. How does one
> > > build with static PETSc libs?
> > > Thanks,
> > > Mark
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200220/ab37d1ba/attachment-0001.html>


More information about the petsc-users mailing list