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

Incorrect behavior with inheritance when using submodules?

Hello,  I have a test program which I believe is producing correct answers when compiled with ifort Version 18.0.0.128 Build 20170811 and incorrect answers when compiled with the newer ifort Version...

View Article


bug(???) in combination of block construct and allocatable derived type

Hi there,I found a supprising behaviour in this little program:Module Test_Type Type :: TT integer, allocatable :: xx(:) End type TT End Module Test_Type program test use Test_Type Type(TT),...

View Article


memory demand of linked list differs conditional on -parallel compiler flag

Hi there,I realized that the program below, which implements a linked list, will differ in its ram requirement conditional on using the compiler flag "-parallel"Module mod_ll Type :: llele integer*8 ::...

View Article

Image may be NSFW.
Clik here to view.

Intel Fortran compiler crashes with array operations and with OpenMP

I have the following code which causes the Intel Fortran compiler to cause a runtime SIGSEGV crash for array sizes 600^2: do iter = 1, num_iterations !$OMP PARALLEL SHARED( A, A_new, outside, inside )...

View Article

Image may be NSFW.
Clik here to view.

[Bug] Namelist directed output of assumed shape arrays

I cannot write namelist-directed outputs that contain assummed-shape [thanks FortranFan for noticing] arrays. The below minimal example works as indented when compiled with gfortran but fails when...

View Article


MPI error

Hi, I am trying to run a test case of the Wavewatch III model. I compiled the routines with ifort and all of the programs run as they should, except for the last one (ww3_multi) that gives me this...

View Article

How can I free the memory used for thread stacks?

Hello.I have a program consisting of two parts. In the first part, I would like to do a parallel computation with a reduction operation on a large array. To do that, I have to increase the thread stack...

View Article

How to use ifort compiler to compile a fortran code and generate a "not a...

Hello,  We previously used lf95 compiler to compile a fortran code to generate a static-linking executable file on RedHat Linux machine.  This executable file can be run on other Linux machine....

View Article


yet another bug(??) in parameterized derived types

Hi  therethe codeModule testmod Type, abstract :: myroot(k) Integer(4), kind :: k End type myroot Type, extends(myroot), abstract :: myvec(lb1,ub1) Integer(8), len :: lb1=1,ub1 End type myvec Type,...

View Article


Image may be NSFW.
Clik here to view.

AVX512 optimizations causing incorrect IEEE floating point exceptions

I'm compiling some code for a cluster containing Xeon Gold 6148 (Skylake) processors, and I've been trying to take advantage of the AVX512 instruction set by including the -xCORE-AVX512 compiler flag....

View Article

Error: Product support for your (Comp-FL) license has expired

My ifort has problems when compiling programsError: Product support for your (Comp-FL) license has expired. License file(s) used were (in this order):    1.  Trusted Storage **  2....

View Article

Fortran Compiler

I am a new bee to the world of programming but learning Fortran for some work I am doing on the side. I have just downloaded the Fortran compiler to my bran new MacBook Pro without any hiccup. Can...

View Article

Bug in associate polymorphic type in omp parallel do loop

The code below segfaults in ifort 17.0.4 unless I remove the associate lines. The address of `this` passed to `write_i` is 0xccccccccc program associate_pass type :: t integer :: i = 1 end type integer...

View Article


Error Loading libmpifort.so.12

Hello,I am trying to run my executable (PDES Simulator - ROSS) on a cluster and I add the module mpich/ge/gcc/64/3.2rc2 for mpi support.But I got "while loading shared libraries: libmpifort.so.12:...

View Article

18.01 bug(??) when resolving in submodule structure

Hi therethis codeModule Mod_testmod Type :: test_type contains Procedure, Pass :: bla => Subbla Final :: SubFinalizer End type test_type interface Module Subroutine Subbla(this) Class(test_type),...

View Article


valgrind: "conditional jump depends on uninitialised value" in...

Looking for a rare segfault during deallocation in our software we have used valgrind and have come upon some error messages, which possibly are due to a compiler bug. We are using ifort "Version...

View Article

Image may be NSFW.
Clik here to view.

Intel compiler issue for a long code

Hello all,This post is regarding an issue about compiling the routine that performs the Jacobian calculation (chem_spack_jacdchemdc.f90), in a Numerical Weather Prediction model, named BRAMS...

View Article


Fortran subModule for OOP methods

 Dear All: I am trying subModule for OOP methods in Fortran as test case. Followings are code snippets:Module:Module declarations type::Car character(len=10)::Name character(len=10)::Make contains...

View Article

Problem with overflow in vectorization, ifort 17.0.4

Dear all, I came across a segmentation fault when vectorizing a simple loop. It appears that the problem occurs when the loop is vectorized and some indices (not directly the loop index) to access the...

View Article

Need 32bit libraries on 64bit Ubuntu

I am trying to install IFC 2013 update 6 on my Ubuntu 16 64 bit version.I need to get the 32 bit libraries installed.   I thought that I had them all install, but the IFC installer is still...

View Article
Browsing all 2583 articles
Browse latest View live