Deallocation of allocatable class components of types
Consider this: module memory implicit none Type :: MyType real X(50000) end type type M class(MyType), allocatable :: mem contains ! final :: testfree end type contains ! subroutine testfree(this) !...
View ArticleCompilation of static librairies
Hi everybody,I have a question about the compilation of static libraries. I tried to compile my own static libraries on the graphic interface but I don't know how !Could you help me, please?Thanks a...
View Articleproblem with derived type I/O on internal file
I am trying out the derived type i/o available since version 14 of the compiler and running into problems when reading from an internal file. With the following code:module m_prb_dtio_1 type t...
View ArticleModule use another module?
I am consolidating parameter duplication in our code and have defined a parameter SDENW now in one module only, say module A. However this variable exists in module B too (not just as a parameter...
View ArticleHow to call Fortran routine in static library using C
What is the proper calling convention for a C routine to call a Fortran subroutine containing a character variable in the call list.Example C code: ... char *strng[1]; fsubr(strng[0]); ...Example...
View ArticleProblem with the start debugging
We are having trouble with pre-written Fortran code compile.When we open pre-written Fortran code,start debugging button isn't active(pic1) and when we copy entire code and paste new project page...
View ArticleIVF 11.1 + VS2008 debugger
VS2008 indicates all compilation errors occur at the last line of one source file in my project. I have tried restarting devenv with different switches (/resetsettings, ...) but it does not resolve the...
View ArticleQuestion about UEL in ABAQUS
Hi everybody,I have a UEL for truss element (T3D2). I'm calling and reading some .dat files inside of the UEL. I'm just reading these files inside of the UEL without doing anything to them or with them...
View Articleerror #8127
Dear all,I am having a problem while I am trying to run my program as debug. I am facing the following error: error #8127: A null argument is not permitted when calling a Fortran routine which has an...
View ArticleCan you use Intel Fortran and MS C/C++ together?
Found this surprisely hard to get an answer for. I already have MS Visual studio for C/C++/C# programming. I recently purchased Intel fortran and it installed happily into this environment. I have a...
View ArticleCompiler bug - floating point invalid
The following code produces a floating point invalid error at run-time when using the flags -O2 -fpe0 -fltconsistency: program example integer, parameter :: leng = 300 real (kind = 8), dimension(leng)...
View ArticleDifferent results with 32 bit and 64 bit executables
Hey guys,In general, given a Fortran application, should differences between the 32 bit and 64 bit results be expected? If all calculations are single precision, it seems that differences can arise in...
View ArticleMemory allocation leads to significant loss of performance
Hi, I found a very strange thing: adding more memory allocations leads to significantly more data load instructions and CPU_TIME. I know this sounds weird so I posted the code below to illustrate my...
View ArticledlgModeless won´t work - sometimes
In my QuickWin program I display a dialog byl=dlgModeless(dlg)But sometimes the dialog won´t come up. The thread seems to be stuck somewhere inside dlgModeless, no error message is being given....
View ArticleRequired run-time libraries for Windows DLL
Hello!I'm building a Fortran Windows DLL with the Intel Fortran Compiler XE 13.1 integrated in MS Visual Studio 2012. This DLL will be part of a Windows application developed in association with a...
View Articleerror #6634
Dear all,What do you think thac causes this following error:error #6634: The shape matching rules of actual arguments and dummy arguments have been violated. Thank you all!
View ArticleopenMP - Handling global variables in fortran
Hi, I am trying to parallelize a code that is already written and contains close to 102 subroutines in the function I am trying to parallelize. In the process I saw that there were many global...
View Articlehow can I debug the main code with an input file
I am new for Intel Visual Fortran Compiler. I have a Fortran code which include a main code and a input code, the main code can compile to a .exe file and then read the input file to get necessary...
View ArticleProgram triggering a breakpoint when exiting a function that convert 2-d char...
I have a Fortran program that talks to a dll that is written in C++. The Fortran program is crashing on Windows only when it comes out of the function given below. It works fine in Linux and Mac OS....
View ArticleHow to get window handle of main dialog box
I am writing QuickWin console application and cannot figure out how to get the window handle of my main (modeless) dialog box (which I call IDD_DIALOG1). I know how the get the handle for dialog...
View Article