- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the following code runs erroneous when compiled with ifort 10.1-ia64 without specifying any compiler options:
the result reads:
1.100000 1.200000 1.300000
1.100000 1.100000 1.100000
While using gfortran or using ifort -O0 -g, it runs correctly to print:
1.100000 1.200000 1.300000
1.100000 1.200000 1.300000
[cpp]program testdo implicit none integer*4:: np,i,j real*4,allocatable::arr(:,:) np=1024*1024*1024; allocate(arr(np,3)) forall(i=1:np,j=1:3) arr(i,j)=i+0.1*j end forall write(*,*) arr(1,1:3) write(*,*) (arr(1,j),j=1,3) ! seems to print arr(1,1) three times? end program testdo[/cpp]
the result reads:
1.100000 1.200000 1.300000
1.100000 1.100000 1.100000
While using gfortran or using ifort -O0 -g, it runs correctly to print:
1.100000 1.200000 1.300000
1.100000 1.200000 1.300000
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kambrian,
This problem has already been fixed in the 10.1.022compiler or 11.0 compiler. Please try this new version andreply tous if you have additional questions. You may download the latestpackagefrom our Registration Center: https://registrationcenter.intel.com/.
Yolanda Chen
Intel Developer Support
Tools Knowledge Base: http://software.intel.com/en-us/articles/tools

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page