<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 30, 2015 at 2:43 PM, Soumya Mukherjee <span dir="ltr"><<a href="mailto:soumyamechanics@gmail.com" target="_blank">soumyamechanics@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks for the reply.<br><br></div>The error message shows<br>[0]PETSC ERROR: Invalid argument<br>[0]PETSC ERROR: Scalar value must be same on all processes, argument # 3<br></div></blockquote><div><br></div><div>This is a common error when you calculate a NaN somehow.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">[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.<br>[0]PETSC ERROR: Petsc Release Version 3.6.1, Jul, 22, 2015 <br>[0]PETSC ERROR: ./main on a arch-linux2-cxx-debug named soumya-OptiPlex-9010 by soumya Mon Nov 30 12:30:28 2015<br>[0]PETSC
ERROR: Configure options --with-cc=gcc --with-fc=gfortran
--with-cxx=g++ --with-clanguage=cxx --download-fblaslapack
--download-mpich --with-scalar-type=complex<br>[0]PETSC ERROR: #1016 BVScaleColumn() line 380 in /home/soumya/slepc-3.6.0/src/sys/classes/bv/interface/bvops.c<br>[0]PETSC ERROR: #1017 EPSBasicArnoldi() line 65 in /home/soumya/slepc-3.6.0/src/eps/impls/krylov/epskrylov.c<br>[0]PETSC
ERROR: #1018 EPSSolve_KrylovSchur_Default() line 201 in
/home/soumya/slepc-3.6.0/src/eps/impls/krylov/krylovschur/krylovschur.c<br>[0]PETSC ERROR: #1019 EPSSolve() line 101 in /home/soumya/slepc-3.6.0/src/eps/interface/epssolve.c<br>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Object is in wrong state<br>[0]PETSC ERROR: Must call EPSSolve() first: Parameter #1<br>[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.<br>[0]PETSC ERROR: Petsc Release Version 3.6.1, Jul, 22, 2015 <br>[0]PETSC ERROR: ./main on a arch-linux2-cxx-debug named soumya-OptiPlex-9010 by soumya Mon Nov 30 12:30:28 2015<br>[0]PETSC
ERROR: Configure options --with-cc=gcc --with-fc=gfortran
--with-cxx=g++ --with-clanguage=cxx --download-fblaslapack
--download-mpich --with-scalar-type=complex<br>[0]PETSC ERROR: #1020 EPSGetConverged() line 236 in /home/soumya/slepc-3.6.0/src/eps/interface/epssolve.c<br>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Object is in wrong state<br>[0]PETSC ERROR: Must call EPSSolve() first: Parameter #1<br>[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.<br>[0]PETSC ERROR: Petsc Release Version 3.6.1, Jul, 22, 2015 <br>[0]PETSC ERROR: ./main on a arch-linux2-cxx-debug named soumya-OptiPlex-9010 by soumya Mon Nov 30 12:30:28 2015<br>[0]PETSC
ERROR: Configure options --with-cc=gcc --with-fc=gfortran
--with-cxx=g++ --with-clanguage=cxx --download-fblaslapack
--download-mpich --with-scalar-type=complex<br>[0]PETSC ERROR: #1021 EPSGetEigenpair() line 378 in /home/soumya/slepc-3.6.0/src/eps/interface/epssolve.c<br>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Object is in wrong state<br>[0]PETSC ERROR: Must call EPSSolve() first: Parameter #1<br>[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.<br>[0]PETSC ERROR: Petsc Release Version 3.6.1, Jul, 22, 2015 <br>[0]PETSC ERROR: ./main on a arch-linux2-cxx-debug named soumya-OptiPlex-9010 by soumya Mon Nov 30 12:30:28 2015<br>[0]PETSC
ERROR: Configure options --with-cc=gcc --with-fc=gfortran
--with-cxx=g++ --with-clanguage=cxx --download-fblaslapack
--download-mpich --with-scalar-type=complex<br>[0]PETSC ERROR: #1022 EPSGetEigenpair() line 378 in /home/soumya/slepc-3.6.0/src/eps/interface/epssolve.c<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 9:08 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Mon, Nov 30, 2015 at 7:59 AM, Soumya Mukherjee <span dir="ltr"><<a href="mailto:soumyamechanics@gmail.com" target="_blank">soumyamechanics@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">It is a PETSc error. And I just wanted to know if runs without an error in your machine.</p></blockquote></span><div>This is not a PETSc error, as such. PETSc installs a signal handler so that we can try and get more</div><div>information about signals. However, it is likely that you have a Floating Point Exception, like a divide</div><div>by zero, in your user code.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt <br></div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">On Nov 30, 2015 4:34 AM, "Jose E. Roman" <<a href="mailto:jroman@dsic.upv.es" target="_blank">jroman@dsic.upv.es</a>> wrote:<br>
><br>
> I am not going to run your code. We are not a free debugging service. You have to debug the code yourself, and let us know only if the issue is related to the SLEPc library. Start adding error checking code with the CHKERRQ macro to all PETSc/SLEPc calls. This will catch most errors. It no errors are detected, then run with a debugger such as gdb or valgrind to determine the exact point where the program fails.<br>
><br>
> Jose<br>
></p>
</blockquote></span></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><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>
</font></span></font></span></div></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">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></div>