Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ParaView
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZHE WANG
ParaView
Commits
547e6423
Commit
547e6423
authored
11 years ago
by
Utkarsh Ayachit
Committed by
Kitware Robot
11 years ago
Browse files
Options
Downloads
Plain Diff
Merge topic 'fix_progress'
da4b7589
Removing DISABLE_PROGRESS_FOR_RUN_LARGER_THAN.
parents
b19b2a65
da4b7589
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx
+5
-6
5 additions, 6 deletions
ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx
with
5 additions
and
6 deletions
ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx
+
5
−
6
View file @
547e6423
...
...
@@ -32,8 +32,7 @@
// define this variable to disable progress all together. This may be useful to
// doing really large runs.
// #define PV_DISABLE_PROGRESS_HANDLING
#define DISABLE_PROGRESS_FOR_RUN_LARGER_THAN 64
//#define PV_DISABLE_PROGRESS_HANDLING
#define SKIP_IF_DISABLED()\
if (this->Internals->DisableProgressHandling) { return; }
...
...
@@ -72,12 +71,12 @@ public:
#ifdef PV_DISABLE_PROGRESS_HANDLING
this
->
DisableProgressHandling
=
true
;
#else
// Symetric mode mean that we disable progress
// In symmetric mode, we disable progress although that's not really
// necessary anymore. Since the progress is no longer collected from anyone
// but the root node, it really doesn't matter if progress is enabled.
if
(
vtkProcessModule
*
pm
=
vtkProcessModule
::
GetProcessModule
())
{
this
->
DisableProgressHandling
=
pm
->
GetSymmetricMPIMode
()
||
(
pm
->
GetNumberOfLocalPartitions
()
>
DISABLE_PROGRESS_FOR_RUN_LARGER_THAN
);
this
->
DisableProgressHandling
=
pm
->
GetSymmetricMPIMode
();
}
#endif
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment