<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 16, 2021 at 9:58 AM Barry Smith <<a href="mailto:bsmith@petsc.dev">bsmith@petsc.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><br></div>  Mark,<div><br></div><div>    The kokkos-kernels did not get rebuilt so they will likely have a different geodearch.</div><div><br></div><div>    I think you need to rm -rf arch-cori-gpu-opt-kokkos-gcc </div></div></blockquote><div><br></div><div>Yes, of course, but did not help. I still get this error.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><br></div><div>    but was --with-mpi-dir=/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc built with CUDA aware MPI and a different gencodarch than is supported by the hardware? </div></div></blockquote><div><br></div><div>I don't know. I use MPI very very little (and not timed) so I don't care about it. This is just what I got to compile and work.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div>If so, I guess you need to build PETSc using -with-cuda-gencodearch=70 if that is what the MPI was built with.</div></div></blockquote><div><br></div><div>OK, that worked, thanks,</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><br></div><div>  Barry</div><div><br><div><br><blockquote type="cite"><div>On May 16, 2021, at 6:13 AM, Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:</div><br><div><div dir="ltr"><div>progress:</div><div><br></div>04:08 cgpu11 adams/cusparse-cpu-solve *= ~/petsc$ make PETSC_DIR=/global/homes/m/madams/petsc PETSC_ARCH=arch-cori-gpu-opt-kokkos-gcc check<br>Running check examples to verify correct installation<br>Using PETSC_DIR=/global/homes/m/madams/petsc and PETSC_ARCH=arch-cori-gpu-opt-kokkos-gcc<br>C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process<br>Possible error running C/C++ src/snes/tutorials/ex19 with 2 MPI processes<br>See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a><br>srun: error: Unable to create step for job 1921749: More processors requested than permitted<br>2,15c2,32<br><   0 SNES Function norm 2.391552133017e-01 <br><     0 KSP Residual norm 2.325621076120e-01 <br><     1 KSP Residual norm 1.654206318674e-02 <br><     2 KSP Residual norm 7.202836119880e-04 <br><     3 KSP Residual norm 1.796861424199e-05 <br><     4 KSP Residual norm 2.461332992052e-07 <br><   1 SNES Function norm 6.826585648929e-05 <br><     0 KSP Residual norm 2.347339172985e-05 <br><     1 KSP Residual norm 8.356798075993e-07 <br><     2 KSP Residual norm 1.844045309619e-08 <br><     3 KSP Residual norm 5.336386977405e-10 <br><     4 KSP Residual norm 2.662608472862e-11 <br><   2 SNES Function norm 6.549682264799e-11 <br>< Number of SNES iterations = 2<br>---<br>> Kokkos::Cuda::initialize ERROR: likely mismatch of architecture<br>> [cgpu11:39927] *** Process received signal ***<br>> [cgpu11:39927] Signal: Aborted (6)<br>> [cgpu11:39927] Signal code:  (-6)<br>> [cgpu11:39927] [ 0] /lib64/libpthread.so.0(+0x12360)[0x2aab12731360]<br>> [cgpu11:39927] [ 1] /lib64/libc.so.6(gsignal+0x110)[0x2aab12973160]<br>> [cgpu11:39927] [ 2] /lib64/libc.so.6(abort+0x151)[0x2aab12974741]<br>> [cgpu11:39927] [ 3] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libkokkoscore.so.3.4(+0x408e5)[0x2aaabbfb88e5]<br>> [cgpu11:39927] [ 4] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libkokkoscore.so.3.4(_ZN6Kokkos4Impl12CudaInternal10initializeEiP11CUstream_st+0xb5c)[0x2aaabbfc762c]<br>> [cgpu11:39927] [ 5] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libkokkoscore.so.3.4(_ZN6Kokkos4Impl16ExecSpaceManager17initialize_spacesERKNS_13InitArgumentsE+0x24)[0x2aaabbfa1224]<br>> [cgpu11:39927] [ 6] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libkokkoscore.so.3.4(_ZN6Kokkos4Impl70_GLOBAL__N__46_tmpxft_00011209_00000000_7_Kokkos_Core_cpp1_ii_889c95a619initialize_internalERKNS_13InitArgumentsE+0x11)[0x2aaabbfa49d1]<br>> [cgpu11:39927] [ 7] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(PetscKokkosInitializeCheck+0x1f9)[0x2aaaaafad809]<br>> [cgpu11:39927] [ 8] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(+0x68541b)[0x2aaaab35841b]<br>> [cgpu11:39927] [ 9] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(+0x36a224)[0x2aaaab03d224]<br>> [cgpu11:39927] [10] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(+0x35f596)[0x2aaaab032596]<br>> [cgpu11:39927] [11] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(+0x2f9d94)[0x2aaaaafccd94]<br>> [cgpu11:39927] [12] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(PetscSFBcastWithMemTypeBegin+0x11f)[0x2aaaab04bc3f]<br>> [cgpu11:39927] [13] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(+0x37f53a)[0x2aaaab05253a]<br>> [cgpu11:39927] [14] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(VecScatterBegin+0x70)[0x2aaaab057b30]<br>> [cgpu11:39927] [15] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(DMGlobalToLocalBegin_DA+0x1f)[0x2aaaabc27a5f]<br>> [cgpu11:39927] [16] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(DMGlobalToLocalBegin+0x1dd)[0x2aaaabe61b3d]<br>> [cgpu11:39927] [17] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(+0x144567a)[0x2aaaac11867a]<br>> [cgpu11:39927] [18] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(SNESComputeFunction+0xf5)[0x2aaaac138ef5]<br>> [cgpu11:39927] [19] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(+0x14ad0de)[0x2aaaac1800de]<br>> [cgpu11:39927] [20] /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/lib/libpetsc.so.3.015(SNESSolve+0x821)[0x2aaaac146ed1]<br>> [cgpu11:39927] [21] /global/u2/m/madams/petsc/src/snes/tutorials/./ex19[0x401a69]<br>> [cgpu11:39927] [22] /lib64/libc.so.6(__libc_start_main+0xea)[0x2aab1295df8a]<br>> [cgpu11:39927] [23] /global/u2/m/madams/petsc/src/snes/tutorials/./ex19[0x4021ba]<br>> [cgpu11:39927] *** End of error message ***<br>> srun: error: cgpu11: task 0: Aborted<br>> srun: Terminating job step 1921749.6<br>/global/homes/m/madams/petsc/src/snes/tutorials<br>Possible problem with ex19 running with cuda, diffs above<br>=========================================<br>gmake[3]: [makefile:102: runex3k_kokkos] Error 1 (ignored)<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 16, 2021 at 12:31 AM Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><br></div>  Looks like nvcc_wrapper gets confused when both -arch and -gencode are used. But handles either of them separately correctly.<div><br></div><div>  Mark,</div><div><br></div><div>    PETSc configure now handles  the -arch and --with-kokkos-cuda-arch=  business automatically so you do not, and generally shouldn't pass -arch sm_70 in  --CUDAFLAGS anymore or use the --with-kokkos-cuda-arch option anymore.</div><div><br></div><div>    If you need to set the -arch to something earlier than the system supports (rare) you can now use -with-cuda-gencodearch to set that instead of using CUDAFLAGS.</div><div><br></div><div>  Barry</div><div><br><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">$ NVCC_WRAPPER_DEFAULT_COMPILER=mpicxx /home/bsmith/petsc/arch-main/bin/nvcc_wrapper --show --expt-extended-lambda -c -Xcompiler -fPIC -g  -gencode arch=compute_70,code=sm_70  -I/home/bsmith/soft/gnu-mpich/include -Wno-deprecated-gpu-targets   -I/home/bsmith/petsc/include -I/home/bsmith/petsc/arch-main/include -I/nfs/apps/spacks/2021-02-09/opt/spack/linux-centos7-x86_64/gcc-7.3.0/cuda-11.2.0-ikruu5mo6dtt3avvmwsejouqhxu4btdm/include      /home/bsmith/petsc/src/ts/utils/dmplexlandau/kokkos/landau.kokkos.cxx -o arch-main/obj/ts/utils/dmplexlandau/kokkos/landau.o</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">nvcc --expt-extended-lambda -gencode arch=compute_70,code=sm_70 -Wno-deprecated-gpu-targets -ccbin mpicxx -g -I/home/bsmith/soft/gnu-mpich/include -I/home/bsmith/petsc/include -I/home/bsmith/petsc/arch-main/include -I/nfs/apps/spacks/2021-02-09/opt/spack/linux-centos7-x86_64/gcc-7.3.0/cuda-11.2.0-ikruu5mo6dtt3avvmwsejouqhxu4btdm/include -Xcompiler -fPIC -x cu /home/bsmith/petsc/src/ts/utils/dmplexlandau/kokkos/landau.kokkos.cxx -c -o arch-main/obj/ts/utils/dmplexlandau/kokkos/landau.o</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">~/petsc</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(200,20,201)"><b> (main=)</b></span><span style="font-variant-ligatures:no-common-ligatures"> arch-main</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">$ NVCC_WRAPPER_DEFAULT_COMPILER=mpicxx /home/bsmith/petsc/arch-main/bin/nvcc_wrapper --show --expt-extended-lambda -c -arch=sm_70 -Xcompiler -rdynamic -DLANDAU_DIM=2 -DLANDAU_MAX_SPECIES=10 -DPETSC_HAVE_CUDA_ATOMIC -DLANDAU_MAX_Q=4 -Xcompiler -fPIC -O3  -gencode arch=compute_80,code=sm_80  -I/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/include -Wno-deprecated-gpu-targets </span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">nvcc --expt-extended-lambda -arch=sm_70 -Wno-deprecated-gpu-targets -ccbin mpicxx -DLANDAU_DIM=2 -DLANDAU_MAX_SPECIES=10 -DPETSC_HAVE_CUDA_ATOMIC -DLANDAU_MAX_Q=4 -O3 -I/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/include -Xcompiler -rdynamic,-fPIC,arch=compute_80,code=sm_80 -c</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">~/petsc</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(200,20,201)"><b> (main=)</b></span><span style="font-variant-ligatures:no-common-ligatures"> arch-main</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">$ NVCC_WRAPPER_DEFAULT_COMPILER=mpicxx /home/bsmith/petsc/arch-main/bin/nvcc_wrapper --show --expt-extended-lambda -c -Xcompiler -fPIC -g -arch=sm_70 -gencode arch=compute_70,code=sm_70  -I/home/bsmith/soft/gnu-mpich/include -Wno-deprecated-gpu-targets   -I/home/bsmith/petsc/include -I/home/bsmith/petsc/arch-main/include -I/nfs/apps/spacks/2021-02-09/opt/spack/linux-centos7-x86_64/gcc-7.3.0/cuda-11.2.0-ikruu5mo6dtt3avvmwsejouqhxu4btdm/include      /home/bsmith/petsc/src/ts/utils/dmplexlandau/kokkos/landau.kokkos.cxx -o arch-main/obj/ts/utils/dmplexlandau/kokkos/landau.o</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">nvcc --expt-extended-lambda -arch=sm_70 -Wno-deprecated-gpu-targets -ccbin mpicxx -g -I/home/bsmith/soft/gnu-mpich/include -I/home/bsmith/petsc/include -I/home/bsmith/petsc/arch-main/include -I/nfs/apps/spacks/2021-02-09/opt/spack/linux-centos7-x86_64/gcc-7.3.0/cuda-11.2.0-ikruu5mo6dtt3avvmwsejouqhxu4btdm/include -Xcompiler -fPIC,arch=compute_70,code=sm_70 -x cu /home/bsmith/petsc/src/ts/utils/dmplexlandau/kokkos/landau.kokkos.cxx -c -o arch-main/obj/ts/utils/dmplexlandau/kokkos/landau.o</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><br><blockquote type="cite"><div>On May 15, 2021, at 8:44 PM, Junchao Zhang <<a href="mailto:junchao.zhang@gmail.com" target="_blank">junchao.zhang@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>Add <span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:14px;white-space:pre-wrap">--show </span>to the failing nvcc_wrapper command and see how nvcc_wrapper parses the options</div><div><span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:14px;white-space:pre-wrap"><br></span></div><div>PATH=/global/common/sw/cray/sles15/x86_64/zlib/1.2.11/gcc/8.2.0/pep2pal/bin:/global/common/sw/cray/cnl7/haswell/cmake/3.18.2/bin:/opt/cray/rca/2.2.20-7.0.1.1_4.62__g8e3fb5b.ari/bin:/opt/cray/alps/6.6.58-7.0.1.1_6.20__g437d88db.ari/sbin:/opt/cray/alps/default/bin:/opt/cray/job/2.2.4-7.0.1.1_3.48__g36b56f4.ari/bin:/opt/cray/pe/craype/2.6.2/bin:/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/bin:/usr/common/software/sles15_cgpu/hpcsdk/20.11/Linux_x86_64/20.11/compilers/bin:/usr/common/software/sles15_cgpu/hpcsdk/20.11/Linux_x86_64/20.11/cuda/bin:/usr/common/software/sles15_cgpu/cuda/11.1.1/bin:/usr/common/software/sles15_cgpu/gcc/8.3.0/bin:/opt/esslurm/bin:/opt/cray/pe/modules/<a href="http://3.2.11.4/bin:/usr/common/software/bin:/usr/common/nsg/bin:/opt/ovis/bin:/opt/ovis/sbin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/cray/pe/bin:dirname" target="_blank">3.2.11.4/bin:/usr/common/software/bin:/usr/common/nsg/bin:/opt/ovis/bin:/opt/ovis/sbin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/cray/pe/bin:`dirname</a> /usr/common/software/sles15_cgpu/cuda/11.1.1/bin/nvcc` NVCC_WRAPPER_DEFAULT_COMPILER=/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/bin/mpicxx /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/bin/nvcc_wrapper --expt-extended-lambda -c -arch=sm_70 -Xcompiler -rdynamic -DLANDAU_DIM=2 -DLANDAU_MAX_SPECIES=10 -DPETSC_HAVE_CUDA_ATOMIC -DLANDAU_MAX_Q=4 -Xcompiler -fPIC -O3  -gencode arch=compute_80,code=sm_80  -I/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/include -Wno-deprecated-gpu-targets   -I/global/homes/m/madams/petsc/include -I/global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/include -I/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/include -I/usr/common/software/sles15_cgpu/cuda/11.1.1/include      /global/u2/m/madams/petsc/src/sys/objects/kokkos/kinit.kokkos.cxx -o arch-cori-gpu-opt-kokkos-gcc/obj/sys/objects/kokkos/kinit.o --show<span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:14px;white-space:pre-wrap"><br></span></div><div><br></div><div><div style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:14px;line-height:21px;white-space:pre-wrap"><div><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">--Junchao Zhang</span><br></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 15, 2021 at 7:14 PM Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks,<div>Now I get an error in make all. THis was working a few weeks ago.</div><div>Make.log was empty but here is the output.</div><div> ....</div><div>       CC arch-cori-gpu-opt-kokkos-gcc/obj/sys/error/ftn-custom/zerrf.o<br>          CC arch-cori-gpu-opt-kokkos-gcc/obj/sys/f90-src/f90_cwrap.o<br>          CC arch-cori-gpu-opt-kokkos-gcc/obj/vec/is/utils/hdf5io.o<br>PATH=/global/common/sw/cray/sles15/x86_64/zlib/1.2.11/gcc/8.2.0/pep2pal/bin:/global/common/sw/cray/cnl7/haswell/cmake/3.18.2/bin:/opt/cray/rca/2.2.20-7.0.1.1_4.62__g8e3fb5b.ari/bin:/opt/cray/alps/6.6.58-7.0.1.1_6.20__g437d88db.ari/sbin:/opt/cray/alps/default/bin:/opt/cray/job/2.2.4-7.0.1.1_3.48__g36b56f4.ari/bin:/opt/cray/pe/craype/2.6.2/bin:/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/bin:/usr/common/software/sles15_cgpu/hpcsdk/20.11/Linux_x86_64/20.11/compilers/bin:/usr/common/software/sles15_cgpu/hpcsdk/20.11/Linux_x86_64/20.11/cuda/bin:/usr/common/software/sles15_cgpu/cuda/11.1.1/bin:/usr/common/software/sles15_cgpu/gcc/8.3.0/bin:/opt/esslurm/bin:/opt/cray/pe/modules/<a href="http://3.2.11.4/bin:/usr/common/software/bin:/usr/common/nsg/bin:/opt/ovis/bin:/opt/ovis/sbin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/cray/pe/bin:dirname" target="_blank">3.2.11.4/bin:/usr/common/software/bin:/usr/common/nsg/bin:/opt/ovis/bin:/opt/ovis/sbin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/cray/pe/bin:`dirname</a> /usr/common/software/sles15_cgpu/cuda/11.1.1/bin/nvcc` NVCC_WRAPPER_DEFAULT_COMPILER=/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/bin/mpicxx /global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/bin/nvcc_wrapper --expt-extended-lambda -c -arch=sm_70 -Xcompiler -rdynamic -DLANDAU_DIM=2 -DLANDAU_MAX_SPECIES=10 -DPETSC_HAVE_CUDA_ATOMIC -DLANDAU_MAX_Q=4 -Xcompiler -fPIC -O3  -gencode arch=compute_80,code=sm_80  -I/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/include -Wno-deprecated-gpu-targets   -I/global/homes/m/madams/petsc/include -I/global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/include -I/usr/common/software/sles15_cgpu/openmpi/4.0.3/gcc/include -I/usr/common/software/sles15_cgpu/cuda/11.1.1/include      /global/u2/m/madams/petsc/src/sys/objects/kokkos/kinit.kokkos.cxx -o arch-cori-gpu-opt-kokkos-gcc/obj/sys/objects/kokkos/kinit.o<br>g++: error: arch=compute_80: No such file or directory<br>g++: error: code=sm_80: No such file or directory<br>gmake[3]: *** [gmakefile:188: arch-cori-gpu-opt-kokkos-gcc/obj/sys/objects/kokkos/kinit.o] Error 1<br>gmake[3]: *** Waiting for unfinished jobs....<br>          CC arch-cori-gpu-opt-kokkos-gcc/obj/vec/is/utils/isio.o<br>          CC arch-cori-gpu-opt-kokkos-gcc/obj/vec/is/utils/ftn-auto/pmapf.o<br>          CC arch-cori-gpu-opt-kokkos-gcc/obj/vec/is/utils/pmap.o<br>          CC arch-cori-gpu-opt-kokkos-gcc/obj/vec/is/utils/psort.o<br>          CC arch-cori-gpu-opt-kokkos-gcc/obj/vec/is/utils/isltog.o<br>          FC arch-cori-gpu-opt-kokkos-gcc/obj/vec/f90-mod/petscvecmod.o<br>       CUDAC arch-cori-gpu-opt-kokkos-gcc/obj/sys/memory/cuda/mcudahost.o<br>   CUDAC.dep arch-cori-gpu-opt-kokkos-gcc/obj/sys/memory/cuda/mcudahost.o<br>gmake[2]: *** [/global/homes/m/madams/petsc/lib/petsc/conf/rules:50: libs] Error 2<br>**************************ERROR*************************************<br>  Error during compile, check arch-cori-gpu-opt-kokkos-gcc/lib/petsc/conf/make.log<br>  Send it and arch-cori-gpu-opt-kokkos-gcc/lib/petsc/conf/configure.log to <a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a><br>********************************************************************<br>gmake[1]: *** [makefile:40: all] Error 1<br>make: *** [GNUmakefile:9: all] Error 2<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 15, 2021 at 5:30 PM Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><br></div>  Bitbucket is off-line. Do you need fortran stubs at this moment? If not use  --with-fortran-interface=0 <div><br><div><br><blockquote type="cite"><div>On May 15, 2021, at 2:51 PM, Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:</div><br><div><div dir="ltr"><div>I can build a non-kokkos PETSc here (Cori/GPU) but I get this error with Kokkos.</div><div>Any suggestions?</div><div>Thanks,</div><div>Mark</div><div><br></div>=============================================================================================                                                                                                                                                                                                                   =============================================================================================                                                                                                                                                                                                                         Trying to download git://<a href="https://bitbucket.org/petsc/pkg-sowing.git" target="_blank">https://bitbucket.org/petsc/pkg-sowing.git</a> for SOWING                                                                                                                                                                                                                            =============================================================================================                                                                                                                                                                                                                   =============================================================================================                                                                                                                                                                                                                         Trying to download git://<a href="https://bitbucket.org/petsc/pkg-sowing.git" target="_blank">https://bitbucket.org/petsc/pkg-sowing.git</a> for SOWING                                                                                                                                                                                                                            =============================================================================================                                                                                                                                                                                                                   =============================================================================================                                                                                                                                                                                                                         Trying to download <a href="https://bitbucket.org/petsc/pkg-sowing/get/v1.1.26-p1.tar.gz" target="_blank">https://bitbucket.org/petsc/pkg-sowing/get/v1.1.26-p1.tar.gz</a> for SOWING                                                                                                                                                                                                                =============================================================================================                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   *******************************************************************************<br>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>-------------------------------------------------------------------------------<br>Error during download/extract/detection of SOWING:<br>Unable to clone sowing<br>Could not execute "['git clone <a href="https://bitbucket.org/petsc/pkg-sowing.git" target="_blank">https://bitbucket.org/petsc/pkg-sowing.git</a> /global/u2/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/externalpackages/git.sowing']":<br>Cloning into '/global/u2/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/externalpackages/git.sowing'...<br>fatal: unable to access '<a href="https://bitbucket.org/petsc/pkg-sowing.git/" target="_blank">https://bitbucket.org/petsc/pkg-sowing.git/</a>': The requested URL returned error: 503<br>Unable to download package SOWING from: git://<a href="https://bitbucket.org/petsc/pkg-sowing.git" target="_blank">https://bitbucket.org/petsc/pkg-sowing.git</a><br>* If URL specified manually - perhaps there is a typo?<br>* If your network is disconnected - please reconnect and rerun ./configure<br>* Or perhaps you have a firewall blocking the download<br>* You can run with --with-packages-download-dir=/adirectory and ./configure will instruct you what packages to download manually<br>* or you can download the above URL manually, to /yourselectedlocation<br>  and use the configure option:<br>  --download-sowing=/yourselectedlocation<br>    Unable to clone sowing<br>Could not execute "['git clone <a href="https://bitbucket.org/petsc/pkg-sowing.git" target="_blank">https://bitbucket.org/petsc/pkg-sowing.git</a> /global/u2/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/externalpackages/git.sowing']":<br>Cloning into '/global/u2/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/externalpackages/git.sowing'...<br>fatal: unable to access '<a href="https://bitbucket.org/petsc/pkg-sowing.git/" target="_blank">https://bitbucket.org/petsc/pkg-sowing.git/</a>': The requested URL returned error: 503<br>Unable to download package SOWING from: git://<a href="https://bitbucket.org/petsc/pkg-sowing.git" target="_blank">https://bitbucket.org/petsc/pkg-sowing.git</a><br>* If URL specified manually - perhaps there is a typo?<br>* If your network is disconnected - please reconnect and rerun ./configure<br>* Or perhaps you have a firewall blocking the download<br>* You can run with --with-packages-download-dir=/adirectory and ./configure will instruct you what packages to download manually<br>* or you can download the above URL manually, to /yourselectedlocation<br>  and use the configure option:<br>  --download-sowing=/yourselectedlocation<br>    file could not be opened successfully<br>Downloaded package SOWING from: <a href="https://bitbucket.org/petsc/pkg-sowing/get/v1.1.26-p1.tar.gz" target="_blank">https://bitbucket.org/petsc/pkg-sowing/get/v1.1.26-p1.tar.gz</a> is not a tarball.<br>[or installed python cannot process compressed files]<br>* If you are behind a firewall - please fix your proxy and rerun ./configure<br>  For example at LANL you may need to set the environmental variable http_proxy (or HTTP_PROXY?) to  <a href="http://proxyout.lanl.gov/" target="_blank">http://proxyout.lanl.gov</a><br>* You can run with --with-packages-download-dir=/adirectory and ./configure will instruct you what packages to download manually<br>* or you can download the above URL manually, to /yourselectedlocation/v1.1.26-p1.tar.gz<br>  and use the configure option:<br>  --download-sowing=/yourselectedlocation/v1.1.26-p1.tar.gz<br>*******************************************************************************<br></div>
<span id="gmail-m_-2594123657682459109gmail-m_3718039331840808274gmail-m_1572418973608050119gmail-m_4467875874349699104cid:f_koq5z5j90"><configure.log></span></div></blockquote></div><br></div></div></blockquote></div>
</blockquote></div>
</div></blockquote></div><br></div></div></div></blockquote></div>
<span id="gmail-m_-2594123657682459109cid:f_kor2w34h0"><make.log></span><span id="gmail-m_-2594123657682459109cid:f_kor2w34l1"><configure.log></span></div></blockquote></div><br></div></div></blockquote></div></div>