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

[DEADLOCK] in target regions using OMP parallel and parameters

Look at the following code:subroutine changeDevice2(vals,xMax,val) implicit none integer :: xMax, val, i integer, dimension(xMax) :: vals !$omp target !$omp parallel do do i=1,xMax if(vals(0).EQ.val)...

View Article


Segmentation fault whith OMP 4.0 map of larger array

When trying to offload an array that exceeds a specific size, the program fails with "offload error: process on the device 0  was terminated by signal 11 (SIGSEGV)"Here is some test code. The first...

View Article


QSORT Problem

UBROUTINE call_qsortI'm having some problems with the QSORT subroutine. I have some code along the lines of the given below. The user-defined ordering function is called "compare".    SUBROUTINE...

View Article

Fortran Preprocessor: #endif creates a blank line

Hi ,I have a quick question regarding the #ifdef and #endif for preprocessing. I have the following code piece in my fpp file:#ifdef USE_SIMD !DIR$ SIMD #endif do i = is, ie dF(i + offset_kj) = dF(i +...

View Article

CALL for attention and discussion: recent paper comparing an equation solver...

Fortran enthusiasts may have seen and/or be interested in the findings and observations in a recent open literature publication by Arabas, et al. at the Institute of Geophysics at the University of...

View Article


ifort-14.0 -cpp not referentially transparent

$ cat macro.F90 #define X_LT(a) (a < 3) #define X_GE(a) (!X_LT(a)) #if !X_LT(3) #warning no problem here #endif #if X_GE(3) #warning "syntax error" with ifort, not with gfortran #endif $ ifort -c...

View Article

!$OMP SIMD or !DIR$ SIMD ?

Hi,I have two quick questions regarding using SIMD directives.(1) I am currently using !DIR$ SIMD to help the compiler to vectorize the loops. But I just noticed that in OpenMP 4.0 we have the...

View Article

ifort 11.1 and O2 optimization: wrong results

Dear all,The code in question:!################## ! MODULE FOR TYPES !################## MODULE mod_types  IMPLICIT NONE  PRIVATE  PUBLIC :: type_glob, type_geom, type_edge  !-------------  ! Type node...

View Article


Image may be NSFW.
Clik here to view.

Deferred length string component: segmentation fault

In a project I am working on, I changed a fixed length string in a structure within a module to a deferred length string and the result was an internal compiler error (the code compiled and ran without...

View Article


inconsistent treatment of TYPE vs. REAL in 'stream' write with Intel...

I'm seeing different bit patterns when I write a REAL variable to file as component of a TYPE as opposed to when it's just a REAL in stream output while using the -convert big_endian option. Given the...

View Article

Segmentation fault whith OMP 4.0 map of larger array

When trying to offload an array that exceeds a specific size, the program fails with "offload error: process on the device 0  was terminated by signal 11 (SIGSEGV)"Here is some test code. The first...

View Article

QSORT Problem

UBROUTINE call_qsortI'm having some problems with the QSORT subroutine. I have some code along the lines of the given below. The user-defined ordering function is called "compare".    SUBROUTINE...

View Article

Fortran Preprocessor: #endif creates a blank line

Hi ,I have a quick question regarding the #ifdef and #endif for preprocessing. I have the following code piece in my fpp file:#ifdef USE_SIMD !DIR$ SIMD #endif do i = is, ie dF(i + offset_kj) = dF(i +...

View Article


CALL for attention and discussion: recent paper comparing an equation solver...

Fortran enthusiasts may have seen and/or be interested in the findings and observations in a recent open literature publication by Arabas, et al. at the Institute of Geophysics at the University of...

View Article

ifort-14.0 -cpp not referentially transparent

$ cat macro.F90 #define X_LT(a) (a < 3) #define X_GE(a) (!X_LT(a)) #if !X_LT(3) #warning no problem here #endif #if X_GE(3) #warning "syntax error" with ifort, not with gfortran #endif $ ifort -c...

View Article


!$OMP SIMD or !DIR$ SIMD ?

Hi,I have two quick questions regarding using SIMD directives.(1) I am currently using !DIR$ SIMD to help the compiler to vectorize the loops. But I just noticed that in OpenMP 4.0 we have the...

View Article

ifort 11.1 and O2 optimization: wrong results

Dear all,The code in question:!################## ! MODULE FOR TYPES !################## MODULE mod_types  IMPLICIT NONE  PRIVATE  PUBLIC :: type_glob, type_geom, type_edge  !-------------  ! Type node...

View Article


Image may be NSFW.
Clik here to view.

Deferred length string component: segmentation fault

In a project I am working on, I changed a fixed length string in a structure within a module to a deferred length string and the result was an internal compiler error (the code compiled and ran without...

View Article

inconsistent treatment of TYPE vs. REAL in 'stream' write with Intel...

I'm seeing different bit patterns when I write a REAL variable to file as component of a TYPE as opposed to when it's just a REAL in stream output while using the -convert big_endian option. Given the...

View Article

Different results with -O0 -openmp or -O3 -openmp

Hi all, I developed a FORTRAN (F90) code (its a large model) with the following compilation flags :ifort -g -O0 -openmp -openmp_report -threads -ipoWhen running this code with the above flags, I keep...

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>