CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   ParaView/Parafoam error when making animation (http://www.cfd-online.com/Forums/openfoam-paraview/80440-paraview-parafoam-error-when-making-animation.html)

Disco_Caine September 26, 2010 11:20

ParaView/Parafoam error when making animation
 
Hi all, i've been looking around for this, but have not found much. Also i am in a bit of a hurry to fix this.

Anyways, i was trying to make save an animation on paraview. However it crashes all the time, because of too many errors.

Code:


--> FOAM Serious Error :

--> FOAM FATAL ERROR:
Too many errors

    From function messageStream::operator OSstream&()
    in file lnInclude/messageStream.C at line 201.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) in "/home/gustavo/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1  Foam::error::abort() addr2line failed
#2  Foam::messageStream::operator Foam::OSstream&() addr2line failed
#3  Foam::messageStream::operator()(char const*, char const*, int, Foam::string const&, int, int) addr2line failed
#4  Foam::messageStream::operator()(char const*, char const*, int, Foam::IOstream const&) addr2line failed
#5  Foam::IOobject::readHeader(Foam::Istream&) addr2line failed
#6  Foam::IOobject::headerOk() addr2line failed
#7  Foam::IOobjectList::IOobjectList(Foam::objectRegistry const&, Foam::fileName const&, Foam::fileName const&) addr2line failed
#8  void Foam::vtkPV3Foam::updateInfoFields<Foam::pointPatchField, Foam::pointMesh>(vtkDataArraySelection*) addr2line failed
#9  Foam::vtkPV3Foam::updateInfo() addr2line failed
#10  Foam::vtkPV3Foam::setTime(int, double const*) addr2line failed
#11  vtkPV3FoamReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) addr2line failed
#12  vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) addr2line failed
#13  vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) addr2line failed
#14  vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) addr2line failed
#15  vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) addr2line failed
#16  vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) addr2line failed
#17  vtkCompositeDataPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkFiltering.so.pv3.6"
#18  vtkCompositeDataPipeline::ForwardUpstream(vtkInformation*) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkFiltering.so.pv3.6"
#19  vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkFiltering.so.pv3.6"
#20  vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) addr2line failed
#21  vtkCompositeDataPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkFiltering.so.pv3.6"
#22  vtkCompositeDataPipeline::ForwardUpstream(vtkInformation*) addr2line failed
#23  vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkFiltering.so.pv3.6"
#24  vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkFiltering.so.pv3.6"
#25  vtkCompositeDataPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkFiltering.so.pv3.6"
#26  vtkDemandDrivenPipeline::UpdateData(int) addr2line failed
#27  vtkStreamingDemandDrivenPipeline::Update(int) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkFiltering.so.pv3.6"
#28  vtkPVUpdateSuppressor::ForceUpdate() addr2line failed
#29  vtkPVUpdateSuppressorCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) addr2line failed
#30  vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) addr2line failed
#31  vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) addr2line failed
#32  vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) addr2line failed
#33  vtkSelfConnection::ProcessStreamLocally(vtkClientServerStream&) addr2line failed
#34  vtkProcessModuleConnection::SendStream(unsigned int, vtkClientServerStream&) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkPVServerCommon.so"
#35  vtkProcessModuleConnectionManager::SendStream(long long, unsigned int, vtkClientServerStream&, int) addr2line failed
#36  vtkProcessModule::SendStream(long long, unsigned int, vtkClientServerStream&, int) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkPVServerCommon.so"
#37  vtkSMProxy::UpdateProperty(char const*, int) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkPVServerManager.so"
#38  vtkSMSimpleStrategy::UpdatePipeline() addr2line failed
#39  vtkSMSimpleStrategy::GatherInformation(vtkPVInformation*) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkPVServerManager.so"
#40  vtkSMRepresentationStrategy::UpdateDataInformation() addr2line failed
#41  vtkSMDataRepresentationProxy::GetRepresentedDataInformation(bool) addr2line failed
#42  pqPipelineRepresentation::getColorFields() in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libpqCore.so"
#43  pqDisplayColorWidget::reloadGUI() in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libpqComponents.so"
#44  pqDisplayColorWidget::qt_metacall(QMetaObject::Call, int, void**) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libpqComponents.so"
#45  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) in "/usr/lib/libQtCore.so.4"
#46  addr2line failed
#47  QObject::event(QEvent*) in "/usr/lib/libQtCore.so.4"
#48  QApplicationPrivate::notify_helper(QObject*, QEvent*) addr2line failed
#49  QApplication::notify(QObject*, QEvent*) in "/usr/lib/libQtGui.so.4"
#50  QCoreApplication::notifyInternal(QObject*, QEvent*) addr2line failed
#51  in "/usr/lib/libQtCore.so.4"
#52  addr2line failed
#53  g_main_context_dispatch addr2line failed
#54  addr2line failed
#55  g_main_context_iteration in "/lib/libglib-2.0.so.0"
#56  QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) in "/usr/lib/libQtCore.so.4"
#57  in "/usr/lib/libQtGui.so.4"
#58  QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) in "/usr/lib/libQtCore.so.4"
#59  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in "/usr/lib/libQtCore.so.4"
#60  pqEventDispatcher::processEventsAndWait(int) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libQtTesting.so"
#61  pqVCRController::onTick() addr2line failed
#62  pqVCRController::qt_metacall(QMetaObject::Call, int, void**) addr2line failed
#63  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) addr2line failed
#64  pqAnimationScene::tick(int) addr2line failed
#65  pqAnimationScene::qt_metacall(QMetaObject::Call, int, void**) addr2line failed
#66  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) addr2line failed
#67  vtkQtConnection::EmitExecute(vtkObject*, unsigned long, void*, void*, vtkCommand*) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libQVTK.so.pv3.6"
#68  vtkQtConnection::Execute(vtkObject*, unsigned long, void*) addr2line failed
#69  vtkCallbackCommand::Execute(vtkObject*, unsigned long, void*) addr2line failed
#70  vtkSubjectHelper::InvokeEvent(unsigned long, void*, vtkObject*) addr2line failed
#71  vtkSMAnimationCueProxy::TickInternal(void*) addr2line failed
#72  vtkSMAnimationSceneProxy::TickInternal(void*) addr2line failed
#73  vtkSMAnimationCueProxy::ExecuteEvent(vtkObject*, unsigned long, void*) addr2line failed
#74  vtkSubjectHelper::InvokeEvent(unsigned long, void*, vtkObject*) addr2line failed
#75  vtkAnimationCue::TickInternal(double, double, double) addr2line failed
#76  vtkPVAnimationScene::TickInternal(double, double, double) addr2line failed
#77  vtkAnimationCue::Tick(double, double, double) addr2line failed
#78  vtkAnimationPlayer::Play() addr2line failed
#79  vtkAnimationPlayerCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) addr2line failed
#80  vtkCompositeAnimationPlayerCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) addr2line failed
#81  vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) addr2line failed
#82  vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) addr2line failed
#83  vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkClientServer.so"
#84  vtkSelfConnection::ProcessStreamLocally(vtkClientServerStream&) addr2line failed
#85  vtkProcessModuleConnection::SendStream(unsigned int, vtkClientServerStream&) addr2line failed
#86  vtkProcessModuleConnectionManager::SendStream(long long, unsigned int, vtkClientServerStream&, int) addr2line failed
#87  vtkProcessModule::SendStream(long long, unsigned int, vtkClientServerStream&, int) addr2line failed
#88  vtkSMProxy::UpdateProperty(char const*, int) in "/home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/libvtkPVServerManager.so"
#89  vtkSMProxy::UpdateProperty(char const*, int) addr2line failed
#90  vtkSMAnimationSceneWriter::Save() addr2line failed
#91  pqAnimationManager::saveAnimation() addr2line failed
#92  pqMainWindowCore::onFileSaveAnimation() addr2line failed
#93  pqMainWindowCore::qt_metacall(QMetaObject::Call, int, void**) addr2line failed
#94  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) addr2line failed
#95  QAction::triggered(bool) addr2line failed
#96  QAction::activate(QAction::ActionEvent) addr2line failed
#97  addr2line failed
#98  addr2line failed
#99  QWidget::event(QEvent*) addr2line failed
Aborted

