Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Error 6731 in version 11.1.072

$
0
0

The following code gives error 6731 Object is not a pointer object XG.

I understand this was fixed in 2011, but is there a workaround in 11.1?

    program testsize
    real,allocatable,target :: XG__(:,:)
    real,pointer :: XG(:)    
    allocate(XG__(12,12))
    XG(1:size(XG__)) => XG__
    XG(1)=1.0
    write(*,*)XG__(1,1)
    STOP
    END

 


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>