Hi,
I am new to Palabos. I have read through the user guide and somewhat understand the code. I have also done the tutorials and that has helped. I am now building my own simulation and I am using the aneurysm code as a base. My problem is very similar, however, the geometry is different. I am using an STL file to describe the geometry. The code compiles just fine. However, everytime I try to run the code I get the error below.
I am not sure what I am doing wrong. There isn’t a really clear explanation (for beginners) on reading in an STL file and defining the boundaries for the domain based on the STL file. I would really appreciate any help. It would be helpful to know which parts of the code must be modified if I am using a different STL file.
It would be useful to have a tutorial posted up explaining how to read an STL file to define a simulation domain and how to assign boundaries for the STL file. The aneurysm code is a bit advanced for beginner users to learn from.
Thanks and Regards,
Muaaz Bhamjee
aneurysm: /usr/local/palabos-v1.3r0/src/offLattice/triangleSet.hh:105: void plb::TriangleSet::readSTL(std::string) [with T = double, std::string = std::basic_string]: Assertion fp != __null' failed. [muaaz-Dell-System-XPS-L502X:03259] *** Process received signal *** [muaaz-Dell-System-XPS-L502X:03259] Signal: Aborted (6) [muaaz-Dell-System-XPS-L502X:03259] Signal code: (-6) aneurysm: /usr/local/palabos-v1.3r0/src/offLattice/triangleSet.hh:105: void plb::TriangleSet<T>::readSTL(std::string) [with T = double, std::string = std::basic_string<char>]: Assertion
fp != __null’ failed.
[muaaz-Dell-System-XPS-L502X:03260] *** Process received signal ***
[muaaz-Dell-System-XPS-L502X:03260] Signal: Aborted (6)
[muaaz-Dell-System-XPS-L502X:03260] Signal code: (-6)
aneurysm: /usr/local/palabos-v1.3r0/src/offLattice/triangleSet.hh:105: void plb::TriangleSet::readSTL(std::string) [with T = double, std::string = std::basic_string]: Assertion fp != __null' failed. [muaaz-Dell-System-XPS-L502X:03261] *** Process received signal *** [muaaz-Dell-System-XPS-L502X:03261] Signal: Aborted (6) [muaaz-Dell-System-XPS-L502X:03261] Signal code: (-6) aneurysm: /usr/local/palabos-v1.3r0/src/offLattice/triangleSet.hh:105: void plb::TriangleSet<T>::readSTL(std::string) [with T = double, std::string = std::basic_string<char>]: Assertion
fp != __null’ failed.
[muaaz-Dell-System-XPS-L502X:03262] *** Process received signal ***
[muaaz-Dell-System-XPS-L502X:03262] Signal: Aborted (6)
[muaaz-Dell-System-XPS-L502X:03262] Signal code: (-6)
[muaaz-Dell-System-XPS-L502X:03261] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7feae233fcb0]
[muaaz-Dell-System-XPS-L502X:03261] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7feae1fa7425]
[muaaz-Dell-System-XPS-L502X:03261] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7feae1faab8b]
[muaaz-Dell-System-XPS-L502X:03261] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x2f0ee) [0x7feae1fa00ee]
[muaaz-Dell-System-XPS-L502X:03261] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x2f192) [0x7feae1fa0192]
[muaaz-Dell-System-XPS-L502X:03261] [ 5] aneurysm() [0x48d6c9]
[muaaz-Dell-System-XPS-L502X:03261] [ 6] aneurysm(_Z14readParametersRKN3plb9XMLreaderE+0x1102) [0x48e7d2]
[muaaz-Dell-System-XPS-L502X:03261] [ 7] aneurysm(main+0x13a) [0x48789a]
[muaaz-Dell-System-XPS-L502X:03261] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7feae1f9276d]
[muaaz-Dell-System-XPS-L502X:03261] [ 9] aneurysm() [0x489961]
[muaaz-Dell-System-XPS-L502X:03261] *** End of error message ***
[muaaz-Dell-System-XPS-L502X:03262] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f34f29accb0]
[muaaz-Dell-System-XPS-L502X:03262] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f34f2614425]
[muaaz-Dell-System-XPS-L502X:03262] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f34f2617b8b]
[muaaz-Dell-System-XPS-L502X:03262] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x2f0ee) [0x7f34f260d0ee]
[muaaz-Dell-System-XPS-L502X:03262] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x2f192) [0x7f34f260d192]
[muaaz-Dell-System-XPS-L502X:03262] [ 5] aneurysm() [0x48d6c9]
[muaaz-Dell-System-XPS-L502X:03262] [ 6] aneurysm(_Z14readParametersRKN3plb9XMLreaderE+0x1102) [0x48e7d2]
[muaaz-Dell-System-XPS-L502X:03262] [ 7] aneurysm(main+0x13a) [0x48789a]
[muaaz-Dell-System-XPS-L502X:03262] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f34f25ff76d]
[muaaz-Dell-System-XPS-L502X:03262] [ 9] aneurysm() [0x489961]
[muaaz-Dell-System-XPS-L502X:03262] *** End of error message ***
[muaaz-Dell-System-XPS-L502X:03259] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f449eca7cb0]
[muaaz-Dell-System-XPS-L502X:03259] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f449e90f425]
[muaaz-Dell-System-XPS-L502X:03259] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f449e912b8b]
[muaaz-Dell-System-XPS-L502X:03259] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x2f0ee) [0x7f449e9080ee]
[muaaz-Dell-System-XPS-L502X:03259] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x2f192) [0x7f449e908192]
[muaaz-Dell-System-XPS-L502X:03259] [ 5] aneurysm() [0x48d6c9]
[muaaz-Dell-System-XPS-L502X:03259] [ 6] aneurysm(_Z14readParametersRKN3plb9XMLreaderE+0x1102) [0x48e7d2]
[muaaz-Dell-System-XPS-L502X:03259] [ 7] aneurysm(main+0x13a) [0x48789a]
[muaaz-Dell-System-XPS-L502X:03259] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f449e8fa76d]
[muaaz-Dell-System-XPS-L502X:03259] [ 9] aneurysm() [0x489961]
[muaaz-Dell-System-XPS-L502X:03259] *** End of error message ***
[muaaz-Dell-System-XPS-L502X:03260] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7fe055132cb0]
[muaaz-Dell-System-XPS-L502X:03260] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fe054d9a425]
[muaaz-Dell-System-XPS-L502X:03260] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7fe054d9db8b]
[muaaz-Dell-System-XPS-L502X:03260] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x2f0ee) [0x7fe054d930ee]
[muaaz-Dell-System-XPS-L502X:03260] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x2f192) [0x7fe054d93192]
[muaaz-Dell-System-XPS-L502X:03260] [ 5] aneurysm() [0x48d6c9]
[muaaz-Dell-System-XPS-L502X:03260] [ 6] aneurysm(_Z14readParametersRKN3plb9XMLreaderE+0x1102) [0x48e7d2]
[muaaz-Dell-System-XPS-L502X:03260] [ 7] aneurysm(main+0x13a) [0x48789a]
[muaaz-Dell-System-XPS-L502X:03260] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fe054d8576d]
[muaaz-Dell-System-XPS-L502X:03260] [ 9] aneurysm() [0x489961]
[muaaz-Dell-System-XPS-L502X:03260] *** End of error message ***
mpirun noticed that process rank 3 with PID 3262 on node muaaz-Dell-System-XPS-L502X exited on signal 6 (Aborted).