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/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to