Corrections SolicitedThe list below contains all of the errors found to date for Principles of Parallel Programming.
If you discover an error not in this list, please send it to lin AT utexas DOT edu
and/or snyder AT cs DOT washington DOT edu. We will be very appreciative, as will your fellow readers. Acknowledgments
We wish to express our sincere gratitude to the following readers for their contributions:
Evan Herbst, Edin Hodzic, David Jefferson, Vincent Liu, Jeff Lowney, and Julia Schwarz.
p. 82
The equation for E2 should have TS/T2 as the numerator.
p. 94
The third sentence should read:
p. 103
Line 2 should read:
p. 107
Line 23 should read:
p. 116
The inline code should read:
p. 121
Line 17 of Figure 5.5 should read:
p. 121
In Figure 5.5, the return statement of the accum() procedure should be
outside of the else clause, so lines 28 and 29 should read:
p. 125
In Figure 5.8, the return statement of the combine() procedure should be
outside of the for loop, so the last body lines of the function body
should read:
p. 142
In Exercise 5, the reference to Figure 5.5 should be to Figure 5.10.
p. 146
On line 16 of the code fragment, pthread_join_
should be pthread_join
p. 156
In Figure 6.3, lines 11 and 12 should be replaced by the following:
p. 158
In Figure 6.5 all instances of Waiting thread reading pthread_cond_signal()
should be pthread_cond_wait()
p. 168 Figure 6.11: Line 18 should read
p. 169 Figure 6.12: Line 19 should be deleted, and
Line 24 should be replaced by the following:
p. 179 Figure 6.16: Lines 119-126 should read
p. 181 Figure 6.20: Line 12 should read
p. 181 Figure 6.21: Line 12 should read
p. 186 Figure 6.25: Line 9 should read
p. 195
Figure 6.28: Line 9 should be
p. 196
Code Spec 6.21: The body of the <body> should
be surrounded by curly braces:
p. 197
In Code Spec 6.22, the syntax for the reduction
operator should read as follows:
p. 207 In Code Spec 7.5 the last argument is wrong; it should be as follows:
p. 209 in Code Spec 7.7 the first four lines should be
p. 209 Code Spec 7.8:
int destbuffer should be
void *destbuffer
p. 211 Code Spec 7.9:
int recvbuffer should be
void *recvbuffer
p. 211 Code Spec 7.9: In the "notes"
MPI_Gcatterv
should be MPI_Gatherv
p. 217 The code sample, line 31: MPI_ should
be MPI_INT
p. 221 Figure 7.6, line 158: The first argument to
MPI_Recv should be
p. 222 Figure 7.6, line 185: The fifth argument to MPI_Reduce should be MPI_MAX
p. 222 Figure 7.6, line 188 should read:
p. 225 Figure 7.8, line 158: The first argument to MPI_IRecv should be
p. 226 Figure 7.8, line 217: The fifth argument to MPI_Reduce should be MPI_MAX
p. 226 Figure 7.8, line 220 should read:
p. 240 In the last line of the Code Spec 8.2 should read "indicated" rather than "indicted"
p. 252 In the last code fragment, the fourth line had an extraneous right
parenthesis and should read
p. 255 In Code Spec 8.5, the inline code should read
p. 257 The second indented line should read
p. 260 Figure 8.3: on the fourth line of the main body of code, the
variable
ran should be
rank
August 29, 2008
|