- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone know which standard introduced allocatable dummy arguments? It seems that ifort has had these for quite some time but gcc 4.4 throws a fit when I use them.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The TR was incorporated in f2003. The initial implementation in gfortran was released over 2 years ago, in gfortran 4.5. gfortran 4.7 has been released. While gfortran is not as far along as ifort, it's unreasonable to make expectations of a 3 year old version.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This extension to Fortran 95 was provided in TR 15581:1998. See this page and, if so inclined, follow the link there to the actual document itself. As far as I know, current versions of most major Fortran compilers support it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Correct. This feature was formally included into the standard in Fortran 2003. I know that gfortran has supported this for a long time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The TR was incorporated in f2003. The initial implementation in gfortran was released over 2 years ago, in gfortran 4.5. gfortran 4.7 has been released. While gfortran is not as far along as ifort, it's unreasonable to make expectations of a 3 year old version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I didn't realize how old 4.4 is. It seems, however that on some HPC systems compilers are adopted long after they are released. I know that this is in the f2003 standard but was unsure of which standard added this feature. I have been using this feature for a long time (mostly with ifort) and was confused when it didn't compile under--what I now understand to be an old version of--gfortran.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page