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

Expression shape conformance violation

ejamison
Beginner
565 Views
Hi:
We are getting this compile time error message with the following code using Intel Fortran Compiler 7.0:
plxsun=8.794d0/DR/3600.0d0
^
Error 161 at (539:calc_data.f) : Expression shape conformance violation
plxsun and DR are bothreal(8)
In searching through the forums it appears this question was posted before but there didn't seem to be a response. Any ideas?
Thanks,
ej
0 Kudos
3 Replies
Steven_L_Intel1
Employee
565 Views
We would need to see the declarations of plxsun and DR - are they arrays?
Have you tried version 8.0?
0 Kudos
ejamison
Beginner
565 Views

Hi Steve:

Here are the declarations for DR and plxsun. They are not arrays:

real(8) DR
real(8) plxsun
We haven't tried version 8.0.
Thanks,
ej
0 Kudos
Steven_L_Intel1
Employee
565 Views
Interesting. Well, do try 8.0.
0 Kudos
Reply