ICE: ifort-16.0 with -assume realloc-lhs
I recently upgraded to ifort 16.0 from ifort 15.0.3 for OS X and have encountered an ICE and also an unexpected segmentation fault. I experience the ICE when I have two derived types. The first is a...
View ArticleReferencing conditional logic
I have a .f90 file with dozens of subroutines, each of which require:#ifdef _WINDOWS #ifdef BITS64 use apm_mod_Win_x64 #else use apm_mod_Win_x86 #endif #else #ifdef BITS64 use apm_mod_Linux_x64 #else...
View ArticleUsing !$omp declare simd in an elemental subroutine
Quite recently (in May), I decided to update some of my codebase to use OpenMP 4.0 and, in particular, try out the "!$omp declare simd" directive. After a few teething troubles documented in a question...
View ArticleIs there any option in the intel fortran compiler (ifort) to compile and run...
I know that it is possible to compile in IVF from CMD by using the ifort command. However, that command only compiles and does not run the executable upon finishing compiling. The .exe needs to be run...
View ArticleFinalizer: only executed on scallar allocatable object.
In just want to confirm if this is the expected behavior of a finalizer.In the code below,module tes_final_mod implicit none type :: my_final integer :: n contains final :: destroy end type my_final...
View ArticleError:#11025 and #10014 in linux
My system is fedora 19 , the version is :Linux version 3.14.27-100.fc19.x86_64 (mockbuild@bkernel02.phx2.fedoraproject.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-7) (GCC) ) #1 SMP Wed Dec 17...
View Articlesystem crash when running dss on MKL_dss_indefinite
Hey there,my dss implementation freezes the whole system, probably due running out of memory, when switching from positive_definite to indefinite.The matrix provided to dss is 4x4, so not a big...
View ArticleBindings of types local to procedures can't find module procedures
If you have a module procedure that is explicitly marked PUBLIC, and you try and use that procedure for a binding for a type definition that is local to another procedure, then current ifort complains...
View ArticleUsing structure constructor for empty type as actual argument
If a structure constructor for an empty extension type is used as an actual argument to an polymorphic INTENT(IN) dummy of the parent type, then strange things happen.MODULE m IMPLICIT NONE TYPE,...
View ArticleGenerating SUBMODULE interfaces automatically
To reduce compile cascades I want to convert some MODULES to SUBMODULES. I have hundreds of subroutines and functions and this will not be a quick task without some automation of the process. I did...
View ArticleHow to execute an external batch file from Fortran with SYSTEM / SYSTEMQQ and...
Hello,I know there is available in the Intel Fortran Compiler a SYSTEM call or SYSTEMQQ logical function to be used for executing batch processes from CMD. However, the problem is that in either case...
View Articlecoarrays in common blocks
Hello,please, can somebody comment on the statement I found at several places that coarray cannot be a part of a common block?I would like to understand if there is a good reason for this...It...
View ArticleSUBMODULE error #6645: The name of the module procedure conflicts....
Loaded PSXE2016 start night and today had a first play with the much awaited SUBMODULES. consider the following code:MODULE BILL implicit none public integer, parameter :: axs6_irk = kind(1.D0) ! real...
View ArticleVS2013 strange behaviour/submodules/PSXE16.0
I am making some tests with PSXE16.0 using SUBMODULES. My test job exhibits some strange behaviour:1] On doing a successful build or clean then build if I do F5 to debug it says the exe is out of date...
View ArticleArray of structure of arrays in fortran
I have something like this - type output real(kind=8) :: array1(10,20,30) real(kind=8) :: array2(10,20,4) end type outputtype (output),save, dimension(54) :: array_oAlso, I have something like this -...
View ArticleTroubles migrating from Visual Studio 6.0 (Visual Fortran 6.6.0) to Visual...
Hello everyone,I’m developing an upgrade from Visual Fortran 6.0 to Visual Studio 2013. It is a dynamic library based on Fortran and C++ . The migration of the project is automatically made by VS2013,...
View ArticleWarning about misaligned elements in structure
The 16.0 compiler issues the following warning message about a structure:..\include\dmumps_struc.h(14): warning #6379: The structure contains one or more misaligned fields. [DMUMPS_STRUC] TYPE...
View ArticleOpen Source Downloads
This article makes available third-party libraries, executables and sources that were used in the creation of Intel® Software Development Products or are required for operation of those. Intel provides...
View ArticleWrong result with defined assignment operator and/or parenthesized...
As discussed also in this thread:https://groups.google.com/d/msg/comp.lang.fortran/8q2nYfHnZfU/M9FmGgx7AQAJifort produces wrong results with the attached code: the expected output is Case A: v1%x =...
View ArticleVisual Studio trying to re-link app when running it in debug mode
Hi there,I don't know why this is happening. I can successfully build a (VS) project consisting of two static libraries and one executable. I can run the (command line) app and everything seems OK....
View Article