Incorrect value when using shared libraries, COMMON, EQUIVALENCE and C
This example builds off the problem reported in https://software.intel.com/en-us/forums/topic/591342 (This problem is still there for this example)The problem might also be related to the one reported...
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 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 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 ArticleFORTRAN shared module data in a DLL
This topic has appeared in several posts, but I am having trouble making a slightly different implementation work and could use some help.I have a FORTRAN simulation that must dynamically allocate a...
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 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 ArticleMore submodule head scratching.... functions with result() array
Consider: ! the interface part in the module which compiles OK module function double_it(A) REAL(KIND=IRK), intent(in) :: A(3) REAL(KIND=IRK) :: double_it(3) end function double_it ! the implementation...
View ArticleFINAL routines in Fortran 2003
I am having some trouble understanding the need for and use of FINAL routines in Fortran 2003. I have a TYPE (or CLASS) which has a second TYPE extending it. The second TYPE and the first TYPE each...
View ArticleLicense Number?
I have Compac Visual Fortran Professional Edition for Win32x86 Systems version 6.6A that I haven't been using lately, and I have a new computer and harddrive and am currently running 32 bit Windows 7....
View ArticleProblem running a static library
Hello,I have an Intel Fortran project that works fine and produces the expected results. But, once I create a static library and test it in another project, I get an access violation problem. I will...
View Articleold version
Goo day, I am PHD student and i was urgently need Intel Visual fortran 11.1.0.067 for interfacing matlab to PSCAD as per PSCAD instructions.I just need to check with trial version.Thanks for your help
View ArticleInstalled to AUS notebook with Windows 8 compiler does not work
I have installed Intel Compiler for Windows v.10 to ASUS notebook with OS Windows 8.1.IT does not work. When I try to run some simple program (chit.f90)The message was the followingLINK: fatal error...
View Article