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

Image may be NSFW.
Clik here to view.

Stack memory not freed?

Dear all,according to a little test program (attached) it looks as if the stack memory is not freed after leaving a subroutine. I have had this problem with a much larger code, which after a while died...

View Article


How to disable implicit "save" attribute for variables declared in a module?

Hi,I'm dealing with a modular code in which several instances of a FORTRAN subroutine may coexist. The trouble is, these subroutines use a FORTRAN module (which has both variables and methods) - and...

View Article


doacross internal compiler error

This is using the latest ifort 17.0.2 (same problem with 17.0.1; older versions not tested): when trying the examples for the OpenMP 4.5 doacross parallelization feature, I found that the compiler...

View Article

More annoying regressions in ifort 17.0

Seems that v17 was not the most lucky of all releases. In our code, link, we now see several of our unit and functional tests producing double free or corruption errors or simply just hang. Note that...

View Article

Image may be NSFW.
Clik here to view.

Sorry for this

It's a mess. Does it compile?EDIT: Modified lesson01.f90 so it passes compile-time checks by ifort .AttachmentSizeDownloadlesson01.f9074.51 KBZone: Code for GoodThread Topic: Help Me

View Article


Modules with many interface blocks take a long time to compile

I'm compiling a fortran project using Intel Fortran compiler 16 under RHEL Linux 6.8. In this project, I have several module files containing only interface blocks of routines (I'm using these similar...

View Article

-CB finds issues where everything works as inteded?

Hello,when I run the following programprogram testbounds implicit none REAL, DIMENSION (5,5) :: A INTEGER, DIMENSION (2) :: K = (/ 1, 3 /) A = 0.d0 A (2, (/1, 3, 5/)) = 1.d0 print*, A print*, A (2, K)...

View Article

Cycling an unnamed do concurrent loop

Hi,why isn't the compiler associating the following cycle statement with the appropriate do concurrent loop?:program test implicit none integer :: i,j,k do concurrent (i=1:10000) k=-10 do j=1,i...

View Article


Polymorphic dummy argument not interoperable

I'm trying to do some black magic.....namely, I've created a C routine which performs a memset() on the array or structure passed to it:typedef ptrdiff_t CFI_type_t; typedef struct CFI_dim_t_ {...

View Article


Unable to use access specifiers in submodule

Compiling the following code snippet:module leader implicit none integer,private::rank end module leader submodule(leader) officer implicit none integer,private::file end submodule officerI get the...

View Article

Image may be NSFW.
Clik here to view.

error #6618: The INTERFACE/CONTAINS stack is full. This means that modules...

I am contributing to a large finite element code written in Fortran. I added a very simple subroutine to the code and the compiler complained witherror #6618: The INTERFACE/CONTAINS stack is full. This...

View Article

Possible ICE with ifort 17 and -xMIC-AVX512

 Hello,Please find below an issue (and reproducer) encountered by one of our developmentteam members.Thanks,Eric _______________________________________________________Encountered an ICE in ifort...

View Article

possible compiler initialization expression bug

I am getting an initialization expression error for what I believe to be valid code (ifort version 17.0.1). A minimum working example is as below:program test implicit none integer :: i, j integer,...

View Article


!DIR$ NOVECTOR: Fortran 2008 does not allow this statement or directive.

Hi,some DO-loops in my code are slower when the code is compiled with -xAVX (and -align array32byte). Therefore, I introduced the NOVECTOR directive. The code looks like this:!DIR$ NOVECTOR do k=2,kmx...

View Article

Unexpected crash in namelist read

Hello,the following code leads to a crash in namelist read with the Intel compiler, but not any other Fortran compiler I have access to:program ifort_nml_bug implicit none integer :: n, k(5) namelist...

View Article


Linux fortran 14.04 and 10.04

I am running a source code on Ubuntu 14.04, 64 bit. And on 32 bit 10.04 Using intel Fortran. The tests differ substantially from each other.next i tried using gfortarn compiler. same thing observed....

View Article

Memory usage in fortran( and pointer in fortran)

Hello, I'm a student studying the geophysical exploration simulation (like modeling the elastic wave equation in FDM, FEM, etc).I've known that when the simple situation like below,real(8) :: a(100)...

View Article


Compilation of f77 with intel2016: runs but all 0

Dear programmers,In principle I develop my codes with C++/Python but today I am one of those lucky guys that must use a legacy code in fortran 77 parallelized with MPI. I have been using this code for...

View Article

macos ifort / openmpi compatibility: mpi-sizeof.h

hi guys,i am compiling my parallel application using ifort in my mac. it seems that i have a compatibility problem between  openmpi and intel ifort 2017. any suggestion?when compiling a module, i have...

View Article

allocate and deallocate versus call subroutine

Dear all,I have a question about subroutine arguments:If I have a subroutine like this oneCALL SUBROUTINE(nElem) SUBROUTINE(nElem) REAL, DIMENSION(nElem) :: VECT1 REAL, DIMENSION(nElem) :: VECT2....and...

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>