Hi all, I think I found the reason. It's because I was using older version of dealii generating the vtu file and therefore can only read through older version.
Happy new year, Longying On Saturday 23 December 2023 at 14:57:26 UTC+2 LY XXXiao wrote: > Dear Dealii_group, > > I encounter a memory problem at reading vtu file when I compile with > dealii.9.50 but not with 9.40. > When I compile with 9.40 (*cmake -DDEAL_II_DIR=/data/libs/dealii-9.4.1 .*) > and '*make run*', it will output: " *Reading vtu file with cells:260* " > (which is the correct output); > When I compile with 9.50 (*cmake .*) and '*make run*', it will output: > "*terminate > called after throwing an instance of 'std::bad_alloc; **what(): > std::bad_alloc'"* > > I am wondering, if it is my mesh file is incorrect or there is some bug > hidden in th enew version dealii ? (Attached please find the test script) > > Thank you in advance for whoever gives some comments on this :) > > Have a brilliant holiday season, > Longying > -- 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/bcb9bbc7-fefa-4fd3-b29e-92fc8e899447n%40googlegroups.com.
