Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect spec in an open statement doesn't accept nonstandard mode specifier #24

Open
rasmussn opened this issue Jan 4, 2017 · 2 comments

Comments

@rasmussn
Copy link
Member

rasmussn commented Jan 4, 2017

According to the Intel Fortran compiler documentation, MODE specifier is a nonstandard synonym for ACCESS. The following program demonstrates the usage:


@rasmussn
Copy link
Member Author

rasmussn commented Jan 4, 2017

The demonstration program is:

open(12,file=file2,status='old',mode='READ',err=40)
end

@rasmussn
Copy link
Member Author

rasmussn commented Jan 4, 2017

Additional nonstandard specifiers are (from https://software.intel.com/en-us/node/678829):

DISP (DISPOSE)
NAME (synonym for FILE)
RECL (or RECORDSIZE)
TYPE (synonym for STATUS)

There are actually several more (from casual glance at the Intel documentation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant