[petsc-users] make error in stefanozampini/hypre-cuda-rebased-v2

Satish Balay balay at mcs.anl.gov
Thu Mar 12 20:26:43 CDT 2020


>>>>>>>>
/autofs/nccs-svm1_home1/adams/petsc_install/src/vec/is/sf/impls/basic/cuda/sfpackcuda.cu(334): error: function "atomicMin(long long *, long long)" has already been defined

/autofs/nccs-svm1_home1/adams/petsc_install/src/vec/is/sf/impls/basic/cuda/sfpackcuda.cu(345): error: function "atomicMax(long long *, long long)" has already been defined

/autofs/nccs-svm1_home1/adams/petsc_install/src/vec/is/sf/impls/basic/cuda/sfpackcuda.cu(413): error: function "atomicAnd(long long *, long long)" has already been defined

/autofs/nccs-svm1_home1/adams/petsc_install/src/vec/is/sf/impls/basic/cuda/sfpackcuda.cu(414): error: function "atomicOr(long long *, long long)" has already been defined

/autofs/nccs-svm1_home1/adams/petsc_install/src/vec/is/sf/impls/basic/cuda/sfpackcuda.cu(415): error: function "atomicXor(long long *, long long)" has already been defined
<<<<<<

This is a strange error. For one the compiler is not showing where the prior definition is.

And the prior definition I see is 'double atomicMin(double* address, double val)' which shouldn't conflict - as this is c++?

Satish

On Thu, 12 Mar 2020, Mark Adams wrote:

> I get this make error in stefanozampini/hypre-cuda-rebased-v2
> 



More information about the petsc-users mailing list