|
[Sponsors] |
[OpenFOAM] ParaFoam or Praview segmentation fault only when I have a lib linked in controlDict |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 24, 2015, 06:22 |
ParaFoam or Praview segmentation fault only when I have a lib linked in controlDict
|
#1 |
New Member
Luca Franceschini
Join Date: Aug 2012
Posts: 29
Rep Power: 14 |
Dear All,
My paraFoam/paraview crashes when i try to open a case with a specific library linked in the case controlDict. If i comment the link in controlDict i have no problems paraFoam works perfectely. If i leave the link parafoam (or paraview) crashes and i receive the message attached? What do you think it is the problem? Best regards, and thank you for your ideas. IN paraFoam: Code:
--> FOAM Warning : From function dlOpen(const fileName&, const bool) in file POSIX.C at line 1179 dlopen error : /home/XXX/platforms/linux64GccDPOpt/lib/libYYY.so: undefined symbol: _ZTIN4Foam17psiChemistryModelE --> FOAM Warning : From function dlLibraryTable::open(const fileName&, const bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99 could not load "/home/XXX/platforms/linux64GccDPOpt/lib/libYYY.so" Code:
ERROR: In /home/YYY/applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/PV4FoamReader/vtkPV4FoamReader.cxx, line 216 vtkPV4FoamReader (0x2a20130): could not find valid OpenFOAM mesh ERROR: In /home/ZZZ/ThirdParty-2.3.x/ParaView-4.1.0/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 754 vtkPVCompositeDataPipeline (0x4456dd0): Algorithm vtkPV4FoamReader(0x2a20130) returned failure for request: vtkInformation (0x44a4050) Debug: Off Modified Time: 90377 Reference Count: 1 Registered Events: (none) Request: REQUEST_INFORMATION FORWARD_DIRECTION: 0 ALGORITHM_AFTER_FORWARD: 1 Last edited by wyldckat; August 10, 2015 at 10:37. Reason: Added [CODE][/CODE] markers |
|
August 10, 2015, 10:41 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer:
|
|
August 10, 2015, 13:50 |
|
#3 |
New Member
Luca Franceschini
Join Date: Aug 2012
Posts: 29
Rep Power: 14 |
Thank you a lot Bruno,
you are correct. The missing library was libcombustionModels.so. Once it was added to controlDict the problem disappeared. Said that, to solve the problem at the source, i have added the link to the libcombustionModels directly to the compilation of the original library, libYYY.so. Probably you were correct also for the second error message, since the case is a multiregion, thus the actual folders are one directory up. Once again, bless you. Problem Solved Thank you |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] paraview parafoam segmentation fault (core dumped) | RicardoLB | ParaView | 3 | April 28, 2020 21:07 |
[OpenFOAM] Segmentation fault when using Glyph from Custom Source Filter in ParaFoam | jstol065 | ParaView | 1 | September 20, 2015 23:07 |
[OpenFOAM] ParaFoam Segmentation Fault | dancfd | ParaView | 1 | July 7, 2014 21:38 |
paraFoam, Segmentation fault | Fed11 | OpenFOAM Bugs | 3 | July 4, 2011 20:04 |
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit | nanes | ParaView | 2 | September 11, 2009 10:12 |