Non-scalar pass-object dummy arguments
Hi,I am trying to use type-bound procedures (TBP) with non-scalar pass-object dummy arguments. Although not valid from the standard (C461: "The passed-object dummy argument shall be a scalar,...
View Articleoptimization help/vectorization/SIMD questions
Hi,Consider the following code snippet: do i = 1, size(rhs,dim=2) if (n == biggest_int) exit !Overflow! n1 = n n = n + 1 n1on = real(n1,WP)/real(n,WP) ! Add SIMD dir? !!!!DIR$ SIMD PRIVATE(p,k) do...
View Article"Stack trace terminated abnormally": what does this mean?
Hi,running a code compiled with -check all I see various warnings concerning the creation of some temporaries (I know about them and I am fine with them) and somehow interspersed in the ouput various...
View ArticleHow to enforce inlining ?
Hi,My code involves a derived-type variable (denoted 'Object' hereafter) holding another derived-type variable as a component (denoted 'SubObject').The SubObject has a type-bound procedure for...
View ArticleCustomizing Makefile for the programm using Fortran Compiler.
Hi!I'm trying to define the makefile for compiling the programm in Linux that uses Fortran Compiler. In the programm manual it is written that it requires FORTRAN90 compiler and MPI. I've installed...
View ArticleHave input variables from header file be recognized as initialized variables
Hey,I am currently debugging my code for a runtime error (invalid pointer) but the compiler does not give me valuable information for locating this error even with -traceback. I am therefore make use...
View ArticleQuestion: Reading a large column (1D-array) and writing slices of this array...
I am trying to read a large single column (which I am trying to read in as a 1-D array), and then to write slices of this array as rows until the end of the data. Please suggest me the best way to...
View ArticleOptimization flags documentation
Hi,Where can I get the documentation of the optimization flags and explanation for ifort and mpiifor 15.0.1.Thx.
View Articlevtune_amplifier_xe_2013 + how to compile
dear all,I have vtune_amplifier_xe_2013, I used it one year ago to analyze the CPU time in my program. I remember that it produce the files: .dump and .xmlI do not remember anymore how to compile the...
View ArticleConvenience libraries, ipo, and unresolved references
I am attempting to recompile code that was written using GNU tools, including autotools. In the makefiles, I make a lot of use of so-called convenience libraries, or local static libraries that are...
View ArticleIncorrect result with COUNT in initialization expression
I found that Intel Fortran 15 gives incorrect results with the COUNT intrinsic in initialization expressions. Consider the following program:program count_bug implicit none integer, parameter ::...
View Articlecompilervars.sh destabilizes my linux environment
I have tried to install Intel Composer XE 2015.0.090 in both OpenSuse 13.1 and Ubuntu 14.04 LTS environments. In both cases I have followed the instructions here...
View ArticleIntel Ifort 15 + OpenMPI 1.8.4 + OpenMP= instantaneous segfault
Hi,using Intel ifort 15, I compiled OpenMPI 1.8.4 using the following configure line:../configure --prefix=<path to installdir> --with-openib --with-sge CC=icc FC=ifort CXX=icpcUnfortunately,...
View Article-qopt-matmul with -mkl=sequential
For ifort 15.0.1.133, it appears that when -qopt-matmul is specified, the multi-threaded MKL will be used regardless if -mkl=sequential is also specified.Consider the following MATMUL benchmark code,...
View ArticleRun-time error when opening/reading an ASCII file
I am compiling a large program, which depends on several external Fortran and C libraries, on a Mac OS X 10.9.5 with Intel Fortran Compiler 15.0.1. I get a run-time error when opening an external...
View ArticleFormat syntax error
In my application I obtain a format syntax error, but I do not recognize why.I created a minimal example:program test implicit none character(len=200) :: formatstr character(len=*), parameter ::...
View ArticlePerformance problem between ifort 12.1 and ifort 15.0 on the same code
Hi,I compile the following small code with "-O3 -shared-intel" on three different clusters:cluster1: Intel(R) Xeon(R) CPU X5675 with ifort 12.1.0cluster2: Intel(R) Xeon(R) CPU X5650 with ifort...
View ArticleBug with USE renaming, inlining, and optimization report
I believe I found a bug with the Intel 15.0 compiler where a USE-renamed subroutine shows up in the optimization report under the USE-renamed name, rather than the subroutine's actual name. I'm not...
View Articlecreating a batch file within FORTRAN
I have a set of output files that are created by a FORTRAN program in a directory, with which I would like to perform a set of operations such as copy, rename, and execute another FORTRAN executable...
View ArticlePASS attribute and parameterized derived types
Hi,I get the following error when I compile pass_pdt.f90 (attached):pass_pdt.f90(28): error #8262: For a type-bound procedure that has the PASS binding attribute, the first dummy argument must have the...
View Article