|
[Sponsors] |
[swak4Foam] segmentation faults when using the debug switch "ExpressionResult" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 19, 2016, 12:12 |
[swak4Foam] segmentation faults when using the debug switch "ExpressionResult"
|
#1 |
Member
Timm Severin
Join Date: Mar 2014
Location: Munich
Posts: 63
Rep Power: 12 |
Hello there,
I just tried to use the expressionToFace function of the swakTopoSources Library. Since I made (several) mistakes it didn't work, so I checked for DebugFlags and found ExpressionResult. However, everytime I combine this debug flag and (at least) libgroovyBC.so in my controlDict, every single OpenFOAM tool ends with a segmentation fault, although most of them perform their job normally. I by now figured I can solve the problem by using the debug flag to correct my expression, and then running the simulation without the flag, but this would not be possible when the expression is actively used in the simulation, since the simulation itself does not abort when the debug flag is active. The segmentation fault can easily be reproduced when adding the lines Code:
DebugSwitches { ExpressionResult 1; } libs ( "libgroovyBC.so" ); Has anyone else come over this problem? And yes, I'm aware that this is kind of a bug report, but the swak4Foam report site demands a registration, and I'm kind of annoyed of having to register at every bloody side. |
|
February 21, 2016, 17:29 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: If I remember correctly, debug switches in swak4Foam are a bit different.
Go into the folder "swak4Foam/Examples" and run the following command: Code:
grep -ir "debug" * In the folder "swak4Foam/Documentation" you will also find more details about the debug switches available in swak4Foam.
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
create the file *.foam | phongstar | OpenFOAM | 12 | October 14, 2018 19:06 |
[OpenFOAM] new installation gives only segmentation faults | m4baker | ParaView | 3 | June 15, 2015 17:17 |
Shell script to handle Segmentation faults arising from execFlowFunctionObjects | pruthvi1991 | OpenFOAM Post-Processing | 0 | February 22, 2015 15:20 |
[OpenFOAM] could not open file .vtk in paraview | ali_atrian | ParaView | 8 | August 27, 2014 11:31 |
Debug switch | pierre | OpenFOAM Running, Solving & CFD | 5 | July 5, 2007 20:38 |