[petsc-users] Adding a CUDA library

Barry Smith bsmith at petsc.dev
Fri Apr 23 19:32:51 CDT 2021


   ./configure other arguments LIBS="-lxxx"  

  This should work. Send configure.log to petsc-maint at mcs.anl.gov <mailto:petsc-maint at mcs.anl.gov>



> On Apr 23, 2021, at 6:33 PM, Mark Adams <mfadams at lbl.gov> wrote:
> 
> How would I add a CUDA library that is in the CUDA library directory? That is just add -lxxx to the link line. I tried LIBS=-lxxx and that failed in configure.
> Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210423/da25440f/attachment.html>


More information about the petsc-users mailing list