|
[Sponsors] |
[General] Paraview parallel processing with pvbatch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 29, 2018, 09:51 |
Paraview parallel processing with pvbatch
|
#1 |
Member
Wouter
Join Date: Aug 2013
Posts: 41
Rep Power: 13 |
Hello all,
we've found numerous posts on how to run paraview in parallel, but somehow we are still stuck. We have python scripts that open OpenFOAM data and process it into expored x3d files. It works fine with pvpython. Paraview was installed with the MPI option enabled. If we then switch to pvbatch and run this command: mpirun -np 4 pvbatch script.py -parallel it runs 4 parallel processes but no speed ups are noticeable, and we get the following error (just after startup): [[12489,1],0]: A high-performance Open MPI point-to-point messaging module was unable to find any relevant network interfaces: Module: OpenFabrics (openib) Host: ip-172-31-29-146 Another transport will be used instead, although this may result in lower performance. -------------------------------------------------------------------------- [ip-172-31-29-146:27841] 3 more processes have sent help message help-mpi-btl-base.txt / btl:no-nics [ip-172-31-29-146:27841] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages It seems as if the same process is started 4 times instead of splitting it up in 4 smaller parts (which would match earlier reportings on this forum). If we then execute the following (based on other posts) mpiexec -np 4 -mca btl pvbatch script.py -parallel no output x3d files are generated and we get the following error 4 times (once for each process we assume): Error: Could not import vtkCommonComputationalGeometry Error: Could not import vtkCommonComputationalGeometry Error: Could not import vtkCommonComputationalGeometry Error: Could not import vtkCommonComputationalGeometry Traceback (most recent call last): File "/home/ubuntu/ParaViewBuild/lib/site-packages/paraview/vtk/vtkCommonCore.py", line 5, in <module> from .vtkCommonCorePython import * ImportError: No module named 'paraview.vtk.vtkCommonCorePython' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/airshaper/progress/runFiles/primalRun/MakeStreams3D.py", line 6, in <module> from paraview.simple import * File "/home/ubuntu/ParaViewBuild/lib/site-packages/paraview/simple.py", line 43, in <module> from paraview import servermanager File "/home/ubuntu/ParaViewBuild/lib/site-packages/paraview/servermanager.py", line 53, in <module> from paraview import vtk File "/home/ubuntu/ParaViewBuild/lib/site-packages/paraview/vtk/__init__.py", line 7, in <module> from paraview.vtk.vtkCommonCore import * File "/home/ubuntu/ParaViewBuild/lib/site-packages/paraview/vtk/vtkCommonCore.py", line 9, in <module> from vtkCommonCorePython import * ImportError: No module named 'vtkCommonCorePython' Traceback (most recent call last): File "/home/ubuntu/ParaViewBuild/lib/site-packages/paraview/vtk/vtkCommonCore.py", line 5, in <module> from .vtkCommonCorePython import * ImportError: No module named 'paraview.vtk.vtkCommonCorePython' Our goal is to run this script in parallel using pvbatch. Does anyone have any clue to what we are doing wrong? Thanks! Wouter. |
|
February 20, 2020, 04:16 |
|
#2 |
New Member
venu
Join Date: May 2019
Posts: 8
Rep Power: 7 |
Hey Wouter,
Did you get answer for this type of problem. If so, kindly share how to run paraview in parallel using Local computer. |
|
February 26, 2020, 11:41 |
Paraview in parallel
|
#3 |
Member
Wouter
Join Date: Aug 2013
Posts: 41
Rep Power: 13 |
Hi,
no we didn't find a solution: it seemed like none of the functions were actually running in parallel. We did manage to launch multiple processes, but it didn't speed up - it seemed to just run the same process in full on each processor. But I don't think this is a final conclusion, perhaps we should give it another look but unfortunately, no answer for now... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel processing of OpenFOAM cases on multicore processor??? | g.akbari | OpenFOAM Running, Solving & CFD | 31 | November 1, 2017 10:25 |
Star-CD with ParaView | usker | STAR-CD | 3 | December 9, 2015 15:20 |
problem for parallel processing | minaret | OpenFOAM Running, Solving & CFD | 14 | January 20, 2015 00:41 |
Fluent 15.0 Parallel and Batch Processing on a Supercomputer | n_bowen | FLUENT | 0 | August 26, 2014 14:46 |
Grid Check Fails in Parallel Processing Mode | askance | Main CFD Forum | 0 | October 20, 2010 11:11 |