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, winspool.lib, comdlg32.lib, advapi32.lib, shell32.lib ...
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. [IFPROT]
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 example when I change from one source file to another, or after a debug run. Sometimes it works on some tokens but not others; other times it works on all of them even in the same file. Sometimes I can close VS, fire it up again, and it will be working. But not always.
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", 3 errors come up : "Fatal error LNK1120: 2 unresolved externals", "error LNK2019 : unresolved external symbol ABC referenced in function _MAIN__", "error LNK2019: unresolved external symbol XYZ in function _MAIN__".
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 with a 2013 Fortran version. The install for this application thus uses the runtime libraries from 2013 Fortran (Version numbers vary here a little, but in general the binaries have major version number 14).
Imagine yourself in a brain storming session with your colleagues. You have an idea for the next hit mobile application. You know what features you want to implement. You know your target user. At this point your requirements are starting to become defined.
But there is a problem: what platform? What architecture? What operating system? As a developer, you want your brilliant application to be enjoyed by all. In a market where there are countless platforms and many prominent OS choices, it’s difficult to choose how to approach the problem.
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) REAL(KIND=DP),INTENT(IN) :: X END FUNCTION F END INTERFACE END MODULE M
I have another compiler who complains that DP in the "REAL(KIND=DP) MODULE FUNCTION F(X)" statement is not defined.
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 other hotkeys that do, or can these commands be assigned to these keys?
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" SuppressStartupBanner="true" MultiProcessorCompilation="true" Optimization="optimizeFull" GenAlternateCodePaths="codeForCommonAVX512" IntegerKIND="integerKIND8" RealKIND="realKIND8" LocalSavedScalarsZero="true" FloatingPointExceptionHandling="fpe0" FloatingPointModel="source" FlushDenormalResultsToZero="true" Traceback="true"/>