Is it better to use "use only" when using module?
In my fortran program, there are hundreds of global variables, and they are all stored in a single module file. Then, I also have ~50 subroutines, each of which uses only some of the global variables....
View Articledeclared type and the issue of contiguous memory
Hello I know this a has been covered before, but I am specifically looking for two answers to my question. First Have a look at the following code program test implicit none type :: data integer ::...
View ArticleUnable to connect to Intel(R) Software Development Products Registration Center
when i install the Intel® Parallel Studio XE Cluster Edition for Linux* .At the first it work,but i lack of some lib,so i quit.at the second time i run install.sh,it display:Unable to connect to...
View ArticleWeird -qopenmp behavior
I have a very simple code: PROGRAM MAIN INTEGER*8 MBODY PARAMETER (MBODY=50000000) INTEGER*8 A(MBODY,4),B(MBODY,4),C(MBODY,4) INTEGER*8 I A=100 B=200...
View Articleliscence expired
My liscence for Intel Parallel Studio XE expired. It is a student version and cannot be renewed. How can I get a new liscence? Do I need to register a new product and reinstall it?
View ArticleIfort accepts invalid code
The code below discussed in an interp is accepted by ifort (as it is by nagfor and gfortran, but rejected by PGI fortran). According to J3, the codeis invalid:...
View ArticleGeneric assignment(=) in conjunction with allocation upon assignment and...
I got confused, when I tried to assign some derived type variable, for which there is a generic assignment(=) defined, to a "class(*), allocatable" variable. gfortran allocates upon assignment, but...
View ArticleAllocating parametrized declared type that is within a parametrized declared...
I have the following code which gives me a catastrophic error without mentioning what the error is:catastrophic error: Internal compiler error: segmentation violation signal raised Please report this...
View ArticleSet code coverage .dyn files to go to a different directory
I compile an executable using intel 19 with the options -prof-gen=srcpos -prof-dir=${BLDDIR}. When I run the program, the .dyn files end up in the ${BLDDIR}. The problem is that I use the same...
View ArticleBugs and ICE with transfer and character substring
I was writing a procedure to reverse characters on a string and found some bugs and even Internal Compiler Errors.Consider this case:program reverse implicit none character(20), parameter :: input =...
View Articleifort executes excruciatingly slow
I just installed the intel compiler and it is very very slow. If I just execute ifort to get the "you need to provide a file" message, the it takes 30 seconds: > $ time ifort ifort: command line...
View ArticleRecursive I/O operation error inside error handler
Is there a way to "terminate" an in-progress WRITE operation to a device? As noted in the summary, I have a program which is generating an array bounds error (#408) when building output for a WRITE...
View Articlealigned_alloc and ifort/icc v17
I have a code that wraps aligned_alloc C function using iso_c_binding in a module. This code, when compiled with gfortran v4.8 and newer, has no issues. However, compiling it with ifort (v17.0.1)...
View ArticleDifferent results getrf/getrs, dss and intel pardiso
Dear all,I have a small nonsymmetric linear system that is represented by a matrix in csr format (file fort.106). The task is to solve the system. To this end, I applied three different approaches. At...
View Articleifort omp reduction bug in versions 16.0 and 17.0
I would like to report a bug in the Intel Compiler/OpenMP implementation of ifort 16.0 and 17.0. I am not sure if it has been reported before, but I could not find anything on it. The file attachment...
View Articletype variable pre-allocated + error
Dear all,I am probably doing something that is not possible.I have created this variable in a general module: TYPE tresultVar REAL :: pmean ! posterior mean for variable i REAL :: PM(4) REAL :: pstd !...
View Articleiford 19.0 bug recursive derived type move_alloc
Hi,I get an error, when running the following program compiled with iford 19.0 without any compiler options on linux.! ifort (IFORT) 19.0.1.144 20181018 program ifort_bug_recursive_type_move_alloc...
View Articleiford 19.0 bug recursive procedure with optional, value dummy argument
Hi,I get a segmentation fault, when running the following program compiled with iford 19.0 without any compiler options on linux.! ifort (IFORT) 19.0.1.144 20181018 program...
View ArticleExpected Behavior for random_number() with Improper SEED array
What would be the expected behavior of random_seed and/or random_number if one were to pass as an array argument to random_seed a variable initialized as an array of size < N, where N is the value...
View ArticleExecutable not recognized by debugger
I have an executable generated by ifort (ver 19.0.0.117). The program runs just fine (on my Mac).file feaprecognizes the executable as: feap: Mach-O 64-bit executable x86_64When I try to debug the...
View Article