[parsec-users] "open" function problem

Yu Zhang zhangyu2004 at hotmail.com
Wed Sep 14 14:27:12 EDT 2011

Hi Ronak,

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.
Best Regards!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20110915/ab165252/attachment.html>

More information about the parsec-users mailing list