|
From: Raghu R. <rag...@no...> - 2014-01-17 17:36:41
|
This is a newbie question, so please bear with me. J The environment is the following: Running on an Intel Westmere processor Red Hat Enterprise Linux Server release 6.4 (Santiago) Linux fe5 2.6.32-279.32.1.el6.x86_64 #1 SMP Wed Jun 19 05:25:09 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux Ifort Version 12.0.4 Upon running the application I am seeing some messages such as: ==20741== ---------------------------------------------------------------- ==20741== ==20741== Possible data race during read of size 4 at 0x420A080 by thread #3 ==20741== Locks held: none ==20741== at 0x40B55AD: __kmp_wait_sleep (in /apps/intel/composerxe-2011.4.191/composerxe-2011.4.191/compiler/lib/intel64 /libiomp5.so) ==20741== by 0x40B09AF: __kmp_fork_barrier(int, int) (in /apps/intel/composerxe-2011.4.191/composerxe-2011.4.191/compiler/lib/intel64 /libiomp5.so) ==20741== by 0x40B0028: __kmp_launch_thread (in /apps/intel/composerxe-2011.4.191/composerxe-2011.4.191/compiler/lib/intel64 /libiomp5.so) ==20741== by 0x40D2638: ??? (in /apps/intel/composerxe-2011.4.191/composerxe-2011.4.191/compiler/lib/intel64 /libiomp5.so) ==20741== by 0x4C2D0D4: mythread_wrapper (hg_intercepts.c:219) ==20741== by 0x7E74850: start_thread (in /lib64/libpthread-2.12.so) ==20741== by 0xF64F6FF: ??? ==20741== ==20741== This conflicts with a previous write of size 4 by thread #2 ==20741== Locks held: none ==20741== at 0x40D337B: ??? (in /apps/intel/composerxe-2011.4.191/composerxe-2011.4.191/compiler/lib/intel64 /libiomp5.so) ==20741== by 0x4C2D0D4: mythread_wrapper (hg_intercepts.c:219) ==20741== by 0x7E74850: start_thread (in /lib64/libpthread-2.12.so) ==20741== by 0x7BE16FF: ??? ==20741== My question is, how do I find the variable located at the address 0x420A080? The code was ready compiled with -g option, so I was wondering why it was unable to point me to the variable. What can I do to get the actual variable name or the location where if this is happening? Thanks, --Raghu |