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

Possible Coarray bug

luke_m_
Beginner
1,111 Views

I am having problems with a Coarray fortran code.

I have managed to isolate one of the issues in the form of the attached code and output. It executes correctly using the Cray compiler but it gives a divide by zero in the prolog of the subroutine using Intel compilers. I have tried with both versions 14 and 15 of the compiler with the same result.

Compile line is

ifort -coarray -switch no_launch -o error-caf-intel error-caf.f90

Execute line is

mpiexec.hydra -np 4 error-caf-intel

Please let me know if you would like any further information.

0 Kudos
6 Replies
pbkenned1
Employee
1,111 Views

I can reproduce your complaint.  Let me investigate further and I'll get back to you.

Patrick

0 Kudos
pbkenned1
Employee
1,111 Views

Looks like an ifort defect.  I've reported this to the developers, tracking ID DPD200362909.  I'll keep this thread updated with news.

Patrick

0 Kudos
pbkenned1
Employee
1,111 Views

This issue is now fixed in a future version of the compiler.

Patrick

0 Kudos
pbkenned1
Employee
1,111 Views

This issue is now targeted to be fixed in the 15.0 compiler.

Patrick

0 Kudos
Izaak_Beekman
New Contributor II
1,111 Views

Patrick Kennedy (Intel) wrote:

This issue is now targeted to be fixed in the 15.0 compiler.

Patrick

I’m confused, isn’t the 15.0 compiler already out? Did you mean to say the update coming early next year?

0 Kudos
pbkenned1
Employee
1,111 Views

Right, the fix is targeted for 15.0.2 (update #2).

Patrick

0 Kudos
Reply