I do have multiple installations/builds. However, I don’t know how/if they
could affect the execution of the paraview executable I’m using: both paraview
and pvserver reside in the same (correct) directory on the PATH, and there’s
nothing ParaView-related in the LD_LIBRARY_PATH. The only other variable I’ve
found is PARAVIEWDIR, which was indeed pointing to an older installation;
however, changing it to my installation did not change anything either.
The only other way I can think of how my installation could be affected is that
the PARAVIEWDIR variable being set to a ParaView 3.x installation during
build/install time and/or that I am using a Python installation in a
non-standard location (specified during configure as follows; the Bash
variables $PV_SRC, $PREFIX and $PYTHON27 are set to valid paths):
CC=gcc CXX=g++ cmake $PV_SRC \
-DBUILD_DOCUMENTATION:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \
-DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \
-DPARAVIEW_USE_MPI:BOOL=ON \
-DPYTHON_LIBRARY:FILEPATH=$PYTHON27/lib/libpython2.7.so \
-DPYTHON_INCLUDE_DIR:PATH=$PYTHON27/include/python2.7
> On 13 Apr 2015, at 17:20 , Utkarsh Ayachit <[email protected]>
> wrote:
>
> Something's not right with your server. Is it possible you have
> multiple ParaView installations/builds on the server side?
>
> Utkarsh
>
> On Mon, Apr 13, 2015 at 11:09 AM, Schlottke, Michael
> <[email protected]> wrote:
>>> Well, try this: create a programmable source and try the following as
>>> the "Script".
>>>
>>> from paraview.servermanager import vtkProcessModule
>>> print "rank=", vtkProcessModule.GetProcessModule().GetPartitionId()
>>> print "total=",
>>> vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions()
>>>
>>> What do you get?
>>
>>
>> When I do not connect to a server, I get the expected output (rank=0,
>> total=1).
>>
>> If I do connect to the server, I get the following error (once per rank)
>> from pvserver:
>>
>> Traceback (most recent call last):
>> File "<string>", line 19, in <module>
>> File "<string>", line 2, in RequestData
>> File
>> "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py",
>> line 3184, in <module>
>> __initialize()
>> File
>> "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py",
>> line 3175, in __initialize
>> c = Connection(iter.GetCurrentSessionId(), iter.GetCurrentSession())
>> File
>> "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py",
>> line 1932, in __init__
>> _createModules(self.Modules)
>> File
>> "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py",
>> line 2563, in _createModules
>> m.sources = createModule('sources')
>> File
>> "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py",
>> line 2593, in createModule
>> pxm = ProxyManager()
>> File
>> "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py",
>> line 1624, in __init__
>> self.SMProxyManager = session.GetSessionProxyManager()
>> AttributeError: GetSessionProxyManager
>>
_______________________________________________
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
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview