Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

Compiler errors in compiler generated code

Last post 05-08-2008, 12:38 PM by Steve Lionel. 6 replies.
Sort Posts: Previous Next
 05-01-2008, 7:48 AM 30253882  

Compiler errors in compiler generated code

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?

 

Error 1  Error: This derived type name has not been declared.   [FOR_DIMS_INFO] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 161 
Error 2  Error: This derived type name has not been declared.   [FOR_DIMS_INFO] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 171 
Error 3  Error: This name must be the name of a variable with a derived type (structure type)   [DA$X] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 192 
Error 4  Error: This name must be the name of a variable with a derived type (structure type)   [DA$X] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 193 
Error 5  Error: This name must be the name of a variable with a derived type (structure type)   [DA$X] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 194 
Error 6  Error: This name does not have a type, and must have an explicit type.   [FOR_DESCRIPTOR_ARRAY_DEFINED] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 196 
Error 7  Error: This name does not have a type, and must have an explicit type.   [FOR_DESCRIPTOR_ARRAY_NODEALLOC] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 196 
Error 8  Error: This name does not have a type, and must have an explicit type.   [FOR_DESCRIPTOR_ARRAY_CONTIGUOUS] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 196 
Warning 9  Warning: This argument's data type is incompatible with this intrinsic procedure; procedure assumed EXTERNAL.   [IOR] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 196 
Error 10  Error: This name does not have a type, and must have an explicit type.   [IOR] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 196 
Warning 11  Warning: This argument's data type is incompatible with this intrinsic procedure; procedure assumed EXTERNAL.   [IOR] C:\eSimulation\Projects\DAESolver\openDae\Generated\iMixer.f90 196 

 
 05-01-2008, 12:05 PM 30253912 in reply to 30253882  

Re: Compiler errors in compiler generated code

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?

Steve

Doctor Fortran: intel.com/software/drfortran
 
 05-02-2008, 6:14 AM 30253960 in reply to 30253912  

Re: Compiler errors in compiler generated code

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.

 

 
 05-02-2008, 7:30 AM 30253970 in reply to 30253960  

Re: Compiler errors in compiler generated code

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.

Steve

Doctor Fortran: intel.com/software/drfortran
 
 05-02-2008, 8:05 AM 30253972 in reply to 30253970  

Re: Compiler errors in compiler generated code

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

Thanks.

 

 
 05-08-2008, 11:35 AM 30254406 in reply to 30253972  

Re: Compiler errors in compiler generated code

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).

 

 
 05-08-2008, 12:38 PM 30254408 in reply to 30254406  

Re: Compiler errors in compiler generated code

Usually within a day.  I'm not sure what went wrong here and will give a nudge.

Steve

Doctor Fortran: intel.com/software/drfortran
 
View as RSS news feed in XML

Shortcuts


Tags For This Post

...

Community Tags

...