|
From: Reyko S. <re...@gm...> - 2010-07-14 10:07:29
|
Dear Valgrind users,
I have a problem I don't understand. When using the helgrind tool I get the message that there was a possible data race right when I open the parallel region:
==9596== Possible data race during write of size 1 at 0x403bb60 by thread #1
==9596== at 0x4EC833: gomp_barrier_wait_end (bar.c:39)
==9596== by 0x4EBCAE: gomp_team_start (team.c:431)
==9596== by 0x40AF12: CVectorInversion::calculateKernelMatrix(unsigned int) (vectorFieldInversion.cpp:636)
==9596== by 0x4018C7: main (vectorInvTest.cpp:297)
==9596== This conflicts with a previous read of size 1 by thread #5
==9596== at 0x4EC8ED: gomp_barrier_wait (bar.h:75)
==9596== by 0x4EB820: gomp_thread_start (team.c:109)
==9596== by 0x4F478C: start_thread (pthread_create.c:297)
==9596== by 0x539A48: clone (clone.S:112)
the according code segment is:
636: #pragma omp parallel for private (vesh, nSH, m, p, result)
637: for (unsigned i=0; i<M; i++){
Can anyone tell me why there can be a data race when I open the parallel region?
Thanks,
Reyko
___________________________________________________________
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
|