Assignment with polymorphic component, wrong result
Hi, the attached code should print "1 2", however, it prints "2 2".Indeed, it seems that each assignment to V(I) in fact assigns to thewhole array V.ifort -VIntel(R) Fortran Intel(R) 64 Compiler XE...
View ArticleICE returning abstract interface ifort 13.0.1 20121010
I have an internal compiler error when trying to return a function loaded from a dynamic library using an abstract interface and bindings to dlopen. This occurs on ifort 13.0.1 20121010 (and I believe...
View ArticleGeneral array slice-question
Is there a way of using array slices in Fortran that are not merely continuous segments of an array and that neither are made up of elements accessible by a constant stride value? (as an example, would...
View ArticleHow to call Fortran interface (generic procedure) from C/C++
I tryed all kind of things and none worked...May be there is something I'm missing? Is it that difficult to implement?Here is my C codeint main ( void ) { char test [10] = "abcd"; int t = 4; void...
View ArticleTrouble building and running openmpi-1.6.4 with intel composer 13.1
I'm having trouble building and running openmpi-1.6.4 with intel composer 13.1. When building openmpi-1.6.4 it looks for a library called "lintlc.a" which is not in the...
View ArticleReaping unused STRUCTURE variables
Anyone know of any tricks to tease out unused STRUCTURE variables from the compiler? I know you can use "-warn unused" to get a list of unused variables that are declared, but this doesn't seem to...
View Articleerror #6099: An ENDDO statement occurred without a corresponding DO or DO...
My module:module m3 containssubroutine pk(iter,c4)integer,intent(in) ::iterinteger,intent(in) ::c4real,dimension(:),allocatable :: b11,b22integer :: n,i,id1,id2character(10) :: tfile="...
View Articlevectorization: data dependence and subscript too complex
Hi everyone - I am trying to better understand both data dependency and the subscript too complex rules.The snippet below gives the subscript too complex error, whereas if I swap this line for the...
View ArticleIntel style assembler syntax?
Hello,it appears that the compiler generated assembler output (-S) uses the AT&T style syntax by default. Is there a switch to obtain the Intel variant?Thanks,Harald
View ArticleVectorization and subscript too complex
Hi, I am trying to understand better the data dependence and "subscript too complex" rules on vectorization. Here is an example of what I don't understand: do i=1,ni do j=1,nj zz =...
View ArticleBug report and bug-report/feature-request
Hi,I got the following message running ifort (IFORT) 13.1.0 20130121 in RHEL 5 x86_64: single_point_streaming_stats.F90: catastrophic error: **Internal compiler error: segmentation violation signal...
View ArticleA pointer passed to DEALLOCATE points to an object that cannot be deallocated
Compiling (with ifort 13.1.1) and executing the following code module tt type :: t end type t type :: t1 class(t), pointer :: tp contains procedure :: set procedure :: unset...
View Articleimpure elemental procedure support
Any chance we'll see support for impure elemental procedures sometime soon? It would certainly aid debugging my overloaded operators and assignments. Abstract factory patterns in Fortran often require...
View ArticleDiagnostics of kind mismatches of intrinsics (e.g. MIN) could be improved
Hello,the standard conformance diagnostics can sometimes be confusing. Example: subroutine foo (i, k, m) integer :: k integer(1) :: i, m(3) k = min (k, i) ! Useful warning k...
View ArticleCompiler compatibility
I have a problem migrating a simulator coded in F77 from a Sun/Solaris platform into a Linux/Slackware platform running in a WMWare image on a PC.I used Intel Fortan Composer XE on the Linux image.This...
View Articleforrtl: severe (193): Run-Time Check Failure
I have defined array integer,dimension(15) :: kk1, but:milenko@milenkons:~/alo/v2$ ./oipcforrtl: severe (193): Run-Time Check Failure. The variable 'oipc_$ITER' is being used without being definedImage...
View ArticleERRSNS subroutine
Hi,Can anyone show me example of using ERRSNS subroutine? I am interested to see scripts assuning there is something wrong in the code and therefore ERRSNS will parse some message.Thanks in advance,Akand
View ArticleSeeing slow performance with ALLOCATE and DEALLOCATE in OpenMP app
I'm working on an Fortran application that is using OpenMP fairly extensive to utilize threads. One part of the code is doing quite a lot of ALLOCATE and DEALLOCATE statements in fairly quick...
View ArticleStatus of coarray implementation and performance
Is there any documentation regarding the respecting performance of coarray with respect to MPI for the latest Intel Fortran compilers (Linux/Cluster)? A couple years ago the focus was on implementation...
View ArticleProblem using nested type-bound procedures and coarrays
Hi,I'm having some problems with a deried-type coarray and type-bound procedure.What I'm basically trying to doI've defined a derived-type coarray which has 2 type-bound procedures (Sub1 and Sub2), one...
View Article