biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ba1edc
)
Fix minor OpenMP issue for md-vv update
author
Roland Schulz
<roland@utk.edu>
Sat, 13 Oct 2012 00:23:04 +0000
(20:23 -0400)
committer
Gerrit Code Review
<gerrit@gerrit.gromacs.org>
Mon, 22 Oct 2012 18:34:53 +0000
(20:34 +0200)
Conflicting writes to alpha. But because alpha is anyhow the same
value for all threads didn't cause a problem.
Change-Id: Icefbfa4454c38300629344057f1b5feb0ca8b01d
src/mdlib/update.c
patch
|
blob
|
history
diff --git
a/src/mdlib/update.c
b/src/mdlib/update.c
index e4e4763ad065e882872af9328b2ac0864c2d2c57..430bec3c523d0fdb609fb47737030daa506fac5b 100644
(file)
--- a/
src/mdlib/update.c
+++ b/
src/mdlib/update.c
@@
-1774,7
+1774,7
@@
void update_coords(FILE *fplog,
nth = gmx_omp_nthreads_get(emntUpdate);
}
-# pragma omp parallel for num_threads(nth) schedule(static)
+# pragma omp parallel for num_threads(nth) schedule(static)
private(alpha)
for(th=0; th<nth; th++)
{
int start_th,end_th;