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

Compiler errors in compiler generated code

steve_hendon
Beginner
813 Views

I am trying to pass an double precision allocated array to a FORTRAN COM server method. The code I started with form Compaq Fortran worked fine. However, I can't get this functionality to work at all with 10.1. If I try to specify the arguments of the method as assumed-shape, passed by reference, real*8 I get the following errors from the generated code: Any ideas on why this error occurs?

Error1 Error: This derived type name has not been declared. [FOR_DIMS_INFO]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90161
Error2 Error: This derived type name has not been declared. [FOR_DIMS_INFO]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90171
Error3 Error: This name must be the name of a variable with a derived type (structure type) [DA$X]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90192
Error4 Error: This name must be the name of a variable with a derived type (structure type) [DA$X]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90193
Error5 Error: This name must be the name of a variable with a derived type (structure type) [DA$X]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90194
Error6 Error: This name does not have a type, and must have an explicit type. [FOR_DESCRIPTOR_ARRAY_DEFINED]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90196
Error7 Error: This name does not have a type, and must have an explicit type. [FOR_DESCRIPTOR_ARRAY_NODEALLOC]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90196
Error8 Error: This name does not have a type, and must have an explicit type. [FOR_DESCRIPTOR_ARRAY_CONTIGUOUS]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90196
Warning9 Warning: This argument's data type is incompatible with this intrinsic procedure; procedure assumed EXTERNAL. [IOR]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90196
Error10 Error: This name does not have a type, and must have an explicit type. [IOR]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90196
Warning11 Warning: This argument's data type is incompatible with this intrinsic procedure; procedure assumed EXTERNAL. [IOR]C:eSimulationProjectsDAESolveropenDaeGeneratediMixer.f90196

0 Kudos
6 Replies
Steven_L_Intel1
Employee
813 Views
It looks as if the real problem is the missing declaration for FOR_DIMS_INFO. I don't recognize that - where did it come from?
0 Kudos
steve_hendon
Beginner
813 Views

It's in the "do not edit" interface code that is generated from the hierarchy file. It happens when I try to declare that the argument is an array. No errors if the argument is a scalar.

0 Kudos
Steven_L_Intel1
Employee
813 Views
I think at this point I would advise you to submit an issue to Intel Support and attach a ZIP of your project. Please mention that you were referred from the forum.
0 Kudos
steve_hendon
Beginner
813 Views

Already submitted with original cvf project and 10.1 project . But no answer back yet.

Thanks.

0 Kudos
steve_hendon
Beginner
813 Views

How long does it usually take to get a reply back (or at least an update indicating that someone has actually looked at the problem).

0 Kudos
Steven_L_Intel1
Employee
813 Views
Usually within a day. I'm not sure what went wrong here and will give a nudge.
0 Kudos
Reply