Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Problem with PXFSTAT() function

Evan_de_Kock
Beginner
600 Views
Dear All

I have been playing with the Posix library routines (IFPOSIX module)and it seems that the function PXFSTAT() fails when used with file names that contains blank characters, such as "C:\temp\Copy oftest.txt". For this example it returns the error code ENOENT. However, the function PXFACCESS has no problem with the same file name! Is this a bug in the PXFSTAT() function?

Do anybody know why PXFFORK() and most of the posix signal handling routines (e.g., PXFSIGADDSET) are only avaible for Linux and Mac OS? A large chunk of the standard set of posix routines is simply not available on Windows platforms.

I would appreciate any comments or suggestions.
Evan

0 Kudos
3 Replies
Steven_L_Intel1
Employee
600 Views

Evan,

I've reported the problem with PXFSTAT as issue DPD200149522 and have asked about the other routines. I'd guess, though, it's because those routines depend on Unix-specific features that don't exist on Windows.

0 Kudos
Steven_L_Intel1
Employee
600 Views

Here's what I heard from the developers:

"These routines map to the fork and sigaddset that are supported by the linux and mac oss. There is nothing comparable on Windows. Windows supports only two/three signals (SIGINT, SIGKILL, and SIGALRM?); so, doesnt have the rich set of system routines to support them."

0 Kudos
Steven_L_Intel1
Employee
600 Views
The PXFSTAT error is fixed in 11.1 Update 6.
0 Kudos
Reply