- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Specifically I am interested in type bound procedures and parameterized derived types. Under ifort 11.1.046 under 64bit RHEL 5 I get the following errors when trying to declare an object as a parameterized derived type:
[plain]ifort -c modErrors.f90 -warn all -check all -traceback -g -sox
modErrors.f90(43): error #5082: Syntax error, found '::' when expecting one of: ,;
TYPE(error_pair(name_len=length)) :: errs(num_errs)
---------------------------------------^
[/plain]
I have quadrupal checked my code, and it appears that perhaps this hasn't been added yet? If it is supposed to be functional is this a compiler bug?
I appreciate any thoughts, comments, or assistance.
-Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should not have to wade through the release notes - there is a subsection "Fortran 2003 Feature Summary" listed in the Table of Contents. You can also find this material here.
Type-bound procedures are supported. Parameterized derived types are not.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should not have to wade through the release notes - there is a subsection "Fortran 2003 Feature Summary" listed in the Table of Contents. You can also find this material here.
Type-bound procedures are supported. Parameterized derived types are not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry if these questions have been answered elsewhere on this forum, but
a) When do you think the next release supporting parameterized derived types will be?
b) When will the next major release be?
c) Are submodules still slated for inclusion in the next major release?
Thanks in advance,
-Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a) Not yet scheduled
b) Late 2010
c) At this point it seems unlikely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Does that apply to generic interface as well ? If so I have to deicde how to work around that in my implementation. My basline compiler for F2003 feature today is the IBM xlf2003 compiler and it seems like it can handle many things that ifort can't.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Generic type-bound-procedures are still on track for the late 2010 release. Submodules is the only feature we were considering that has been tentatively dropped for this next release, due to resource constraints. We still want to do it as soon as we can.
IBM xlf90 is the second-closest compiler to full F2003 there is (Cray is all the way there), but of course it doesn't run on IA platforms. We'll get there eventually. Even NAG, which historically has been first out with a new standard, is a long way from done. No other commercial implementation is close.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a) Not yet scheduled
Does this mean this feature is a year plus out? That is very unfortunate. Parameterized derived types combined with allocatable scalars will be soooo nice...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are there any news aboutparameterized derived types? When do you plan to ifort will support them?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page