[mvapich-discuss] Bad variable names in OSU benchmarks
Jeff Squyres
jsquyres at cisco.com
Mon Oct 30 10:40:17 EST 2006
Greetings.
I notice that three of the OSU benchmarks have global variables named
"stat" in them. This is not a good idea because there is a system
call named stat (see stat(2)). Having a global variable with the
same name as a system call can lead to unexpected and disastrous
results.
Additionally, these poorly-named global variables are not used. So
it's probably safest just to remove them. A patch is attached.
--
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osu-bechmark-bad-var-names.patch
Type: application/octet-stream
Size: 1044 bytes
Desc: not available
Url : http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20061030/80675887/osu-bechmark-bad-var-names.obj
-------------- next part --------------
More information about the mvapich-discuss
mailing list