Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Browsing all 2746 articles
Browse latest View live

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 Article


ICE 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 Article


General 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 Article

How 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 Article

Trouble 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 Article


Reaping 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 Article

error #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 Article

vectorization: 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 Article


Intel 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 Article


Vectorization 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 Article

Image may be NSFW.
Clik here to view.

Bug 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 Article

A 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 Article

impure 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 Article


Diagnostics 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 Article

Compiler 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 Article


forrtl: 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 Article

ERRSNS 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 Article


Seeing 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 Article

Status 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 Article

Image may be NSFW.
Clik here to view.

Problem 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
Browsing all 2746 articles
Browse latest View live


Latest Images

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