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 Articlestrange behaviour from 64-bit integer
I'm seeing a strange behaviour from int64 integer. Following code: use iso_fortran_env implicit none integer (int64) :: i i=2**32-2 write (*,*) "i, btest (i,0)" , i, btest (i,0) write (*,*) "i, btest...
View ArticleWarning : platform 'Itanium' not present
When I start a large mixed language solution I always receive a warning "platform 'Itanium' not present" from the two C/C++ projects in the solution. I was not able to find any reference to the Itanium...
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 ArticleQ re output arrays from functions ?
This could easily be done with a subroutine, with no problems - -I have three variable length arrays here,I want to add the contents of arrays A and B to get array C.The zeroth element tells the number...
View ArticleBuilding a static library from object files
Hello,We are using IntelVisual Fortran Composer XE 2011 (Update 7 Integration for Microsoft Visual Studio* 2010, 12.1.3518.2010) to create static libraries from object files previously generated. On...
View ArticleNumeric exception when calling pow-function
Hi,on some computers (not all) I get a numeric exception when calling the pow function (by using the ** operator) with a negative base(~ - 1.7) and an exponent of 0.75. I get this exception even though...
View Articleerror PRJ0019
Hello.After compiling with the Qprof-gen and runing, I tried to compile with Qprof-use and got this error:error PRJ0019: A tool returned an error code.Do you know what this error is? I'm using Visual...
View ArticleWith compiler 15 (Update 1), linker fails to recognize UNC path name in...
Has anything changed with respect to working with UNC path names (\\server\share\file_path) in LIBPATH input to linker toward building Fortran EXE projects between Intel Fortran Compiler 13 (version...
View ArticleCompiler Upgrade : Need to verify exe results ?
Hi experts,I'm planning to upgrade our fortran compiler from Intel Fortran Version 11.1.060 to the latest available. I will keep the same compilation flags. Is there a risk that the results of my...
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 ArticleEXECUTE_COMMAND_LINE
The fortran 2008 standard and ifort 15 have the EXECUTE_COMMAND_LINE intrinsic subroutine to run a system command. Also it has an option to run the system command asynchronously. There is no...
View ArticleC# WPF Calling DLL - Unhandled exception of type...
I have created a solution MYAPP. Within the solution I have a C# WPF (MYAPP) and a Fortran DLL (MYDLL). A wrapper class (MYWRAPPERCL) calls the Fortran DLL. When I attempt to call the DLL I receive...
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 ArticleCompiler 15, update 1 allows NAME= specifier in an ABSTRACT INTERFACE; is it...
As per the current Fortran standard (C1254), my reading is NAME= specifier should not be allowed in an ABSTRACT INTERFACEbut the compiler raises no errors or warnings with the following code: MODULE m...
View ArticleAny way to FORCE integer overflow checking ?
I have a program that gives mysterious results when the sizes of the integers get to be above a certain threshold.Finding where the overflow occurs is proving to be very elusive, since no trap is...
View ArticleCalling a dll from a dll
I need to break a library of functions into a number of separate dlls.How do I call a dll from within a dll?Can I do it within the same solution?Do I need to specify a library for the linker?Current...
View Articlechange COMMON to MODULE
We are using an old FORTRAN program which I am trying to set up to date.One of the main change is converting COMMONs to MODULEs.But most of the COMMONs include STRUCTUREs which are in an INCLUDE file...
View ArticleFile extension for free form, included code files?
My code uses extensively #INCLUDE statements for bits and pieces of code. Right now these bits and pieces are files with the extension *.f90. This allows Visual Studio (2013) to correctly perform the...
View Article