[petsc-dev] syntax for multiple libs (eg, --with-blaslapack-lib/a --with-blaslapack-lib/b)

Mark Adams mfadams at lbl.gov
Mon Jul 2 20:39:18 CDT 2018


On Mon, Jul 2, 2018 at 6:24 PM Satish Balay <balay at mcs.anl.gov> wrote:

> On Mon, 2 Jul 2018, Mark Adams wrote:
>
> > Satish and Matt,
> > What is the syntax multiple libraries? I have this now but need to addd
> > more files.
> > Thanks,
> > Mark
> >
> >
> '--with-blaslapack-lib=/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_intel_thread.a',
>
> --with-blaslapack-lib="/path/to/foo/libfoo.a /path/to/bar/libbar.a"
> or:
> --with-blaslapack-lib="-L/path/to/foo -lfoo -L/path/to/bar -lbar"
>
>
Thanks, I am doing this and it seems to work:


'LIBS=-L/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64
-lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread',

It looks like I can use --with-blaslapack-lib="-L...."

Satish
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180702/1cc755fe/attachment.html>


More information about the petsc-dev mailing list