Dear libMesh users and developers,
is there any simple way to catch a LIBMESH_CHKERRABORT thrown in
PetscLinearSolver<T>::solve()? I would like to be able to continue the
execution of the program even after the failure.

I took Introduction Example 4, purposely commented out the line
"system.matrix->add_matrix (Ke, dof_indices);" and I tried something like
=====
  try {
system.solve();
  } catch (...) {
std::cerr << "ERROR" << std::endl;
  }
=====
without luck.

Thanks,
best regards,
Francesco
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to