Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
c9f0c305
Commit
c9f0c305
authored
Oct 01, 2008
by
Thomas Witkowski
Browse files
* Bugfix for "parallel omp barrier" with intel compiler
parent
ef52255e
Changes
1
Show whitespace changes
Inline
Side-by-side
AMDiS/src/ProblemVec.cc
View file @
c9f0c305
...
...
@@ -943,6 +943,10 @@ namespace AMDiS {
tmpVector
->
set
(
0.0
);
}
// Because we are using the parallel traverse stack, each thread will
// traverse only a part of the mesh.
ElInfo
*
elInfo
=
stack
.
traverseFirst
(
mesh
,
-
1
,
assembleFlag
);
// After creating privat copies of the DOFMatrix and the DOFVector, all threads
// have to wait at this barrier. Especially for small problems this is required,
// because otherwise one thread may be finished with assembling, before another
...
...
@@ -950,10 +954,6 @@ namespace AMDiS {
#ifdef _OPENMP
#pragma omp barrier
#endif
// Because we are using the parallel traverse stack, each thread will
// traverse only a part of the mesh.
ElInfo
*
elInfo
=
stack
.
traverseFirst
(
mesh
,
-
1
,
assembleFlag
);
while
(
elInfo
)
{
if
(
useGetBound_
)
{
basisFcts
->
getBound
(
elInfo
,
bound
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment