[petsc-dev] Is master broken?
Smith, Barry F.
bsmith at mcs.anl.gov
Thu Aug 1 00:36:33 CDT 2019
It is generated automatically and put in arch-linux2-c-debug/include/petscpkg_version.h this include file is included at top of the "bad" source file crashes so in theory everything is in order check that arch-linux2-c-debug/include/petscpkg_version.h contains PETSC_PKG_CUDA_VERSION_GE and similar macros. If not send configure.lo
check what is in arch-linux2-c-debug/include/petscpkg_version.h it nothing or broken send configure.lo
Barry
> On Jul 31, 2019, at 9: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)
More information about the petsc-dev
mailing list