From: Wolfgang Bangerth Date: Mon, 22 Jun 2009 15:08:36 +0000 (+0000) Subject: Properly initialize PETSC. X-Git-Tag: v8.0.0~7601 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5a94af0652ba4cbfd946947923ff9834af1a573;p=dealii.git Properly initialize PETSC. git-svn-id: https://svn.dealii.org/trunk@18949 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-36/step-36.cc b/deal.II/examples/step-36/step-36.cc index a82f8b7d21..0185a2ff5b 100644 --- a/deal.II/examples/step-36/step-36.cc +++ b/deal.II/examples/step-36/step-36.cc @@ -230,11 +230,13 @@ void EigenvalueProblem::run () // @sect3{The main function} -int main () +int main (int argc, char **argv) { try { + PetscInitialize(&argc,&argv,0,0); deallog.depth_console (0); + EigenvalueProblem<2> laplace_problem_2d; laplace_problem_2d.run (); }