Fortran shared library for Python with use of OpenMP
Hello,I have a problem while making a shared library in Fortran to be loaded from Python. I've put together a minimal example to show the problem.The subroutine: subroutine sgesvf() bind(C,...
View ArticleHow to prevent Print statements from interfering with graphics?
I am working on a graphics APP, but I do from time to time have to insert Print statements, for user interaction,informational purposes, and for debugging.Despite my best efforts to keep the Print...
View Articleproblem with deferred assignment overloading
I believe the code below is "legal". However, ifort (14.0.1 20131008), with default options (i.e. "ifort -c") gives this error: ifort_reproducer_140226.f90(90): error #6197: An assignment of different...
View ArticleProblem with starting fortran compiler
Hi,I downloaded and installed Intel Visual Fortran Composer XE 2011 for Windows with IMSL for 64bit computer. Before that I installed MS visual studio 2010. Now, I can't start the compiler by visual...
View ArticleProblem with derived type i/o from 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 ArticleFortran C interoperability: Accessing constant variables (parameter) from...
Hi everybody,I've been using the Fortran-C interoperability features for some time now but always for accessing variables. I cannot figure out how to access a constant from inside a module. I have the...
View ArticleDeallocation 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 ArticleDebugging Intel® Xeon Phi™ Applications on Linux* Host
ContentsIntroductionDebug Solution for Intel® MICHow to get it?Why use the provided GNU* GDB from Intel?Why is Intel providing a Command Line and Eclipse* IDE Integration?Depreciation...
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 Article