<div dir="ltr">I have a code that work on my Mac but it fails on both a Cray XC30 and a KNL, unless the code is build with debug. I get this error message + -info output. I am using -snes_monitor but get no output. This code was working and I added a new feature. It does seem to fail when this new feature is used.<div><br></div><div>And, alas, I do not have a functioning valgrind right now.</div><div><br></div><div>I will start toggling optimization flags but any thoughts would be welcome.</div><div><br></div><div>Mark<br><div><br></div><div><div>[0] MatAssemblyEnd_SeqAIJ(): Matrix size: 4290 X 4290; storage space: 0 unneeded,132612 used</div><div>[0] MatAssemblyEnd_SeqAIJ(): Number of mallocs during MatSetValues() is 0</div><div>[0] MatAssemblyEnd_SeqAIJ(): Maximum nonzeros in any row is 50</div><div>[0] MatCheckCompressedRow(): Found the ratio (num_zerorows 0)/(num_localrows 4290) < 0.6. Do not use CompressedRow routines.</div><div>[0] PetscCommDuplicate(): Using internal PETSc communicator 1140850689 -2080374784</div><div>[0] DMGetDMKSP(): Creating new DMKSP</div><div>[0] TSAdaptCheckStage(): Step=0, nonlinear solve failures 1 greater than current TS allowed, stopping solve</div><div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</div><div>[0]PETSC ERROR:</div><div>[0]PETSC ERROR: TSStep has failed due to DIVERGED_NONLINEAR_SOLVE, increase -ts_max_snes_failures or make negative to attempt recovery</div><div>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</div><div>[0]PETSC ERROR: Petsc Development GIT revision: unknown  GIT Date: unknown</div><div>[0]PETSC ERROR: /global/u2/m/madams/landaufem/Plex/./landaufem on a arch-cori-knl-opt64-novector-intel named nid09355 by madams Thu Dec 15 14:25:00 2016</div><div>[0]PETSC ERROR: TSSolve failed</div><div>1 TS time steps, 512 cells, Nq=9 (4608 IPs), T=0.</div><div>Configure options COPTFLAGS="  -g -O1 -fp-model fast -qopt-report=5 -hcpu=mic-knl -no-simd" CXXOPTFLAGS="-g -O1 -fp-model fast -qopt-report=5 -hcpu=mic-knl -no-simd" FOPTFLAGS="  -g -O1 -fp-model fast -qopt-report=5 -hcpu=mic-knl -no-simd" --download-metis=1 --download-parmetis=1 --with-blas-lapack-dir=/usr/common/software/intel/compilers_and_libraries_2016.3.210/linux/mkl --with-cc=mpiicc --with-cxx=mpiicpc --with-debugging=0 --with-fc=mpiifort --with-mpiexec=srun --with-batch=0 --with-memalign=64 --with-64-bit-indices PETSC_ARCH=arch-cori-knl-opt64-novector-intel --with-openmp=0 --download-p4est=0</div><div>[0]PETSC ERROR: #1 TSStep() line 3972 in /global/u2/m/madams/petsc/src/ts/interface/ts.c</div><div>[0]PETSC ERROR: #2 TSSolve() line 4218 in /global/u2/m/madams/petsc/src/ts/interface/ts.c</div></div><div><br></div></div></div>