Commit f4957373 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Kitware Robot
Browse files

Merge topic 'fix_mpi_issues_with_tests'

8f2346da Fix initialization for executables that don't run with mpi.
parents 0986f7cd 8f2346da
......@@ -36,7 +36,7 @@ int main(int argc, char* argv[])
vtkPVServerOptions* options = vtkPVServerOptions::New();
bool success = true;
vtkInitializationHelper::Initialize(argc, argv,
vtkProcessModule::PROCESS_BATCH, options);
vtkProcessModule::PROCESS_CLIENT, options);
if (!success)
{
return -1;
......
......@@ -33,7 +33,7 @@ int main(int argc, char* argv[])
vtkPVServerOptions* options = vtkPVServerOptions::New();
bool success = true;
vtkInitializationHelper::Initialize(argc, argv,
vtkProcessModule::PROCESS_BATCH, options);
vtkProcessModule::PROCESS_CLIENT, options);
if (!success)
{
return -1;
......
......@@ -30,7 +30,7 @@ int main(int argc, char* argv[])
{
vtkPVServerOptions* options = vtkPVServerOptions::New();
vtkInitializationHelper::Initialize( argc, argv,
vtkProcessModule::PROCESS_BATCH,
vtkProcessModule::PROCESS_CLIENT,
options );
//---------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment