<div dir="ltr"><div dir="ltr">On Wed, Feb 20, 2019 at 11:19 PM Zin Lin via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br></div><div class="gmail_quote"><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"><div dir="ltr">Hi <div>I have a finite difference code based on petsc-3.6.4 working perfectly fine on a local server (using about ~40 cpus)</div><div><br></div><div>but the exact same code and the exact same example on a cray system compiled with petsc-3.7.4 is giving me the following error:</div><div><br></div><div><div><font color="#ff0000">[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</font></div><div><font color="#ff0000">[0]PETSC ERROR: Argument out of range</font></div><div><font color="#ff0000">[0]PETSC ERROR: Partition in y direction is too fine! 0 1</font></div></div></div></div></blockquote><div><br></div><div>Okay, what this seem to be saying is that you have 1 point in z (which it seems you do), but</div><div>zero processors in that direction. If you set P = 1, then this should go away.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</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 dir="ltr"><div dir="ltr"><div><div><font color="#ff0000">[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</font></div><div><font color="#ff0000">[0]PETSC ERROR: Petsc Release Version 3.7.6, Apr, 24, 2017</font></div><div><font color="#ff0000">[0]PETSC ERROR: ./farfieldopt_exec on a x86_64 named nid02531 by zinlin Wed Feb 20 21:59:21 2019</font></div><div><font color="#ff0000">[0]PETSC ERROR: Configure options --known-has-attribute-aligned=1 --known-mpi-int64_t=0 --known-bits-per-byte=8 --known-sdot-returns-double=0 --known-snrm2-returns-double=0 --known-level1-dcache-assoc=4 --known-level1-dcache-linesize=64 --known-level1-dcache-size=16384 --known-memcmp-ok=1 --known-mpi-c-double-complex=1 --known-mpi-long-double=0 --known-mpi-shared-libraries=0 --known-sizeof-MPI_Comm=4 --known-sizeof-MPI_Fint=4 --known-sizeof-char=1 --known-sizeof-double=8 --known-sizeof-float=4 --known-sizeof-int=4 --known-sizeof-long-long=8 --known-sizeof-long=8 --known-sizeof-short=2 --known-sizeof-size_t=8 --known-sizeof-void-p=8 --with-ar=ar --with-batch=1 --with-cc=cc --with-clib-autodetect=0 --with-cxx=CC --with-cxxlib-autodetect=0 --with-debugging=0 --with-dependencies=0 --with-fc=ftn --with-fortran-datatypes=0 --with-fortran-interfaces=0 --with-fortranlib-autodetect=0 --with-ranlib=ranlib --with-scalar-type=complex --with-shared-ld=ar --with-etags=0 --with-dependencies=0 --with-x=0 --with-ssl=0 --with-shared-libraries=0 --with-dependencies=0 --with-mpi-lib="[]" --with-mpi-include="[]" --with-blas-lapack-lib="-L/opt/cray/libsci/<a href="http://17.06.1.1/CRAY/8.6/x86_64/lib" target="_blank">17.06.1.1/CRAY/8.6/x86_64/lib</a> -lsci_cray_mp" --with-superlu_dist=1 --with-superlu_dist-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-superlu_dist-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lsuperlu_dist-64" --with-parmetis=1 --with-parmetis-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-parmetis-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lparmetis-64" --with-metis=1 --with-metis-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-metis-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lmetis-64" --with-ptscotch=1 --with-ptscotch-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-ptscotch-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lptscotch-64 -lscotch-64 -lptscotcherr-64 -lscotcherr-64" --with-scalapack=1 --with-scalapack-include=/opt/cray/libsci/<a href="http://17.06.1.1/CRAY/8.6/x86_64/include" target="_blank">17.06.1.1/CRAY/8.6/x86_64/include</a> --with-scalapack-lib="-L/opt/cray/libsci/<a href="http://17.06.1.1/CRAY/8.6/x86_64/lib" target="_blank">17.06.1.1/CRAY/8.6/x86_64/lib</a> -lsci_cray_mpi_mp -lsci_cray_mp" --with-hdf5=1 --with-hdf5-include=/opt/cray/hdf5-parallel/<a href="http://1.10.0.3/CRAY/8.6/include" target="_blank">1.10.0.3/CRAY/8.6/include</a> --with-hdf5-lib="-L/opt/cray/hdf5-parallel/<a href="http://1.10.0.3/CRAY/8.6/lib" target="_blank">1.10.0.3/CRAY/8.6/lib</a> -lhdf5_parallel -lz -ldl" --CFLAGS="-hnopattern -O2 -hpic" --CPPFLAGS="-hnomessage=11709 " --CXXFLAGS="-hnopattern -O2 -hpic" --FFLAGS="-hnopattern -O2 -F -em -hnocaf -hpic" --LIBS= --CXX_LINKER_FLAGS= --PETSC_ARCH=x86_64 --prefix=/opt/cray/pe/petsc/<a href="http://3.7.6.0/complex/CRAY64/8.6/x86_64" target="_blank">3.7.6.0/complex/CRAY64/8.6/x86_64</a> --with-64-bit-indices</font></div><div><font color="#ff0000">[0]PETSC ERROR: #1 DMSetUp_DA_3D() line 298 in src/dm/impls/da/da3.c</font></div><div><font color="#ff0000">[0]PETSC ERROR: #2 DMSetUp_DA() line 27 in src/dm/impls/da/dareg.c</font></div><div><font color="#ff0000">[0]PETSC ERROR: #3 DMSetUp() line 744 in src/dm/interface/dm.c</font></div><div><font color="#ff0000">[0]PETSC ERROR: #4 DMDACreate3d() line 1446 in src/dm/impls/da/da3.c</font></div><div><font color="#ff0000">[0]PETSC ERROR: #5 setParDataGrid() line 176 in /p/home/zinlin/Dev_3DOpt/library/initialize.c</font></div><div><font color="#ff0000">[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</font></div><div><font color="#ff0000">[0]PETSC ERROR: Argument out of range</font></div><div><font color="#ff0000">[0]PETSC ERROR: key 1099516865361 is greater than largest key allowed 751</font></div><div><font color="#ff0000">[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</font></div><div><font color="#ff0000">[0]PETSC ERROR: Petsc Release Version 3.7.6, Apr, 24, 2017</font></div><div><font color="#ff0000">[0]PETSC ERROR: ./farfieldopt_exec on a x86_64 named nid02531 by zinlin Wed Feb 20 21:59:21 2019</font></div><div><font color="#ff0000">[0]PETSC ERROR: Configure options --known-has-attribute-aligned=1 --known-mpi-int64_t=0 --known-bits-per-byte=8 --known-sdot-returns-double=0 --known-snrm2-returns-double=0 --known-level1-dcache-assoc=4 --known-level1-dcache-linesize=64 --known-level1-dcache-size=16384 --known-memcmp-ok=1 --known-mpi-c-double-complex=1 --known-mpi-long-double=0 --known-mpi-shared-libraries=0 --known-sizeof-MPI_Comm=4 --known-sizeof-MPI_Fint=4 --known-sizeof-char=1 --known-sizeof-double=8 --known-sizeof-float=4 --known-sizeof-int=4 --known-sizeof-long-long=8 --known-sizeof-long=8 --known-sizeof-short=2 --known-sizeof-size_t=8 --known-sizeof-void-p=8 --with-ar=ar --with-batch=1 --with-cc=cc --with-clib-autodetect=0 --with-cxx=CC --with-cxxlib-autodetect=0 --with-debugging=0 --with-dependencies=0 --with-fc=ftn --with-fortran-datatypes=0 --with-fortran-interfaces=0 --with-fortranlib-autodetect=0 --with-ranlib=ranlib --with-scalar-type=complex --with-shared-ld=ar --with-etags=0 --with-dependencies=0 --with-x=0 --with-ssl=0 --with-shared-libraries=0 --with-dependencies=0 --with-mpi-lib="[]" --with-mpi-include="[]" --with-blas-lapack-lib="-L/opt/cray/libsci/<a href="http://17.06.1.1/CRAY/8.6/x86_64/lib" target="_blank">17.06.1.1/CRAY/8.6/x86_64/lib</a> -lsci_cray_mp" --with-superlu_dist=1 --with-superlu_dist-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-superlu_dist-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lsuperlu_dist-64" --with-parmetis=1 --with-parmetis-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-parmetis-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lparmetis-64" --with-metis=1 --with-metis-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-metis-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lmetis-64" --with-ptscotch=1 --with-ptscotch-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-ptscotch-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lptscotch-64 -lscotch-64 -lptscotcherr-64 -lscotcherr-64" --with-scalapack=1 --with-scalapack-include=/opt/cray/libsci/<a href="http://17.06.1.1/CRAY/8.6/x86_64/include" target="_blank">17.06.1.1/CRAY/8.6/x86_64/include</a> --with-scalapack-lib="-L/opt/cray/libsci/<a href="http://17.06.1.1/CRAY/8.6/x86_64/lib" target="_blank">17.06.1.1/CRAY/8.6/x86_64/lib</a> -lsci_cray_mpi_mp -lsci_cray_mp" --with-hdf5=1 --with-hdf5-include=/opt/cray/hdf5-parallel/<a href="http://1.10.0.3/CRAY/8.6/include" target="_blank">1.10.0.3/CRAY/8.6/include</a> --with-hdf5-lib="-L/opt/cray/hdf5-parallel/<a href="http://1.10.0.3/CRAY/8.6/lib" target="_blank">1.10.0.3/CRAY/8.6/lib</a> -lhdf5_parallel -lz -ldl" --CFLAGS="-hnopattern -O2 -hpic" --CPPFLAGS="-hnomessage=11709 " --CXXFLAGS="-hnopattern -O2 -hpic" --FFLAGS="-hnopattern -O2 -F -em -hnocaf -hpic" --LIBS= --CXX_LINKER_FLAGS= --PETSC_ARCH=x86_64 --prefix=/opt/cray/pe/petsc/<a href="http://3.7.6.0/complex/CRAY64/8.6/x86_64" target="_blank">3.7.6.0/complex/CRAY64/8.6/x86_64</a> --with-64-bit-indices</font></div><div><font color="#ff0000">[0]PETSC ERROR: #6 PetscTableFind() line 142 in /b/cray-petsc/.cray-build/CRAY/86/x86_64/cray-petsc-64-complex/petsc-3.7.6/./include/petscctable.h</font></div><div><font color="#ff0000">[0]PETSC ERROR: #7 MatSetUpMultiply_MPIAIJ() line 33 in src/mat/impls/aij/mpi/mmaij.c</font></div><div><font color="#ff0000">[0]PETSC ERROR: #8 MatAssemblyEnd_MPIAIJ() line 747 in src/mat/impls/aij/mpi/mpiaij.c</font></div><div><font color="#ff0000">[0]PETSC ERROR: #9 MatAssemblyEnd() line 5194 in src/mat/interface/matrix.c</font></div><div><font color="#ff0000">[0]PETSC ERROR: ------------------------------------------------------------------------</font></div><div><font color="#ff0000">[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range</font></div><div><font color="#ff0000">[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger</font></div><div><font color="#ff0000">[0]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a></font></div><div><font color="#ff0000">[0]PETSC ERROR: or try <a href="http://valgrind.org" target="_blank">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors</font></div><div><font color="#ff0000">[0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run</font></div><div><font color="#ff0000">[0]PETSC ERROR: to get more information on the crash.</font></div><div><font color="#ff0000">[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</font></div><div><font color="#ff0000">[0]PETSC ERROR: Signal received</font></div><div><font color="#ff0000">[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</font></div><div><font color="#ff0000">[0]PETSC ERROR: Petsc Release Version 3.7.6, Apr, 24, 2017</font></div><div><font color="#ff0000">[0]PETSC ERROR: ./farfieldopt_exec on a x86_64 named nid02531 by zinlin Wed Feb 20 21:59:21 2019</font></div><div><font color="#ff0000">[0]PETSC ERROR: Configure options --known-has-attribute-aligned=1 --known-mpi-int64_t=0 --known-bits-per-byte=8 --known-sdot-returns-double=0 --known-snrm2-returns-double=0 --known-level1-dcache-assoc=4 --known-level1-dcache-linesize=64 --known-level1-dcache-size=16384 --known-memcmp-ok=1 --known-mpi-c-double-complex=1 --known-mpi-long-double=0 --known-mpi-shared-libraries=0 --known-sizeof-MPI_Comm=4 --known-sizeof-MPI_Fint=4 --known-sizeof-char=1 --known-sizeof-double=8 --known-sizeof-float=4 --known-sizeof-int=4 --known-sizeof-long-long=8 --known-sizeof-long=8 --known-sizeof-short=2 --known-sizeof-size_t=8 --known-sizeof-void-p=8 --with-ar=ar --with-batch=1 --with-cc=cc --with-clib-autodetect=0 --with-cxx=CC --with-cxxlib-autodetect=0 --with-debugging=0 --with-dependencies=0 --with-fc=ftn --with-fortran-datatypes=0 --with-fortran-interfaces=0 --with-fortranlib-autodetect=0 --with-ranlib=ranlib --with-scalar-type=complex --with-shared-ld=ar --with-etags=0 --with-dependencies=0 --with-x=0 --with-ssl=0 --with-shared-libraries=0 --with-dependencies=0 --with-mpi-lib="[]" --with-mpi-include="[]" --with-blas-lapack-lib="-L/opt/cray/libsci/<a href="http://17.06.1.1/CRAY/8.6/x86_64/lib" target="_blank">17.06.1.1/CRAY/8.6/x86_64/lib</a> -lsci_cray_mp" --with-superlu_dist=1 --with-superlu_dist-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-superlu_dist-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lsuperlu_dist-64" --with-parmetis=1 --with-parmetis-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-parmetis-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lparmetis-64" --with-metis=1 --with-metis-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-metis-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lmetis-64" --with-ptscotch=1 --with-ptscotch-include=/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/include --with-ptscotch-lib="-L/opt/cray/tpsl/17.06.1/CRAY64/8.6/x86_64/lib -lptscotch-64 -lscotch-64 -lptscotcherr-64 -lscotcherr-64" --with-scalapack=1 --with-scalapack-include=/opt/cray/libsci/<a href="http://17.06.1.1/CRAY/8.6/x86_64/include" target="_blank">17.06.1.1/CRAY/8.6/x86_64/include</a> --with-scalapack-lib="-L/opt/cray/libsci/<a href="http://17.06.1.1/CRAY/8.6/x86_64/lib" target="_blank">17.06.1.1/CRAY/8.6/x86_64/lib</a> -lsci_cray_mpi_mp -lsci_cray_mp" --with-hdf5=1 --with-hdf5-include=/opt/cray/hdf5-parallel/<a href="http://1.10.0.3/CRAY/8.6/include" target="_blank">1.10.0.3/CRAY/8.6/include</a> --with-hdf5-lib="-L/opt/cray/hdf5-parallel/<a href="http://1.10.0.3/CRAY/8.6/lib" target="_blank">1.10.0.3/CRAY/8.6/lib</a> -lhdf5_parallel -lz -ldl" --CFLAGS="-hnopattern -O2 -hpic" --CPPFLAGS="-hnomessage=11709 " --CXXFLAGS="-hnopattern -O2 -hpic" --FFLAGS="-hnopattern -O2 -F -em -hnocaf -hpic" --LIBS= --CXX_LINKER_FLAGS= --PETSC_ARCH=x86_64 --prefix=/opt/cray/pe/petsc/<a href="http://3.7.6.0/complex/CRAY64/8.6/x86_64" target="_blank">3.7.6.0/complex/CRAY64/8.6/x86_64</a> --with-64-bit-indices</font></div><div><font color="#ff0000">[0]PETSC ERROR: #10 User provided function() line 0 in unknown file</font></div><div><font color="#ff0000">Rank 0 [Wed Feb 20 21:59:21 2019] [c13-0c0s8n3] application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0</font></div><div><font color="#ff0000">_pmiu_daemon(SIGCHLD): [NID 02531] [c13-0c0s8n3] [Wed Feb 20 21:59:21 2019] PE RANK 0 exit signal Aborted</font></div><div><br></div><div>now this is testing with just 1 cpu.</div><div>does it have something to do with DM having a problem because y dimension is just one pixel (so a 2d problem though DMDAcreate3d was used) ?</div><div>but there was no problem with it before on the local server and petsc-3.6.4.</div><div>any help will be appreciated.</div><div>Thanks,</div><div>Zin</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_1325714282252112595gmail_signature"><div dir="ltr">Zin Lin<br><br></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>