Inspector XE question about memory leak
I am new at using the Intel Inspector. It is telling me there is a memory leak at the following line ALLOCATE ( CEIG%VAL(N5), CEIG%VEC(N5, N5), STAT=IERR)What would make it think there is a memory...
View ArticleCoArray I/O, Windows Instruction File, and Setting Max Images
How is I/O handeled with CoArrays on Windows. I know that WRITE(* goes to all images and READ(* is set to Image 1, but if I have an input file assigned to unit 17 and all the images open the file will...
View ArticleIMSL argument convention question
I'm still in learning mode with today's fortran. Why does the IMSL routine LIN_SOL_GEN want arguments declared like X(N,0) when being called to calculate a matrix inverse? This seems really strange. It...
View ArticleC# calling fortran function error
I have been given a fortran dll created by a coworker to use in my c# app. the dll was compiled as 32 bit dll and the function i desire has been exported. i confirmed the export using DUMPBIN...
View ArticleC# calling fortran function errors out with BadImageFormatException
I have been given a fortran dll created by a coworker to use in my c# app. the dll was compiled as 32 bit dll and the function i desire has been exported. i confirmed the export using DUMPBIN /EXPORTS...
View ArticleIncorrect Results - Floating Point Issue?
HiI am having an issue with a very simple calculation that ends up having "incorrect" results.VOLUME, LENGTH, WIDTH and THICK are declared as REALVOLUME = (LENGTH / 1000.) * (WIDTH / 1000.) * (THICK /...
View ArticleDLLEXPORT use in Intel Fortran within Modules
Hello,I want to export the subroutines in the generated DLL library. I am using the following statements in the module but when checking the DLL using dumpbin the subroutines, i find that no subroutine...
View ArticleHow to reduce the code?
How to reduce the following code?P0=1.D0 … DO I=1,6 DO J=1,6 S(J,I)=P0 END DO END DOI am looking for the simple solution for the following array:| 1.D0 1.D0 1.D0 | | 1.D0 1.D0 1.D0 | | 1.D0...
View ArticleOverloading Fortran CoArrays For Monte Carlo Analysis
I have a legacy code/simulation model that I am using with Intel Visual Fortran/Visual Studio 2012 for a numerical experiment. The experiment needs the simulation model to be run 1000 times with...
View ArticleMax size of a fortran procedure and max size of a line of code.
I'm currently moving some optimizations from Mathematica to FORTRAN. The number of variables in each function range from 100s to 1000s so I would like to use Mathematica as a parser to write most of...
View ArticleUnlimited OR Auto Stack Size for Windows
Hi,I use ifort11 to compile the windows application. Recently I figureout that, stacksize limitatation is causing some error and with /F option, I could overcome for the time being. But my objective is...
View Articlestrange warning with WRITE statement
I'm working on a console window application. The following statement writes three 4x4 matrices, one row at a time. DO JJ=1,4 WRITE(IOUT,'(3(4(G12.5,1X),4X))') & BEAR1%BR(I)%B(ISPD)%K(JJ,1:4), &...
View Articlehow locate an IVF "/option" in Visual Studio GUI
When it is suggested to use a compiler option, say /Qzero, is there an easy way to find this in the VS user interface?
View ArticleCalling Fortran subroutine dll from VB.NET 2010
Hi Everyone,VB.NETPublic Declare Auto Sub MyDll Lib "MyDll.dll" (ByRef STR_IN As String, ByRef DBL_OUT As String)Dim str as String="Praveen"Dim str1 as StringCall MyDll(str,str1)Fortransubroutine...
View Articlealways rebuild everything after one file is changed
Dear IVF for windows users,Recently I am having a rebuild problem. I am using MSVS 2010 and Intel parallel studio with all updates patched.I have a solution with 15 projects, half c half FORTRAN. There...
View ArticleChanging CoArray Working Directories
Is it possible to have different coarrays work on different working directories?For example I have a variable WorkingDIR[*] that holds a different windows location on each image (say "c:\Image1\" and...
View ArticleMKL Library and DLLEXPORT
Hello,I would like to use LAPACK functions in my dynamic link library. In visual studio I set the project properties to link to the math kernel library. However when calling the Fortran subroutine from...
View ArticleDifferent behavior between debug and release configurations
Hi,I noticed that my project behaves differently if I compile it with default debug settings compared to when using release settings.In debug it works; in release the calculations differ slightly and...
View ArticleEntry point not found in libmmd.dll
Dear Dr. Fortran and community,I am getting the following entry point not found error message: "The procedure entry point _libm_sse2_cbrt could not be located in the link library libmmd.dll." According...
View ArticleCore Access Limit for PARDISO Solver?
I encountered a very strange problem and I would like to hear opinions and suggestions from the Gurus:I use Visual Composer XE, ver 12.1, coded the PARDISO solver in my program on a Windows 7 machine....
View Article