Writing into a data file
I have the following code which is supposed to write a <LF> between two text strings in the output file (which is a CSV file for reading into Excel):n1 =...
View ArticleError LNK2019: unresolved external symbol _Invert_LaplacianZBCS referenced in...
Hi,I got this error when trying to call a C function in Fortran. The C prototype of the function is void Invert_LaplacianZBCS(double *t,int nx,int ny);I built an interface in my...
View ArticleLNK4099 PDB vc100.pdb' was not found - nothing works. Intel fortran evaluation
I am evaluating Fortran Composer XE 2013 SP1 and trying to look at the debugger. This is a fortran project converted from Compaq Visual fortran. All sorts of problems trying to look at variables, but...
View ArticleMSV not recognizing fortran compiler
My company recently migrated all laptops to Windows 7. when they reinstalled Microsoft Visual Studios 2008 Version 9.0.21022.8RTM and Intel Visual Fortran Compiler 9.1 I no longer can find fortran on...
View ArticleError - closes program and returns to Visual Studio
I am running a complex program and I'm getting an error - the program just closes. The program normally works but in this case it is using more data than normal. I thought if I run it within Visual...
View ArticleExecutable-of-Interest process ID for Problems
Hello,We have a Python script running same executable with different parameters. So we set up our command-line:/opt/intel/inspector_xe_2013/bin64/inspxe-cl -collect mi2 -user-data-dir...
View ArticleError optional arrays
Dear all,I stumbled upon a compiler-error (or is it a restriction in the standard?) with passing optional arrays in mixed assumed- and explicit shape. module m implicit none contains !...
View ArticleReferencing a function from outside as well as inside when creating a DLL
I am creating a DLL.I have a function that will be referenced from outside as well as inside.For it to be referenced from outside, I have used DLLEXPORT. But then the inside referenced don't link and...
View ArticleUndefined Reference to Intrinsic Function NORM2_
I am trying to compile some FORTRAN code using this command:ifort -fPIC *.o -L./ libmylib.a -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -o outfile And I am getting an error: "undefined...
View ArticleDoes Static Library need to export functions?
I have inherited a VS 2005 solution which contains a C dll project and a Fortran static library project. The C dll project requires the Fortran routines. I have updated the solution for VS2010.The C...
View ArticleEffeciently parallelizing the code in fortran
Hi, I am trying to parallelize a certain section of my code which is written in fortran. The code snippet looks as below: do i=1,50 j = K ... if conditions on K... ....write and reads on j... ... do...
View Articlelarge data sets with OMP
Hi,I have a long-running program (many days) which uses many (20 - 40) OMP threads. It uses a large amount of input data, which is fixed during execution. I've run into the 2 Gbyte stack limit issue...
View ArticleWindows errors for valid Fortan io
I have converted an application with an awful lot of user interface from QuickWin to Windows and am currently at the testing/fixing phase. As such I have a custom error trapping routine inserted all...
View ArticleFormat for DLL calls
My applications are DLLs intended primarily to be called from Excel/VBA, and so my entry points look like:Subroutine WaterSatDensity_F(TempC, Value, Units)!DEC$ ATTRIBUTES DLLEXPORT, STDCALL,...
View ArticleC_NULL_PTR is passed incorrectly with -standard-semantics option
The following example calls a C function with a void* argument, first passing an associated TYPE(C_PTR) actual, and then passing C_NULL_PTR. When compiled with ifort 13.1.2 and the -standard-semantics...
View ArticleIMSL and MKL selection from compiler directives
I'm using Intel Visual Fortran v.11.1.065 under Windows 7 64 bit. What I want to make is related with compiler directives, especially for math library. Here's my idea :1. There exist two kinds of...
View ArticleDEALLOCATING DATA TYPE POINTERS
Just a general coding question regarding data type pointer variables.My question is for pointer data types that contain allocatable arrays such as the following example: C DATA TYPE DECLARATION IN A...
View Article•Intel(R) Fortran Compiler for Intel(R) EM64T-based applications, Version 10.1
Hi,For my strenth calculations I need the fortran compiler 10.1.My questions:Runs the 10.1 fortran compiler on windows 7?And where can I downlaod this version?Thanks in advanceBest RegardsJan
View ArticleTransition to Windows 7
Our company is about to transition from Windows XP to Windoes 7 and has asked me to test an Intel Fortran compiler with 64 bit application on a Windows 7 test machine. The version they asked me to...
View ArticleSubroutine to solve system of equation with the accuracy better than double...
I'm currently using the GESV subroutine from MKL library to solve the system of equations (A.x=B). The number I used is Double Precision.I see the results are accurate up to 11 digits after the...
View Article