Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

severe compile error for intel fortran

mbostandoust
Beginner
579 Views
Hi
I want to compile the following program
programbc
implicit none
integer nx,ny,nz,ns
parameter (nx=34,ny=33,nz=34,ns=2)
real rho(nx,ny,nz),phi(ns+1,nx,ny,nz),p(nx,ny,nz)
p(2:nx-1,1,2:nz-1) = rho(2:nx-1,1,2:nz-1)*phi(1,2:nx-1,1,2:nz-1)
end program
when I change the multiplication line,with a do loop,there will not be any error.
is there any way to get around this problem without rewriting the code with do loops
0 Kudos
1 Reply
larsm
Beginner
579 Views
I had similar problems previously. If I remember correctly it compiled ok if you did not use debug.
But, after reporting the errors, it was fixed in version 9.0.030, which I now use. I tested your program there in, debug mode, and it compiled ok.
Best wishes
Lars M
0 Kudos
Reply