... sadly after some modification the errors show again(I adapt step-29 into this framework(involves FESystem), with matrix-based p-multigrid). I think the error is not on direct solver, since the coarse matrix is initialized successfully in Klu direct solver. However the worst thing is *no error information is returned*, making it really difficult to debug. Maybe the problem is from transfer between MG levels?
I'm runing on the 1.22 version deal.II virtualBox, so environment should be fine. Best, Wayne 在2022年10月12日星期三 UTC+8 09:16:17<yy.wayne> 写道: > Thank for your reply, > > Actually I just kill this error by writing the code again from scratch. I > think the problem might be "system_matrix.clear()" is missed befor > system_matrix.reinit(). > > 在2022年10月12日星期三 UTC+8 04:05:32<[email protected]> 写道: > >> Hello, >> >> I can't identify the problem right away, but here are some tips in >> debugging it: >> >> - Does the problem persist if you disable both h- and p-refinement? >> If so, than an issue might be that your data structures haven't been >> reinitialized after you updated your discretization. >> - Do you run the code in Debug mode? >> - Do you use the latest version of Trilinos? >> >> Marc >> >> On Sunday, October 9, 2022 at 7:02:26 AM UTC-6 yy.wayne wrote: >> >>> In step-75 I try to replace the coarse mg solver with a direct solver, >>> which is TrilinosWrappers::SolverDirect. However I get Segmentation error >>> calling the direct solver, at the last step of SolverDirect::solve(): >>> >>> solver_control.check(0,0); >>> >>> Where could be the mistake? (The deal.ii version is 9.4.0) >>> >> -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/3e8340b6-59d1-44b4-a023-d0e7f91c7e8en%40googlegroups.com.