Do i have to recompile parafoam? Is there any solution out there? Please help.

Additional info: im on ubuntu 9.10, i have an intel gma graphic card (which i think is not working properly). Anything else, feel free to ask.

Thank you

wyldckat September 26, 2010 12:21

Greetings Disco_Caine,

Try following these instructions to get a working ParaView 3.8.0 with the internal foam reader (available since 3.8.0), instead of using OpenFOAM's original version: Using the official pre-built ParaView 3.8.0 version with OpenFOAM...

edit: additionally, your error output indicates that addr2line is missing. Did you install the binutils-dev package in Ubuntu?

Best regards,
Bruno

Disco_Caine September 26, 2010 12:29

Hi, i don't know about that installed package, i will check.

In the meantime, im running openfoam 1.6.x, does that matter when installing the new paraview? Ill try both and keep you posted.

Thank you so much!

wyldckat September 26, 2010 12:40

Quote:

Originally Posted by Disco_Caine (Post 276680)
In the meantime, im running openfoam 1.6.x, does that matter when installing the new paraview?

I believe that the internal reader should be able to handle OpenFOAM cases back to OpenFOAM 1.5, but I'm not 100% certain about it.

Disco_Caine September 28, 2010 04:00

Sorry about getting back so late, i do have the binutils-dev package installed, so im gonna try installing the new paraview. oh boy.

Disco_Caine September 28, 2010 05:19

Hi, ive been trying to install paraview3.8.0 but it didnt work. Like i did all the steps, however, once i had finished downloading paraview3.8.0 it was still in the thirdparty1.6.x paraview3.6.2 folder.

So i decided to start again, however now, mkdir -p $ParaView_DIR

Throws back a missing operand error.

I think i shot myself in the foot.

wyldckat September 28, 2010 09:54

Hi Disco_Caine,

OK, apparently I've been a bit slow lately... Since you want to use both OpenFOAM 1.6 and 1.6.x and are using Ubuntu, you can try this script for installing 1.6.x in Ubuntu: http://code.google.com/p/openfoam-ubuntu/
It's filled with options, so I hope you won't feel lost in it's execution.

After that, using OpenFOAM 1.6 along with 1.6.x it is as easy as pie :)

Best regards,
Bruno


All times are GMT -4. The time now is 15:39.