Re: [deal.II] deal.ii step 49 debug error

2020-10-29 Thread Nick Wang
sorry, After recompiling deal.II, it now works correctly. 在2020年10月30日星期五 UTC+8 上午11:47:34 写道: > I added a pause code to see where the problem is > I find when exe. this code and crash back > *gridin.read_msh(f);* > > this is my code here > > void grid_1() > { > std::string str("grid_1");

Re: [deal.II] deal.ii step 49 debug error

2020-10-29 Thread Nick Wang
I added a pause code to see where the problem is I find when exe. this code and crash back *gridin.read_msh(f);* this is my code here void grid_1() { std::string str("grid_1"); std::cout << str << std::endl; std::system("pause"); Triangulation<2> triangulation; std::system("pause");

Re: [deal.II] deal.ii step 49 debug error

2020-10-29 Thread Nick Wang
yeah, I also put the file in my exe. but when I try to make the exe. it can't work well and crash back . I try to delete the step-49 *grid 1* related codes and it can work well , I get the vtu. 在2020年10月30日星期五 UTC+8 上午10:55:30 写道: > On 10/29/20 8:53 PM, Nick Wang wrote: > > I replaced all

Re: [deal.II] deal.ii step 49 debug error

2020-10-29 Thread Wolfgang Bangerth
On 10/29/20 8:53 PM, Nick Wang wrote:  I replaced all the files in step-49, while still crashed during debugging this is my code, I don't know why. Nick -- did you also put the missing file in the directory in which you run the executable? What is the concrete error message? Best W. -- -

Re: [deal.II] deal.ii step 49 debug error

2020-10-29 Thread Nick Wang
I replaced all the files in step-49, while still crashed during debugging this is my code, I don't know why. #include #include #include #include #include #include #include #include #include #include #include using namespace dealii; template void print_mesh_info(const Triangulation

Re: [deal.II] Re: CTest Build Error

2020-10-29 Thread Zachary Streeter
Daniel, Couldn't get much easier than that! I misread the website "ensure that deal.II is successfully configured and built (installation is not necessary)" as just configure! Note, I haven't actually tried to make first then test but I'd be surprised if that wasn't it. Cheers, Zachary On T

Re: [deal.II] Re: CTest Build Error

2020-10-29 Thread Daniel Arndt
Zachary, Did you actually build deal.II, i.e did you run make? Best, Daniel Am Do., 29. Okt. 2020 um 10:39 Uhr schrieb Zachary Streeter < zacharyloui...@gmail.com>: > I'v tried on various computers so I think I'm missing a step. > > 1) $ cmake .. > 2) $ make setup_tests > and everything works,

Re: [deal.II] deal.ii step 49 debug error

2020-10-29 Thread Wolfgang Bangerth
Nick, I try to run step-49 on my native windows, while debug error. I find that the error emerges on that void grid_1() {   Triangulation<2> triangulation;   GridIn<2> gridin;   gridin.attach_triangulation(triangulation);   std::ifstream f("example.msh");   gridin.read_msh(f);   print_

[deal.II] Re: CTest Build Error

2020-10-29 Thread Zachary Streeter
I'v tried on various computers so I think I'm missing a step. 1) $ cmake .. 2) $ make setup_tests and everything works, it seems, so far... 3) $ ctest -V -R "base/aligned_vector_01" ( and here is my output on a different computer ) test 1181 Start 1181: base/aligned_vector_01.debug 1181: T

[deal.II] deal.ii step 49 debug error

2020-10-29 Thread Nick Wang
Dear all, I try to run step-49 on my native windows, while debug error. I find that the error emerges on that void grid_1() { Triangulation<2> triangulation; GridIn<2> gridin; gridin.attach_triangulation(triangulation); std::ifstream f("example.msh"); gridin.read_msh(f); print_me