Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
a8f2f509
Commit
a8f2f509
authored
Sep 27, 2005
by
Berk Geveci
Browse files
BUG: Removed hard-coded tag. A parallel test was failing because the tag value changed
parent
98f7697e
Changes
3
Show whitespace changes
Inline
Side-by-side
Common/Testing/Tcl/prtImageTest.tcl
View file @
a8f2f509
...
...
@@ -42,7 +42,8 @@ proc ExitMaster { code } {
for
{
set i 1
}
{
$i < $numProcs
}
{
incr i
}
{
# Send break to all the nodes
#puts
"Send break to:
$i
"
catch
[
[
compManager GetController
]
TriggerRMI $i 239954
]
set contr
[
compManager GetController
]
catch
[
$contr TriggerRMI $i
[
$contr
GetBreakRMITag
]
]
}
vtkCommand DeleteAllObjects
...
...
Examples/ParallelProcessing/MPI/Python/ParallelCone.py
View file @
a8f2f509
...
...
@@ -60,7 +60,8 @@ def ExitMaster(a, b):
#print "Trigger exit RMI on all satellite nodes"
for
a
in
range
(
1
,
numProcs
):
#print "Trigger exit in satellite node %d" % a
compManager
.
GetController
().
TriggerRMI
(
a
,
239954
)
contr
=
compManager
.
GetController
()
contr
.
TriggerRMI
(
a
,
contr
.
GetBreakRMITag
())
if
myProcId
==
0
:
iren
=
vtkRenderWindowInteractor
()
...
...
Parallel/vtkMultiProcessController.h
View file @
a8f2f509
...
...
@@ -199,8 +199,16 @@ public:
vtkGetMacro
(
BreakFlag
,
int
);
// Description:
// Returns the communicator associated with this controller.
// A default communicator is created in constructor.
vtkGetObjectMacro
(
Communicator
,
vtkCommunicator
);
// Description:
// Accessor to some default tags.
static
int
GetBreakRMITag
()
{
return
BREAK_RMI_TAG
;
}
static
int
GetRMITag
()
{
return
RMI_TAG
;
}
static
int
GetRMIArgTag
()
{
return
RMI_ARG_TAG
;
}
//BTX
enum
Errors
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment