[petsc-users] Could not determine how to create a shared library!

Fande Kong fdkong.jd at gmail.com
Thu May 3 11:32:31 CDT 2018


--with-blaslapack-lib=-mkl -L' + os.environ['MKLROOT'] + '/lib/intel64

works.

Fande,

On Thu, May 3, 2018 at 10:09 AM, Satish Balay <balay at mcs.anl.gov> wrote:

> Ok you are not 'building blaslapack' - but using mkl [as per
> configure.log].
>
> I'll have to check the issue. It might be something to do with using
> mkl as a static library..
>
> Hong might have some suggestions wrt theta builds.
>
> Satish
>
> On Thu, 3 May 2018, Satish Balay wrote:
>
> > Perhaps you should use MKL on theta? Again check
> config/examples/arch-cray-xc40-knl-opt.py
> >
> > Satish
> >
> > On Thu, 3 May 2018, Kong, Fande wrote:
> >
> > > Thanks,
> > >
> > > I get the PETSc complied, but theta does not like the shared lib, I
> think.
> > >
> > > I am switching back to a static lib.   I ever successfully built and
> ran
> > > the PETSc with the static compiling.
> > >
> > > But I encountered a problem this time on building blaslapack.
> > >
> > >
> > > Thanks,
> > >
> > > Fande
> > >
> > > On Tue, May 1, 2018 at 2:22 PM, Satish Balay <balay at mcs.anl.gov>
> wrote:
> > >
> > > > This is theta..
> > > >
> > > > Try: using --LDFLAGS=-dynamic option
> > > >
> > > > [as listed in config/examples/arch-cray-xc40-knl-opt.py]
> > > >
> > > > Satish
> > > >
> > > > On Tue, 1 May 2018, Kong, Fande wrote:
> > > >
> > > > > Hi All,
> > > > >
> > > > > I can build a static petsc library on a supercomputer, but could
> not do
> > > > the
> > > > > same thing with " --with-shared-libraries=1".
> > > > >
> > > > > The log file is attached.
> > > > >
> > > > >
> > > > > Fande,
> > > > >
> > > >
> > > >
> > >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180503/c91e17ff/attachment.html>


More information about the petsc-users mailing list