[Paraview] 3.98 MPI_Finalize out of order in pvbatch

Burlen Loring bloring at lbl.gov
Wed Nov 28 15:53:18 EST 2012


Hi All,

some parallel tests have been failing for some time on Nautilus.
http://open.cdash.org/viewTest.php?onlyfailed&buildid=2684614

There are MPI calls made after finalize which cause deadlock issues on 
SGI MPT. It affects pvbatch for sure. The following snip-it shows the 
bug, and bug report here: http://paraview.org/Bug/view.php?id=13690

//----------------------------------------------------------------------------
bool vtkProcessModule::Finalize()
{

   ...

   vtkProcessModule::GlobalController->Finalize(1); <-------mpi_finalize 
called here

   ...

#ifdef PARAVIEW_USE_MPI
   if (vtkProcessModule::FinalizeMPI)
     {
     MPI_Barrier(MPI_COMM_WORLD); <-------------------------barrier 
after mpi_finalize
     MPI_Finalize(); <--------------------------------------second 
mpi_finalize
     }
#endif

   ...
}

Burlen




More information about the ParaView mailing list