Hi there, I’m having trouble getting my custom ParaView reader plugin to work correctly with MPI. ParaView was built with MPI enabled. After starting the server with
mpirun -n NN pvserver I connect to it from a GUI client and try to load a datafile with the parallel reader plugin. To debug & test MPI first, I added the following lines to the RequestData method or the reader plugin: int rank, size; MPI_Comm_rank(MPI_COMM_WORLD, &rank); MPI_Comm_size(MPI_COMM_WORLD, &size); std::cout << “rank/size: “ << rank << “/“ << size << std::endl; The expected output on the pvserver shell would be something like this: rank/size: 1/4 rank/size: 2/4 rank/size: 3/4 rank/size: 0/4 However, all I ever get is the last line, i.e. the output from rank 0. It thus seems like the communicator size is determined correctly, but only one process is really active. What am I doing wrong, or what do I have to do to get MPI to work as expected? Thank you very much in advance Michael P.S.: After starting the server and connecting to it, I get the following warning once per rank: Warning: In /home/mic/.pool/.src/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx, line 170 vtkPVClientServerSynchronizedRenderers (0x1e000f0): Could not create the compressor by name . Maybe this is related to the problem described above? I also get this warning on the client side, although only once or twice. -- Michael Schlottke Chair of Fluid Mechanics and Institute of Aerodynamics RWTH Aachen University Wüllnerstraße 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: [email protected]<mailto:[email protected]> Web: http://www.aia.rwth-aachen.de
_______________________________________________ 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
