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

Access a C library interface from F90 using iso_c_binding

So, I am trying to access a C function from F90, with the following code:SUBROUTINE sub1() USE,INTRINSIC :: iso_c_binding ! interface to c library INTERFACE ! library function prototype ! DBfile...

View Article


Deallocated pointers still have old shape specifications

I found it odd that deallocated pointers still have their shape information, even though "associated" returns .false. I suppose I expected to get an error, or at least zeroes. Is there a good reason...

View Article


Intel Fortran Error

Error: A license for FCompW is not available now (-96,491).A connection to the license server could not be made. You shouldmake sure that your license daemon process is running: both anlmgrd.exe...

View Article

Coarrays and defined assignment

I don't think that this is right!  It's not polymorphic ....MODULE Assign    IMPLICIT NONE    INTEGER :: factor    TYPE, PUBLIC :: Mytype        INTEGER :: comp = 123    CONTAINS        PROCEDURE,...

View Article

-axAVX build crashes in Non-AVX Intel processor

Hi,I need to build with option -axAVX using Intel compiler(ICPC C++ compiler),so that i can run on AVX supported Intel processor and also in non-AVX Intel processors.I was able to build...

View Article


coarray mpd error

The hello work coarray code 1 program Hello_World 2 implicit none 3 integer :: i ! Local variable 4 character(len=20) :: name[*] ! scalar coarray, one "name" for each image. 5 ! Note: "name" is the...

View Article

the influence from the option -no-vec -no-simd

 HI, Could someone tell me the differences between compiler option -no-vec and -no-simd?Do I have to use both options to disable auto-vectorization from the Intel Compiler for some specific files?If I...

View Article

Inconsistency between arguments, Valid ?

Hi,I'm wondering is the following code is valid.I'm defining a type bound procedure which has 2 argument:the passed-object dummy argument with the attribute 'intent(inout)'a integer variable with the...

View Article


Coarrays and allocatable components again

This may overlap with previous issues, but is simpler.PROGRAM Main    TYPE :: Mytype        INTEGER, ALLOCATABLE :: ptr(:)    END TYPE Mytype    TYPE(Mytype) :: coarray[*]    ALLOCATE(coarray%ptr(3))...

View Article


Assignment overloading of the form scalar = vector(:)

Hi,I'm having trouble to define a overloaded assigment using:a scalar variable on the left-hande side anda 1d array on the right-hand side.In other words, I want to do scalar = vector(:).Is this even...

View Article

Difficulty of compiling fortran code while linking with mkl

Hi,I have been trying to compile my fortran code, where I am using a couple of mkl functions such as dss solver, MKL_DCSRMULTCSR, MKL_DCSRGEMV, etc. Previously I had a similar code, from which I was...

View Article

How to Link Against STATIC libc on Ubuntu 13.10

 I have been able to get digit for digit identical results on Ubuntu 13.10 x64 vs. Windows, if I compile my code like so: ifort -zero -traceback -static-intel -i8 -O2 -axAVX -ftz -fpe0 -fp-model source...

View Article

How to declare `interface` block for MKL functions?

Hi, The following code was successfully compiled but returned wrong result:program main use, intrinsic:: iso_fortran_env, only: INPUT_UNIT, OUTPUT_UNIT, ERROR_UNIT implicit none interface ! returns...

View Article


Debugging in v15 beta

Is this the right place to ask about debugging in the v15 beta product? I've tried premier support but it says the product is no longer supported.Thanks.

View Article

Error installing on Ubuntu

Hello,I am unable to install Intel Fortran Compiler XE for Intel(R) 64 component on Ubuntu 14.04. It says 'Unsupportted OS' at first. However, if I ignore and continue, select Intel 64 architecture, at...

View Article


compiling with -ipo takes too much time

Dear all,I am using the following compile line for my makefile however -ipo options takes far longer than without -ipo, what is the reason of this behavior?ifort -ipo -prec-sqrt -prec-div -fp-model...

View Article

AVX instruction using xmm ?

 Hi,I have a question about AVX instruction. I compiled my code using ifort 13 with -O2 and -xHost. I want to enable 256-bit wide AVX to perform four 64-bit floating point operations per cycle.Here is...

View Article


best ifort equivalent flag to gfortran -O3 -ffast-math?

Hi to everyone,I am parallelizing a MC code written in Fortran using OpenMP. During the development process I used the Parallel Studio Suite with great success (really, I would not be able to do it...

View Article

Volatile coarrays

The compiler does not seem to be honouring C560 "The VOLATILE attribute shall not be specified for a coarray that is accessed by use (11.2.2) or host (16.5.1.4) association."  This is the clearest...

View Article

BLOCK construct

This does not appear to be supported.PROGRAM Main    INTEGER :: x    BLOCK        VOLATILE :: x        x = 0    END BLOCK END PROGRAM Maingerbil.f90(3): error #5082: Syntax error, found...

View Article
Browsing all 2583 articles
Browse latest View live


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