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

Satish Balay balay at mcs.anl.gov
Mon Jul 2 17:24:20 CDT 2018


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"

Satish


More information about the petsc-dev mailing list