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

Bad compiler error with procedure pointer component array

jmcfarland101
Beginner
986 Views
I am attaching two files (one module that USEs another) that demonstrate an incorrect compiler error. I have a derived type that contains a pointer array of another derived type, which contains a procedure pointer. When I create a subroutine that sets the procedure pointer, the compiler complains that the procedure pointer targets "must have matching arguments", but they are both declared with the same interface ("response_template"), so they do have matching arguments.

The compiler error seems to have something to do with the definition of the ABSTRACT INTERFACE in a separate module, because including the code from GlobalDef.f90 directly in FPointer.f90 (as opposed to referencing it as a module) makes the error go away...

Thanks in advance,
John
0 Kudos
7 Replies
Steven_L_Intel1
Employee
986 Views
Thanks for reporting this. I have escalated it as issue DPD200141624.
0 Kudos
jmcfarland101
Beginner
986 Views
Thanks for reporting this. I have escalated it as issue DPD200141624.

Thank you Steve. I work with a large Fortran project that makes extensive use of procedure pointers and derived types. We would like to be able to compile this code with IVF, but have been waiting for its procedure pointer support to catch up. My organization currently has a license for IVF 10.x, and I am now using an evaluation version of IVF 11.x to evaluate whether or not the compiler will compile our code, in which case we may want to purchase an upgrade.

My questions are (1) how can I track the status of this issue, and (2) as a user of the 30-day evaluation version, will I be able to download and evaluate a fixed version, if made available within my evaluation period?

John
0 Kudos
Steven_L_Intel1
Employee
986 Views

1) You track it here - I will update the status as it changes.

2) If it was made available during the evaluation period, yes, but the earliest this could be fixed would be mid-late December. However, I can probably accommodate you in this - remind me at the time if I don't remember.
0 Kudos
jmcfarland101
Beginner
986 Views

Hi Steve,

Can you please advise as to whether this issue has been addressed yet?

Thanks,

John

0 Kudos
Steven_L_Intel1
Employee
986 Views
The fix for this should appear in Update 5, due later this month.
0 Kudos
jmcfarland101
Beginner
986 Views

Hi Steve,

I see that this update has been released now. Would it be possible for me to get a demo (as mentioned above, my previous trial period expired)?

Thanks,

John

0 Kudos
Steven_L_Intel1
Employee
986 Views

John,

I'll send you an email with the details.

0 Kudos
Reply