Hi,
I’m getting assertion failure when running the Aneurysm example that ships with Palabos v1.5r1. Other examples I have tried worked ok. My environment is:
MacOS Sierra 10.12.2
XCode 8.2.1
Compiler:
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.3.0
Thread model: posix
Open-MPI 2.0.1
The example was run with all the default parameters, default STL file and default options in Makefile except for the added flag for OSX compilation: -DPLB_MAC_OS_X. However, turning off optimizations, or MPI doesn’t seem to affect the issue.
Below is the output from running ./aneurysm param.xml:
Reynolds number, based on provided inlet diameter: 64.8001
Running new simulation at level 0
uLB=0.0373738
nuLB=0.0062
tau=0.5186
dx=0.0011163
dt=0.00208602
Inner radius of inlet 0 : 5.23417 lattice nodes
Size of the multi-block: 50-by-65-by-107
Number of atomic-blocks: 26
Smallest atomic-block: 25-by-21-by-21
Largest atomic-block: 25-by-22-by-22
Number of allocated cells: 0.30155 million
Fraction of allocated cells: 86.7146 percent
Number of fluid cells: 34636
Assertion failed: (wallDistance <= NextNeighbor<T>::d[iNeighbor]), function computeNeighborData, file /Users/huhtanen/Downloads/palabos-v1.5r1_2/src/offLattice/guoOffLatticeModel3D.hh, line 306.
[MacBook-Pro:90529] *** Process received signal ***
[MacBook-Pro:90529] Signal: Abort trap: 6 (6)
[MacBook-Pro:90529] Signal code: (0)
[MacBook-Pro:90529] [ 0] 0 libsystem_platform.dylib 0x00007fffd0c2bbba _sigtramp + 26
[MacBook-Pro:90529] [ 1] 0 libsystem_malloc.dylib 0x00007fffd0ba1977 tiny_malloc_from_free_list + 431
[MacBook-Pro:90529] [ 2] 0 libsystem_c.dylib 0x00007fffd0ab2420 abort + 129
[MacBook-Pro:90529] [ 3] 0 libsystem_c.dylib 0x00007fffd0a79893 basename_r + 0
[MacBook-Pro:90529] [ 4] 0 aneurysm 0x000000010a693518 _ZN3plb14GuoAlgorithm3DIdNS_11descriptors15D3Q19DescriptorEE19computeNeighborDataEv + 616
[MacBook-Pro:90529] [ 5] 0 aneurysm 0x000000010a693255 _ZN3plb20GuoOffLatticeModel3DIdNS_11descriptors15D3Q19DescriptorEE14cellCompletionERNS_14BlockLattice3DIdS2_EERKNS_5Dot3DERKNSt3__16vectorINSA_4pairIiiEENSA_9allocatorISD_EEEERKNSB_IlNSE_IlEEEES9_RNS_5ArrayIdLm3EEERKNSB_IPKNS_13AtomicBlock3DENSE_ISS_EEEE + 213
[MacBook-Pro:90529] [ 6] 0 aneurysm 0x000000010a690dff _ZN3plb20GuoOffLatticeModel3DIdNS_11descriptors15D3Q19DescriptorEE18boundaryCompletionERNS_13AtomicBlock3DERNS_22AtomicContainerBlock3DERKNSt3__16vectorIPKS4_NS8_9allocatorISB_EEEE + 287
[MacBook-Pro:90529] [ 7] 0 aneurysm 0x000000010a697a28 _ZN3plb32OffLatticeCompletionFunctional3DIdNS_11descriptors15D3Q19DescriptorENS_5ArrayIdLm3EEEE20processGenericBlocksENS_5Box3DENSt3__16vectorIPNS_13AtomicBlock3DENS7_9allocatorISA_EEEE + 1208
[MacBook-Pro:90529] [ 8] 0 aneurysm 0x000000010a6b40bd _ZN3plb14BoxProcessor3D7processEv + 253
[MacBook-Pro:90529] [ 9] 0 aneurysm 0x000000010a6af9ee _ZN3plb13AtomicBlock3D25executeInternalProcessorsEl + 110
[MacBook-Pro:90529] [10] 0 aneurysm 0x000000010a6ec1d8 _ZN3plb12MultiBlock3D25executeInternalProcessorsEv + 216
[MacBook-Pro:90529] [11] 0 aneurysm 0x000000010a63e87e _Z10iniLatticeRN3plb19MultiBlockLattice3DIdNS_11descriptors15D3Q19DescriptorEEERNS_17VoxelizedDomain3DIdEE + 478
[MacBook-Pro:90529] [12] 0 aneurysm 0x000000010a64332c _Z3runlPN3plb19MultiBlockLattice3DIdNS_11descriptors15D3Q19DescriptorEEE + 4108
[MacBook-Pro:90529] [13] 0 aneurysm 0x000000010a64acdc main + 860
[MacBook-Pro:90529] [14] 0 libdyld.dylib 0x00007fffd0a1e255 start + 1
[MacBook-Pro:90529] *** End of error message ***
Any idea what might be going wrong?
/Jani