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

Passing a two-dimensional dynamic array from CPP to FORTRAN

Hello,Can't run a mixed language program with dynamical array.CPP call FORTRAN  as listed below.CPP main program calls a fortran sub with the dynamic 2d array passing.Compiling and linking phase was...

View Article


SEGFAULT during call to DPOSV from MKL library

Hello,I am compiling and running the following code:program bug implicit none INCLUDE 'mkl.fi' integer*4, parameter :: Npart=25 real(kind=8) :: u(1:Npart), lapackab(1:Npart,1:Npart) integer*4 :: i, j...

View Article


Using larger array in a Fortran subroutine

My Fortran code is below(test.f):subroutine sub(n1,n2,wa) implicit none integer, intent(in) :: n1, n2 real(4), intent(inout) :: wa(1_8:1_8*n1*n2) integer(8) :: i, j, ms print*, 'in sub, 1_8*n1*n2=',...

View Article

renewal issue

Hi,my non-commercial license for Intel Parallel Studio XE 2017 Update 2 expired in Apr 2018. Looks like no renewal is allowed. I tried to register for a new license (for students) and got no e-mail...

View Article

Set kind of user derived type at runtime

I am trying to figure out the correct methodology for setting a user derived type variable at runtime based on some user input.  The following would be a very simply example of two user derived types:...

View Article


INQUIRE does not recognize file mode bits

Using:OS: Linux 4.16.13-300.fc28.x86_64 #1 SMP Wed May 30 14:31:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux (Fedora 28)Shell: GNU bash, version 4.4.19(1)-release (x86_64-redhat-linux-gnu)Compiler:...

View Article

Internal compiler error, 101004_1855

I am getting an internal compiler error using ifort. Version information:Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.2.199 Build 20180210Output:mpiifort...

View Article

Ifort activated optimization flags with the -O1 option

Hello,I am facing a strange behavior in terms of cumulated CPU time for a F90 code, which is radically changing when I am compiling it with O0 or O1 options. After reading the doc, I did not have seen...

View Article


Image may be NSFW.
Clik here to view.

Problem with ifort 2017 and 2018

Dear colleague,I am encountering a problem with the IFORT 2018 compiler when I run the attached program (that has been extracted from a much more sophisticated project). The array named Kinetic is...

View Article


initialize Variable in declaration section of a Subroutine

When I initialize a Variable in a Subroutine within the declaration section, the initialization is just executed in the first run of the Subroutine. In the second run, the old (saved?) value is used....

View Article

Regression in ifort19: seg fault on allocatable array operations

Unfortunately, there was quite some regression in the beta release of ifort v19 which lets ca. 10 of our unit tests and ca. 20 of our functional tests fail with segmentation faults. We think/hope that...

View Article

Intel Parallel Studio XE 2019 Beta Update has been released

Visit https://software.intel.com/en-us/articles/intel-parallel-studio-xe-2019-beta for more information and to register for the Intel® Parallel Studio XE 2019 BetaOverview:Switched to libfabric-1.6.1...

View Article

bug with copying a large array

Hi,I found a problem with ifort 18.0.3 on a x86_64 machine.  This codePROGRAM bug IMPLICIT NONE INTEGER(SELECTED_INT_KIND(9)) :: i INTEGER(SELECTED_INT_KIND(18)) :: nobs,k8=10000000,i8 INTEGER,...

View Article


Why intel denied my request for Parallel Studio XE Cluster Edition for Linux

I use a University email address to request it, why intel denied mine? 

View Article

ifport module raise EOF error message

Hello,In my fortran code, I am using ifport module (`use ifport`); but I get the following error message when compiling with GCC-6.3.0:        Fatal Error: Reading module 'ifport' at line 1 column 2:...

View Article


error building pnetcdf 1.9.0 by impi-2018

I am trying to build the pnetcdf 1.9.0 with shared enable by impi-2018: source /users/home/opt/intel/parallel_studio_xe_2018.3.051/bin/psxevars.sh intel64 MPIF77=mpiifort MPIF90=mpiifort MPICC=mpiicc...

View Article

Error compiling using openMP threadprivate feature in Fortran

Hello,I encounter an error when compiling my software when activating openMP. This is a small program showing what I want to do :program test_threadsafety use omp_lib implicit none integer :: i, nb nb...

View Article


Image may be NSFW.
Clik here to view.

Crash with allocatable structures in OpenMP loop

Hi,running the attached OpenMP code with ifort 18.0.3 results in a segmentation fault:$ ifort -fopenmp gtemplate.f90 -o gtemplate && ./gtemplate forrtl: severe (174): SIGSEGV, segmentation...

View Article

yet another bug(??) in parameterized derived type

Hi allwhen running this code:Module testmod Private Type, Public, abstract :: myroot(k) Integer, kind :: k End type myroot Type, Public, extends(myroot), abstract :: myvec Integer(kind=8) :: lb1=1,ub1...

View Article

How to check if a module is being used?

I would like check if a module is being used, and use conditionals to execute different commands. For exampleif (mod_algorithm_1_is_used) then call algorithm_one() else call algorithm_two() endifIs...

View Article
Browsing all 2746 articles
Browse latest View live