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

How to connect ifort to a 'gfortran' lib

Hi:   sorry for the disturbing.   Now I compile all my ocean model with the help of ifort, but I also need to use the NCL static lib which compiled by gfortran. it always said that "undefined reference...

View Article


optional parameter error

My dear friend:my new version compiler is ifort version 19.0.2.187system is linux(redhat)my compiler is following:ifort -c head_sublibf.f90 -std03 -fPIC -assume nounderscore -assume bscc -assume...

View Article


Floating invalid only when vectorizing

Dear allFirst of all I must apologize as I for legal reasons can't show any actual code and I have not been able to draft dummy code that can reproduce the problem I am experiencing. The code in...

View Article

Image may be NSFW.
Clik here to view.

Dynamically allocated array address changes after constructor

I have been updating some fortran modeling software for streamflow simulation. Until recently I had primarily used gfortran for compiling the code. Having obtained a license for the Intel compilers on...

View Article

compiling with -ipo and qopt-report=5

Hello, Is there a reason why if I compile with both -ipo qopt-report=5, my optrpt report does not contain much of information. While If i removed -ipo I get the information in the report file as I...

View Article


Shared library and DEC ALIAS issue with underscore

I'm using dlopen and dlsym to open a shared library and execute a procedure. It works fine on Windows and Linux, but I see a weird issue on Mac. Consider the following example:Main code...

View Article

Truncated source line warnings

Revisiting an old topic, would it be possible to add a slightly different option to the "truncated_source" -warn flag that ignores comment fields?  We encourage our developers to heavily comment their...

View Article

How to correctly setup OpenMP directives for this kind of loop in Fortran

We have a science model that simulates an agricultural field for susceptibility to wind erosion.  The current version assumes the entire field consists of the same soil and that the entire field is...

View Article


seg fault regression

There appears to be a seg fault regression introduced in Intel 2019 Fortran compiler, consider the code:module testmod use iso_c_binding integer, parameter, public :: f_int = c_int64_t type, bind(c),...

View Article


License server issue

I am trying to do an install on a new computer using an existing license server of the Intel 18 Fortran Compiler.  Based on the content of the intel.lic file, how can I determine which intel package to...

View Article

Compiler Directives in Code:Blocks

In Windows, I have long used iFort's simple compiler directive facility for conditional compilation.https://software.intel.com/en-us/fortran-compiler-developer-guide-and-re...for example!DIR$...

View Article

Symbols found by the compiler not found by the linker

MacOS: High Sierra; Xcode: 10.1 ; Ifort: 18.0.5Hi,I have an issue building an application with intel18 on MacOS, which I do not have with gcc,I have symbols defined in a module io, which are found by...

View Article

ifort bug in OMP collapse since 2019 versions

Dear intel,It seems you have a serious bug in your collapse openmp statements.I did this small code:module fail_m implicit none contains subroutine zero(n, Dk) integer :: n real :: Dk(2,n,n) integer ::...

View Article


help building NetCDF3.6.3 with ifort (parallel_studio_xe_2019.4.070)

Can anyone help me trouble-shot?  My understanding was that I only needed ifort since it works with gcc, etc. Configure seems to find everything necessary, but during make, it has trouble with...

View Article

No warning when overwriting procedure with different characteristics

Hi all,this is a question and a feature request just in case someone at Intel is interested.The source below compiles without warnings, and fails at run-time. In my understanding, the code violates...

View Article


Vectorisation of type bound procedures

If you have a type bound procedure and within the same module I do: !$omp simd do i =1,N (...) call this% AN_ELEMENTAL_INLINE_ROUTINE (..) enddo My optimisation report says that it was unable to inline...

View Article

best distro for intel fortran - ++stability and perfomance (windows user)

now im using windows 10 with visual studio 2019. im thinking to migrate to linux to have more stability and better performance for my calculations(some of then take more than 2 weeks). but i dont know...

View Article


Compiler Bug in Complex Read

I have found a bug in the intel ifort compiler 2019.3.199. I try to read real data into a complex variable using the following code: read(2) CFL%reread(2) W%re When doing so I get the following error:...

View Article

internal compiler errors (derived type bindings)

Dear all,I am posting two situations that rise internal compiler errors in the hope that it helps others to avoid lengthy and annoining searches for the cause of the compiler crash, and in case Intel...

View Article

Preprocessor directives not carrying through to INCLUDE files

I'm trying to implement code that takes two different paths, depending on whether a compile-time macro is set.  My source file (shortened for clarity): SUBROUTINE FFTCT(Z, N) #ifdef WITH_MKL USE...

View Article
Browsing all 2746 articles
Browse latest View live


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