|
[Sponsors] |
snappyHexMesh in parallel leads to segmentation fault |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 14, 2019, 05:29 |
snappyHexMesh in parallel leads to segmentation fault
|
#1 |
New Member
Join Date: Sep 2015
Posts: 13
Rep Power: 11 |
Hi, I'm sorry if my questions are trivial and if my post is missing important information (please tell me what is missing, if so), but I'm a real newbiew when it comes to OpenFOAM, linux and openmpi.
I have a 'simple' case where I want to do the meshing with snappyHexMesh. My starting point is a BBox (from blockMesh) and one object (from STL file) inside. I ran snappyHexMesh without the parallel option and snappyHexMesh terminated fine, without any errors. Since a few days, I have access to a server with 88 cores, so I thought, I'll give it a go. Now, if I decompose my mesh using decomposePar (simple) and run snappyHexMesh, the proceedure crashes after a few iterations and I get a 'mpirun noticed that process rank 29 with PID 0 on node openfoam-test exited on signal 11 (Segmentation fault).' error. However, if I take the castellatedMesh result from my previous serial run and progress to run the snapping (run decomposePar and snappyHexMesh (snap true only) for the latestTime), everything works fine in parallel. What does a 'segmentation fault' stand for? How can I get more information on this error? Does it occur because of a too simple decomposing (simple)? If so, is there a guide on how to split your mesh best? Thanks for any hints and as I said - I'm sorry for any stupid questions & please be kind and help me providing relevant information... |
|
January 14, 2019, 11:04 |
decomposing was reason for error
|
#2 |
New Member
Join Date: Sep 2015
Posts: 13
Rep Power: 11 |
Ok, I created *.vtk files for each processor decomposition (from the blockMesh result) and had a look at them in paraview. Some of them do look a bit weird (i.e. split in to two non-connecting blocks - why?) and after a few guesses of different (simple) decomposition arrangements, I found a working one.
Nevertheless, I'm still interested in what can cause a bad decomposition to fail and what would be a good way to decompose. How do you proceed if you want to manually decompose? |
|
Tags |
decomposepar, segmentation fault: 11, snappyhexmesh parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel UDF Segmentation fault error | KevinZ09 | Fluent UDF and Scheme Programming | 1 | January 9, 2017 06:30 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 12:58 |
[snappyHexMesh] snappyHexMesh Segmentation Fault | avd28 | OpenFOAM Meshing & Mesh Conversion | 11 | May 11, 2015 21:32 |
Segmentation fault with parallel computing | Prad | Main CFD Forum | 0 | December 11, 2008 08:44 |
Fluent parallel: segmentation fault? | hp | FLUENT | 2 | September 6, 2001 15:18 |