Never mind. I recompile dealii. The error is just gone. Thank you. Best. Xin
On Tue, Dec 13, 2011 at 11:24 AM, Wolfgang Bangerth <[email protected]>wrote: > > when compiling step-40 in optimized mode, I got the following Petsc >> error, which doesn't show up in debug mode. I'm curious what causes it. >> Does anyone have some experience about this. Any hint would be >> appreciated. Thank you. >> >> Best regards, >> Xin >> >> >> **************************************************************** >> ************************************************ >> Cycle 0: >> Number of active cells: 1024 >> Number of degrees of freedom: 4225 >> [0]PETSC ERROR: --------------------- Error Message >> ------------------------------**------ >> [0]PETSC ERROR: Null argument, when expecting valid pointer! >> [0]PETSC ERROR: Null Object: Parameter # 2! >> > > I don't have this problem when running in optimized mode. Can you generate > a backtrace to see where the problem is happening? Do you call > PetscInitialize in main()? > > Best > W. > > ------------------------------**------------------------------** > ------------ > Wolfgang Bangerth email: [email protected] > www: > http://www.math.tamu.edu/~**bangerth/<http://www.math.tamu.edu/~bangerth/> > > ______________________________**_________________ > dealii mailing list > http://poisson.dealii.org/**mailman/listinfo/dealii<http://poisson.dealii.org/mailman/listinfo/dealii> >
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
