[parsec-users] "open" function problem
zhangyu2004 at hotmail.com
Wed Sep 14 14:27:12 EDT 2011
it happened that yesterday I have also the same problem encountered. This is common error message for PARSEC building and can be confused to the beginner of PARSEC benchmark. Here is something useful information for such a problem.
Find the faulting file under the .../parsec-2.1/.../decorder.c and go to the offending line, in this case 188, 258, modify it as the following should work for you :-)
config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC);
config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC,0664);
This is probably caused by a strict way to use the function "open" by different versions of GCC.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the parsec-users