Delay load DLL
I am looking at the delay load example under DLL\DLL in the samples in 11.1.065.This has pointer (p_SET_VENDOR_KEY, SET_VENDOR_KEY) INTERFACE SUBROUTINE SET_VENDOR_KEY(VENDOR_KEY)...
View ArticleToday's silly code ICE
Slightly modified variant of the example from F95/000030. If you add the MODULE keyword to the procedure statements inside the interface block the ICE goes away and the code compiles (the interp,...
View Articleloc intrinsic function returning negative integer on 32-bit Win7
Greetings!I am running the following code on a 32-bit Win7 machine with /3GB option enabled. The code is compiled with option /largeaddressaware.integer(8) :: locarr ! allocation is successful and...
View ArticleUndefined array/pointer problem
I have a strange problem in a subroutine of my code: I have defined an array which is defined as the variable of my subroutine and all the other routines that call the current subroutine (means I...
View ArticleProgram Running Twice - Win 8
Hello.I'm running a numerical method on my fortran compiler, the only problem so far is that the code is executing twice on a row, which is really annoying. I took a quick search on forums and google...
View Articleinternal compiler error
Hi everybodyI need your help.it is very necessary for me.I have writen my code in compaq visual fortran.my problem is that I export three matrices from maple and use them in fortran program.my matrices...
View ArticleVisual Studio 2012 Call Stack window displays "unknown" as Language for Fortran
Hi,I'm using Visual Studio 2012 Update 4 with Intel Fortran 14.0.4.237 on Win64. When debugging, the Visual Studio "Call Stack" window displays the language as "unknown" for all Fortran routines....
View Articleproblem installing Intel Visual Fortran Studio XE 2013
Hello everybodyWe just bought the Intel Visual Fortran Studio XE 2013 for Windows but we have not been able to install it to the level of getting the compiler to work.Sorry for asking such a general...
View ArticleTrace function gives no line numbers or source information
Hello everyone,When I compile a program with the -Qvec-report0 -check:all -debug:full -traceback options I get the following Trace window when a error occurs in the code. However the trace windows...
View ArticleWindows 10 Preview and Fortran
So my desktop box that is super fast and that is usually used for playing music has not been reformatted in years and I was getting an error that was problematic.So I pulled the hard drives out and put...
View ArticleDynamic Libraries and Modules
Hello,I am trying to call procedures defined in a module in a dll that I created myself. I am mostly following the instructions that I found here. In particular, for 'simplicity' purposes, I am trying...
View ArticleQ about passing array boundaries or sizes
Suppose I have this:integer x(100)call xprint(x(23:70) )endsubroutine xprint(x)integer x(*)end subroutineNormally I would have to ALSO tell it how many elements of X to print.But I was wondering if...
View ArticleWin32/x64 checking current executable??
I have a test program that I use to test all of the calls in my DLL app.Currently, this is a Win32 program calling a Win32 DLL - all good.I now want to use the same code, built as x64 to test the x64...
View ArticleBogus warning about popcnt with /stand:f08 in VFC 2013
The trivial program below compiled with Intel Visual Fortran Composer 2013 gives a bogus warning when /stand:f08 is used (Fortran 2008 introduced the Popcnt intrinsic). Warning 1 warning #7416: Fortran...
View ArticleDifferent results from Debug and Release builds of the same code
Hello,I have a time-marching solution to a non-linear PDE using Newton-Raphson iteration method, and once in a while the debug version will not converge while the release version will, or the release...
View ArticlePolymorphic array - Assign elements of different types
Hello Forum!Let's say I have a supertype like this type, public :: supertype character(len=:), allocatable :: id character(len=:), allocatable :: type contains end typeand multiple subtypes like these...
View Articlepreprocessor directives for gfortran and Intel
I help to develop a Fortran/C/C++ open-source project (open-fvs) that builds on Unix, MinGW and VisualStudio/Intel Fortran tool chains, based on cmake tools. I've been stumped by a recent Fortran...
View ArticleDynamic Allocation
Good morning,I would like to know what is the reason for the following:I am dynamically allocating some arrays in my code as:allocate(dzgpbp(Nzbpg), STAT = AllocateStatus) if (AllocateStatus /= 0) STOP...
View ArticleTrouble reading a csv file
Comma-separated-values are frequently used in my work, as for example Excel (and other modern languages) are very handy at reading them. In Fortran it is not so easy. I try list-directed input, which...
View Articlerecursive subroutines and significant slow down
I am working on a code that is used as a user-subroutine for a commercial finite element software. The code gets compiled to a dll file and loaded by the commercial software during runtime. The code...
View Article