| View previous topic :: View next topic |
| Author |
Message |
Panch
Joined: 18 Jan 2011 Posts: 4
|
Posted: Fri Jan 20, 2012 8:21 am Post subject: Please Improve PGI fortran (PGI fortran vs Intel Fortran) |
|
|
In PGI fortran some options are not available, which are available in standard intel fortran
1. For example, one can search whether a directory exists are not
using the command inquire(directory="directory name", exist ="value") in intel fortran
But in PGI fortran one cannot find such a thing.
2. If the directory does not exist, one can create the directory using makedirqq in intel fortran. That option is not available in pgi fortran
3. One can open a file with buffered = Yes or not bufferesize, blocsize in intel fortran. But it is not available in pgi fortran.
Still many more to come.... Will post later... |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Jan 20, 2012 4:40 pm Post subject: |
|
|
Hi Panch,
Thanks for the request. After talking with our Compiler Architect, we don't see a compelling reason to add #1 and #3. For #1, you should be able to use "file" instead of "directory". For #3 where not sure the purpose other then this is an old VAX extension no longer relevant. If you want a way to control the I/O buffering behavior, take a look at the "setvbuf" 3f routine.
#2, makedirqq, seem reasonable to add to our DFLIB support. I have added TPR#18240 and sent it to the appropriate compiler engineer.
| Quote: | | Still many more to come.... Will post later... | Sounds good. We'll evaluate them as they come in.
Best Regards,
Mat |
|
| Back to top |
|
 |
zbeekman
Joined: 04 Apr 2012 Posts: 5
|
Posted: Wed Apr 04, 2012 11:00 am Post subject: |
|
|
| Just keep in mind that those are compiler extensions and not (yet) standard Fortran. If you want to write portable code, it's a good idea to avoid compiler extensions or language features that are very new or obsolete. |
|
| Back to top |
|
 |
jtull
Joined: 30 Jun 2004 Posts: 233
|
Posted: Wed May 29, 2013 2:27 pm Post subject: TPR 18420 - Request: add makedirqq was fixed in 12.10 |
|
|
Panch,
A late word that this was added to the 12.10 and subsequent releases.
thanks,
dave |
|
| Back to top |
|
 |
|