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

2020-03-13 Thread Mark Adams
It made and past make test, thanks, On Fri, Mar 13, 2020 at 12:37 PM Junchao Zhang wrote: > Mark, I have a workaround and pushed to > stefanozampini/hypre-cuda-rebased-v2. You can try it. Thanks. > --Junchao Zhang > > > On Fri, Mar 13, 2020 at 10:22 AM Junchao Zhang > wrote: > >> Mark, >> I

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

2020-03-13 Thread Junchao Zhang via petsc-users
Mark, I have a workaround and pushed to stefanozampini/hypre-cuda-rebased-v2. You can try it. Thanks. --Junchao Zhang On Fri, Mar 13, 2020 at 10:22 AM Junchao Zhang wrote: > Mark, > I reproduced the error on Summit with pgi compilers. I found these > atomics in

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

2020-03-13 Thread Junchao Zhang via petsc-users
Mark, I reproduced the error on Summit with pgi compilers. I found these atomics in /sw/summit/cuda/10.1.243/include/sm_32_atomic_functions.h. I am investigating it. Thanks. --Junchao Zhang On Fri, Mar 13, 2020 at 8:17 AM Mark Adams wrote: > This error goes away with 32 bit integers. These

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

2020-03-13 Thread Mark Adams
This error goes away with 32 bit integers. These methods are part of CUDA C++ (https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html) and I see unsigned long long int versions, but not signed ones that are in PETSc. My cuda is not that new: 08:43 2

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

2020-03-12 Thread Satish Balay via petsc-users
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@compute-386-01:/scratch/balay/petsc$ ./configure --with-cuda=1 --with-64-bit-indices=1 --download-hypre-configure-arguments=HYPRE_CUDA_SM=70

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

2020-03-12 Thread Satish Balay via petsc-users
/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