Uniary operator following arithmetic operator
! (ifort version 15.0.0 or earier) ! I think it is a bad idea to extend the grammer of the arithmetic expression ! in Fortran langurage as the followings. ! Such functionality might look convenient at...
View ArticleHelp with Intel Fortran on OS X
Hello everyone!I am new in Intel Parallel Studio, and Trying to install and tune the 2015 version in a MacBook pro running Yosemite OS, for now the trial version.The dmg package is already installed...
View Articlehow can force idb to core dump ?
Is there any way to force idb to generate a new core dump file for the programmed being debugged? The new core dump should reflect the state of the file at the cursor location as I step though a file.
View Articlearray temporary
when I'm calling ZGEMV using the interface ZGEMV_f95, the following warning appears:forrtl: warning (406): fort: (1): In call to ZGEMV, an array temporary was created for argument #5forrtl: warning...
View ArticlePorblem/Bug for GET_ENVIRONMENT_VARIABLE with MPI
Dear Fortran !!In the following (a hello world kind) program, I try to read the processor's name where images are running.Each process can read the processor's name with a EXECUTE_COMMAND_LINE("echo...
View ArticleOOP fortran: can not make a subroutine execute different objects
I need some help please. In this code I create two objects (MM and FF) that extend an abstract object (MF). Then I have a subroutine (execute_MM_or_FF) that is supposed to handle both objects (MM and...
View Articlefort run out of comunicators with coarray fortran
Hi, I am running a coarray fortran application with intel fortran compiler ifort (IFORT) 13.0.1 20121010, and after some transfers between images, the code crashes with the error: Fatal error in...
View ArticleVAX parallel directives
I found a few places in my legacy code where the obsolete VAX "parallel directive" feature exists, e.g.:CPAR$ SOME_TEXTInasmuch as this is in a FORTRAN 77 fixed-format file, can I assume that this is...
View ArticleDifference in allocating array in subroutine make a code works or breaks
Hi,I am running a mpi CFD code in my sch's cluster using 100 cpu.Due to my program's structure, this is the max cpu I can use. At the same time, due to the number of grids using in my code, I am...
View ArticleIs fstack-protector-all supported on MIC?
I'm debugging a crash in my Fortran code, and would like to try stack protection.Is fstack-protector-all supported on the MIC platform? When I build with -mic -fstack-protector-all the executable...
View ArticleNon-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 mpiifort 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 Article