[petsc-dev] Is master broken?

Matthew Knepley knepley at gmail.com
Wed Jul 31 21:34:20 CDT 2019


On Thu, Aug 1, 2019 at 2:28 PM Mark Adams via petsc-dev <
petsc-dev at mcs.anl.gov> wrote:

> I am seeing this when I pull master into my branch:
>
> "/autofs/nccs-svm1_home1/adams/petsc/src/mat/impls/dense/seq/cuda/
> densecuda.cu"
>           , line 243: error: function call is not allowed in a constant
>           expression
>   #if PETSC_PKG_CUDA_VERSION_GE(10,1,0)
>
> and I see that this macro does not seem to be defined:
>
> 22:24 master= ~/Codes/petsc$ git grep PETSC_PKG_CUDA_VERSION_GE
> src/mat/impls/dense/seq/cuda/densecuda.cu:#if
> PETSC_PKG_CUDA_VERSION_GE(10,1,0)
>

Did you try reconfiguring? Sometimes these macros are generated.

  Thanks,

    Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190801/f49e6fbd/attachment.html>


More information about the petsc-dev mailing list