parallel calculation using a DLL
I have searched, with no success, an example of parallel computation where a called fundamental function is implemented in a DLL.I.e. the basic structure to be parallelized is:DO I=1,N,1CALL...
View ArticlePrefetchInsertionOpt="prefetchAggressive"
I'm trying to change a few compiler flags to get a faster run time on ifort 2015 Update 4, x64, on E5-2699v3 and E5-1650v3. I started with: <Tool Name="VFFortranCompilerTool"...
View Articlevisual studio question, line scroll up and down
My older versions of visual studio allowed scrolling the editor display up or down a line with control up and down arrow. Can Visual Studio 2012 do this? Control arrow doesn't do it, but are there...
View ArticleIs this standard Fortran 2008?
Is this code standard Fortran 2008?MODULE PRECISION IMPLICIT NONE INTEGER,PARAMETER :: DP = 8 END MODULE PRECISION MODULE M USE PRECISION IMPLICIT NONE INTERFACE REAL(KIND=DP) MODULE FUNCTION F(X)...
View Articlebinary compatibility
We have run into a problem installing multiple versions of our application which uses the Intel Fortran runtime libraries.The scenario is this. Application version 1 uses some Fortran dlls compiled...
View ArticleLinking .lib file with visual studio
I have a MAIN file that calls a couple of functions in a apples.lib file. I drag the oranges.f and apples.lib file into the solution explorer, under the "Source Files". After pressing "Build Solution",...
View ArticleHow to output a matrix without changing to a new line?
For exampleprogram main integer m complex cjj complex matrix(3, 5) cjj=(0.0, 1.0) matrix(1, :)=2*cjj matrix(2, :)=2+1*cjj matrix(3, :)=5*cjj+6 open(16, file='data.txt') do m=1, 3 write(16, *)matrix(m,...
View ArticleWhat VS displays when I hover over or click on a variable name
When I click on a variable name, the name is conveniently highlighted. I like this very much and have come to depend on it. But it doesn't always do this. It seems stop suddenly and randomly; for...
View ArticleCheck INCLUDE paths [IFPROT]
In a subroutine I use the SYSTEM-function. For that I had to "USE IFPROT". When I try to compile the subroutine, I get the error #7002: Error in opening the compiled module file. Check INCLUDE paths....
View ArticleLinker warnings LNK4006 and LNK4221
When I link my library I get many warnings LNK4006 "NULL_IMPORT_DESCRIPTOR already defined in kernel32.lib(KERNEL32.dll); will be ignored".The warnings seem to come from user32.lib, gdi32.lib,...
View ArticleC calling Fortran where an argument is a derived type
I have a Fortran subroutine which I want to call from C. One of the arguments is a derived type such as:type :: pprop real*8 :: x1 real*8 :: x2 real*8 :: x3 real*8 :: x4 end type ppropOn the C side,...
View ArticleInput data file with columns divided in blocks
Hello all,I need to read a 62x14 table which is generated by an external program. However the external program splits the table in two parts, showing the first 10 columns and the remaining columns just...
View ArticleSystem and SystemQQ: what am I doing wrong?
Hi,I want to do something that is quite simple (I reckon). I must go up one folder level, chdir to another folder and then delete one existing file in this latter folder. What I'm doing is the...
View ArticleFortran calling C++ stdcall DLL
Why can I link my Intel Fortran dll (sum_if.dll) to my Fortran (sum_test) but not my C++ one (sum_cpp.dll)? All are accepted as STDCAL DLLs by other software e.g. Excel VBA (in the attached...
View ArticleFree Intel Visual Fortran for students!
Intel Fortran is now available under a free, non-commercial license for qualified students on Linux, OS X and WIndows. See https://software.intel.com/en-us/qualify-for-free-software/student for more...
View ArticleModules and subroutines
Hello everyone,I am new to fortran.. I am facing difficulty in calling subroutine and module from main program. When I run the program , its gives error about line 95 d.sometimes it gives error SALFORD...
View ArticleDebugger jumps into memcpy.asm
I am just going through my program in debug mode. Currently I have the problem, that when a value is assigned to a variable, the debugger jumps into memcpy.asm. I don't want to see this!I think...
View Article!OMP SIMD useage
This useful new feature seams only possible on explicit do loops. Why was it not thought to be useful for implicit loops, i.e array assignment ? Is it too hard to implement ?
View ArticleLNK2005 error when compiling for Debug x64 (mixed C++/Fortran)
Hi all, I'm attempting to recompile a mixed C++/Fortran project for a x64 platform / Debug configuration but keep running into a LNK2005 error. The Fortran code is compiled to a static library while...
View ArticleManifest Tool: Same option settings, different command line
In two projects I have the same property settings of the manifest tool. Nevertheless I get different command lines. I have thought, the command line is just a summary of the settings. Am I wrong?
View Article