Hi Jacques, What type of data set do you have? Even though the PHASTA adaptor ( ParaView/CoProcessing/Adaptors/FortranAdaptors/PhastaAdaptor) is for fortran code it may give you an idea. Also stepping through the example in ParaView/CoProcessing/CoProcessor/Testing/Cxx/PythonScriptCoProcessingExample.cxx may help as well.
I'll spend some time this week putting up a skeleton of a simulation code on the coprocessing wiki that should hopefully be easier to follow. I'll let you know when it's done. Andy On Wed, Aug 4, 2010 at 8:02 AM, Jacques Papper <[email protected]>wrote: > Hi All, > > Sorry for my last post, I figured out that I had wrongly set my > PYTHONPATH.. > All the tests work ok now. Still interested in CoProcessing adaptors > examples though :) > > Thanks > Jacques > > 2010/8/4 Jacques Papper <[email protected]> > > >> Hi All, >> >> I'm starting to look into the ParaView CoProcessing libraries. >> I just pulled from git today, and compiled it all up following the >> guidelines in : >> http://www.paraview.org/Wiki/CoProcessing >> I didn't find : >> *BUILD_PYTHON_COPROCESSING_ADAPTOR >> *but instead : >> PARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator >> anyway the compilation went through without any issues. >> I then tried : >> >> ctest -R CoProcessing >> Test project /users/boreas01/jacques/PARAVIEW/ParaView-bin >> Start 491: CoProcessingTestPythonScript >> 1/3 Test #491: CoProcessingTestPythonScript ........... Passed 0.45 >> sec >> Start 492: CoProcessingPythonScriptGridPlot >> 2/3 Test #492: CoProcessingPythonScriptGridPlot .......***Failed 0.09 >> sec >> Start 493: CoProcessingPythonScriptPressurePlot >> 3/3 Test #493: CoProcessingPythonScriptPressurePlot ...***Failed 0.09 >> sec >> >> 33% tests passed, 2 tests failed out of 3 >> >> Total Test time (real) = 0.68 sec >> >> The following tests FAILED: >> 492 - CoProcessingPythonScriptGridPlot (Failed) >> 493 - CoProcessingPythonScriptPressurePlot (Failed) >> Errors while running CTest >> >> Is this a problem in my current installation or on the master branch ? >> >> Finally, I would like to start writing an adaptor to a C++ parallelised >> code. Can you tell me what is the closest code I can inspire myself from ? >> >> >> Thank you, >> Jacques >> >> >> PS sorry mixed up the subjects.. >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
