[petsc-users] make error in stefanozampini/hypre-cuda-rebased-v2
Satish Balay
balay at mcs.anl.gov
Thu Mar 12 21:34:25 CDT 2020
And I tried this build [cuda+pgi] on a local linux box - and don't see this issue.
So I'm not sure what to suggest.
Satish
---------
balay at compute-386-01:/scratch/balay/petsc$ ./configure --with-cuda=1 --with-64-bit-indices=1 --download-hypre-configure-arguments=HYPRE_CUDA_SM=70 --download-metis -download-parmetis --download-hypre CC=pgcc FC=pgf90 CXX=pgc++ --download-mpich CUDAFLAGS="-ccbin pgc++"
nvcc -c -ccbin pgc++ -Xcompiler -fPIC -g -I/scratch/balay/petsc/arch-linux2-c-debug/include -Wno-deprecated-gpu-targets --compiler-options="-g -I/scratch/balay/petsc/include -I/scratch/balay/petsc/arch-linux2-c-debug/include -I/nfs/gce/software/custom/linux-ubuntu18.04-x86_64/cuda/10.2/include " /scratch/balay/petsc/src/vec/is/sf/impls/basic/cuda/sfpackcuda.cu -o arch-linux2-c-debug/obj/vec/is/sf/impls/basic/cuda/sfpackcuda.o # Compile first so that if there is an error, it comes from a normal compile
On Thu, 12 Mar 2020, Satish Balay via petsc-users wrote:
> >>>>>>>>
> /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