Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1 View

Bug with derived types and ifort 16.0

I am running into an issue with compiling code with ifort 16 which worked with previous versions of ifort and works with e.g. gfortran. The code in question is here:

https://gist.github.com/astrofrog/47ee268a8e71dc6760ec3e0e1b4beca7

and I have put a tar file for convenience here:

https://dl.dropboxusercontent.com/u/3770121/ifort_issue.tgz

I have tried to boil it down to as simple a code as possible. When compiling using make.sh, I get the following error:

grid_geometry_cartesian_3d.f90(11): error #6457: This derived type name has not been declared.   [GRID_CELL]

  type(grid_cell) :: cell

-------^

compilation aborted for grid_geometry_cartesian_3d.f90 (code 1)


However, if I rename one of the 'equal' functions, everything works as expected. Is this a bug in ifort?
 
Thanks!
Tom
0 Kudos
3 Replies
Highlighted
1 View

Thanks for making the effort

Thanks for making the effort to create a minimal test case - we really appreciate it. I have escalated this as issue DPD200414703 and will let you know of any progress.

Retired 12/31/2016
0 Kudos
Highlighted
1 View

This problem has been fixed -

This problem has been fixed - I expect the fix to appear in Update 2 to Parallel Studio XE 2017.

Retired 12/31/2016
0 Kudos
Highlighted
Beginner
1 View

Thanks!

Thanks!

0 Kudos