I’m a novice Palabos user and i’m trying to assemble my own code to run some 2D cases. I am interested in using the grid refinement tool that is included in examples/showCases/gridRefinement2D, and i want to run this example in order to understand the structure of this code in a better way.
I can compile the example with no problems, but when i try to execute the code the following error is given through the console:
[mf4:05325] *** Process received signal ***
[mf4:05325] Signal: Segmentation fault (11)
[mf4:05325] Signal code: Address not mapped (1)
[mf4:05325] Failing at address: (nil)
[mf4:05325] [ 0] /lib/libpthread.so.0(+0xeff0) [0x7fd98f9bbff0]
[mf4:05325] [ 1] /lib/libc.so.6(+0x37702) [0x7fd98f682702]
[mf4:05325] [ 2] ./dipole(main+0xb9) [0x4a7f49]
[mf4:05325] [ 3] /lib/libc.so.6(__libc_start_main+0xfd) [0x7fd98f669c8d]
[mf4:05325] [ 4] ./dipole() [0x49f439]
[mf4:05325] *** End of error message ***
I tried to run the example both in parallel and serial, but the error remains.
I dont know where this issue could came from, because i changed nothing on the base example.
How could i solve this problem? Thank you very much!