Dear Suzon,
did you try to use some debugger / valgrind to see at which line in your
code the error is thrown.
It seems that the size of some of your vectors is not large enough.
Best,
Martin
On 09.09.24 11:19, Suzon Jammes wrote:
Hi all,
I am still working on the fracture problem.
With Matlab and gmsh I created a grid setup that I would like to use
for my models.
The msh file seems to be ok (see files attached) but when I try to use
it in a simulation I get the following error message :
Invalid MIT-MAGIC-COOKIE-1 keyReading parameters from file params.input.
WARNING (ignored): Could not open file 'alugrid.cfg', using default
values!
ALUGrid-LB values: 0 < [balance] < 1.2, partitioning method
'ALUGRID_SpaceFillingCurve(9)'.
You are using DUNE-ALUGrid, please don't forget to cite the paper:
Alkaemper, Dedner, Kloefkorn, Nolte. The DUNE-ALUGrid Module, 2016.
Created parallel ALUGrid<2,2,simplex> (conforming) from input stream.
Computed bounding box tree with 11087 nodes for 5544 grid entities in
0.0022099 seconds.
terminate called after throwing an instance of 'std::length_error'
what(): vector::reserve
[suzon-Precision-7920:07449] *** Process received signal ***
[suzon-Precision-7920:07449] Signal: Aborted (6)
[suzon-Precision-7920:07449] Signal code: (-6)
[suzon-Precision-7920:07449] [ 0]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f1969e46420]
[suzon-Precision-7920:07449] [ 1]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f196976300b]
[suzon-Precision-7920:07449] [ 2]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f1969742859]
[suzon-Precision-7920:07449] [ 3]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0x9e8d1)[0x7f1969b1a8d1]
[suzon-Precision-7920:07449] [ 4]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa37c)[0x7f1969b2637c]
[suzon-Precision-7920:07449] [ 5]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa3e7)[0x7f1969b263e7]
[suzon-Precision-7920:07449] [ 6]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa699)[0x7f1969b26699]
[suzon-Precision-7920:07449] [ 7]
/lib/x86_64-linux-gnu/libstdc++.so.6(_ZSt20__throw_length_errorPKc+0x41)[0x7f1969b1d2e4]
[suzon-Precision-7920:07449] [ 8]
./NewDTest2PNCNI_Test_fractures(+0x1a3e9c)[0x55e8b88d2e9c]
[suzon-Precision-7920:07449] [ 9]
./NewDTest2PNCNI_Test_fractures(+0x1a5d85)[0x55e8b88d4d85]
[suzon-Precision-7920:07449] [10]
./NewDTest2PNCNI_Test_fractures(+0x1a6272)[0x55e8b88d5272]
[suzon-Precision-7920:07449] [11]
./NewDTest2PNCNI_Test_fractures(+0x5c57a)[0x55e8b878b57a]
[suzon-Precision-7920:07449] [12]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f1969744083]
[suzon-Precision-7920:07449] [13]
./NewDTest2PNCNI_Test_fractures(+0x5f91e)[0x55e8b878e91e]
[suzon-Precision-7920:07449] *** End of error message ***
Aborted (core dumped)
Do you have any ideas what could be the problem ? I must have forget
something but I can't figure out what it is so far.
Thank you for your help,
Suzon
_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux