|
[Sponsors] |
December 7, 2013, 19:11 |
Mac OS X - extrudeMesh and addr2line4Mac.py
|
#1 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi,
I'm facing some challenges when using extrudeMesh and wondering if it could be related to addr2line4Mac.py. I have cases that crash without any reason (mostly segmentation fault) and the same cases run no problem under Linux machines. Could it has to do something with addr2line4Mac.py and the fact that I'm running OpenFOAM under Mavericks ? I have a clean install of Mavericks, gcc 4.6 compiled from sources and everything works pretty well with OpenFoam except extrudeMesh. Let me know if you guys experience the same problems. Thanks PO |
|
December 8, 2013, 13:38 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Pierre-Olivier,
Example of the output you're seeing would come in handy, in order to try and figure out the problem. Also, an example case or an indication of a tutorial where this happens, would also be helpful. In addition, did you do anything to "addr2line4Mac.py" during the installation procedure? Best regards, Bruno
__________________
|
|
December 8, 2013, 18:19 |
|
#3 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
But it is only called when a problem occurs. So as Bruno said an output of the error would be helpful
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
December 9, 2013, 11:25 |
|
#4 | |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Quote:
the extrudeMesh process in the wingMotion tutorial fails for me Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Selecting extrudeModel linearNormal Extruding from patch using model linearNormal Not collapsing any edges after extrusion Extruding patches 1(front) on mesh "../wingMotion_snappyHexMesh" Create mesh for time = 0 Adding overall 0 processor patches. Moving mesh to layer0 points since differ from original points - this can happen for wedge extrusions. Testing:"../wingMotion_snappyHexMesh/system/fvSchemes" Mesh bounding box : (-1.67021e+45 -2.58578e+45 -2.31584e+77) (3.53806e+44 9.23849e+44 0.15) with span : (2.02401e+45 3.50962e+45 2.31584e+77) Merge distance : 0 Writing mesh to "/Volumes/OpenFOAM/OpenFOAM-2.2.x/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/constant/region0" End Thanks Last edited by wyldckat; December 28, 2013 at 13:00. Reason: Added [CODE][/CODE] |
||
December 11, 2013, 14:48 |
|
#5 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Go to the snappy-case and do "checkMesh -constant". I think that that case is already messed up. If the snapped mesh is already faulty then remove it. Redo blockMesh and check that (sounds silly, I know)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
December 18, 2013, 21:24 |
|
#6 | |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Quote:
Don,t know what is wrong with my extrudeMesh - I also recompiled with a different gcc version but same results. Thanks |
||
December 28, 2013, 13:05 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Pierre-Olivier: Let's try to isolate the problem. If you run this command: Code:
find $FOAM_TUTORIALS -name Allrun | xargs grep extrude So try to run each tutorial, to double check if this is a problem with extrudeMesh or with the tutorial you've been testing. If any other tutorial presents the same problem, it will be easier to assess what might be going on. Because I vaguely remember seeing such a bug, but it was a long time ago and with an older version of OpenFOAM. Best regards, Bruno
__________________
|
|
February 9, 2014, 18:23 |
|
#8 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi,
sorry for the delay on responding to this. I actually cannot run the test: I updated my git installation this week and I'm having challenges recompiling libOpenFAM. Something is wrong with db/dynamicLibrary/codedBase/codedBase.C Anybody haven the same issue ? I also tried using Clang and the appropriate patches, same problem. Thanks PO |
|
February 13, 2014, 19:02 |
|
#9 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
fixCodeBase.patch
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 15, 2014, 23:16 |
|
#10 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Thanks for the patch !
I recompiled, works great, no issue so far. I don't understand what was wrong with extrudeMesh - I ran some cases including the wing motion tutorial without any problem ?! I'll keep testing but so far so good |
|
|
|