Mode with PXFOPEN

Mode with PXFOPEN

I'm trying to use PXFOPEN. I can read
files, but I can't write - I suspect
this is because I'm not setting the
mode correctly.

On other systems the mode is the or'd combination
of S_IRUSR || S_IWUSR || S_IRGRP, etc., but these
don't work with Intel compiler and the manual (for
version 5.1) doesn't tell one anything.

What are the correct values for the mode that one can
use for the mode?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

This should just be the usual Linux octal access code.
So you should be able to set it to something like (octal) 644, assuming you are creating a new file and have write access to the directory.
If you still have difficulties, please submit an issue to Intel Premier Support at


Leave a Comment

Please sign in to add a comment. Not a member? Join today