More problems with paramterized derived types
This code gives compile errors which I would like help to fix:module Bar implicit none integer, parameter :: DP = selected_real_kind(13) type VarA(k, n) integer, kind :: k integer,...
View ArticleLNK 2005 error linking static library - common item in...
I get the following LNK2005 error messages relating to something in file MSVCRTD.lib(ti_inst.obj) being already defined in LIBCMTD.lib(typinfo.obj) when linking a static library file to a wrapper in...
View Articleoptimization and vectorizing problem
We have run into a problem after updating to 2015.1.148The combination of /arch:SSE3 and /O2 causes that in a vectorized loop where an array is filled the returned data is not updated after a 2nd...
View ArticleProblem with parameterized derived type declared with ALLOCATABLE attribute
The following simple code compiles with no errors or warnings with Intel(R) Visual Fortran Compiler XE 15.0.1.148 but it generates a run-time error with the parameterized derived type that has an...
View ArticleCompiler 15, Update 1 seems to hang up: parameterized derived type extension...
I think the simple code below that makes use of a parameterized derived type extension with type-bound procedures is ok, but Intel(R) Visual Fortran Compiler XE 15.0.1.148 seems to hang up for me and...
View ArticleUnexpected "warning #7026: Non-standard extension" for a parameterized...
This builds on the code snippet in Quote #2 in the topic: https://software.intel.com/en-us/forums/topic/536577. Compiler 15, Update 1 gives "warning #7026: Non-standard extension." with /stand:f08....
View ArticleInternal Compiler Error with use of a parameterized derived type with...
This builds further on the code shown in the topic https://software.intel.com/en-us/forums/topic/536578. The use of the derived type in a program results in an internal compiler error:MODULE m USE,...
View ArticlePuzzling compiler message
The following routine calls itself recursively -I get a WARNING message about incompatible argument types,( line 11)I don't understand this, since isq+1 and isq are both integer(1), andinum1 and inum...
View Article.db3 file causes Visual Studio crash
I'm using Parallel Studio XE 2015 Composer Edition for Fortran Windows (w_fcompx3_2015.1.148) running with Visual Studio 2013 on a 64 bit Windows 7 system. I recently installed a trial copy of VTune...
View ArticleQ about header and resource files
I am not sure these apply to a Fortran situation.Would a resource file be something like a DATA file?I have data files as inputs to some of my applications.For example:...
View ArticleFortran DLL does not work in EXCEL VBA
Hi,I created a DLL file (testDLL.dll) to add two numbers in Fortran as follows:SUBROUTINE addFunction(a, b, Sum)!DEC$ ATTRIBUTES DLLEXPORT,STDCALL,REFERENCE, ALIAS:"addFunction" :: addFunctionIMPLICIT...
View ArticleUnhelpful MINLOC/MAXLOC documentation
In the documentation for MINLOC and MAXLOC is the statement"If array has size zero, or every element of mask has the value .FALSE., the value of the result is controlled by compiler option assume...
View Articlerun time error forrtl:severe
Recently, I always meet the run time error "forrtl : severe <8>: internal consistency check failure, file for_intrp_fmt.c, line 1474" when using IVF 2013 integrated with VS2012. The error...
View ArticleIssue running exe's on Windows 7 64-bit VM
Hi allI have been using Intel Fortran Compiler XE 2011 with VS 2010 Pro for some time now on my Lenovo Thinkpad. I've been running on 64-bit Windows 7 and have successfully compiled and ported...
View Articleshape matching between dummy and actual
Now I am debugging a FORTRAN code written many years ago. It was written in *.f.The following is just a demonstration of the original code.program main implicit noneinteger,parameter::n=2integer a(n)...
View ArticleMSBUILD command fails
Is it still not possible to use MSbuild command for Fortran projects? We use XE 2015.If it isn't, do you have any suggestions on how to:1) Compile the Fortran projects that are part of a VS 2013...
View Articlepassing optional arguments
I am using Fortran Compiler XE 15.0.1.148 .When I compile and run the attached program, it crashes with an access violation. The error occurs when an optional array section, that is not present, is...
View ArticleLetter to Santa
Dear Santa,I'm 3 (in "modern Fortran" years!). My coding siblings say I've been a good and generous Fortranner this year. And my boss says I've following good coding practices (well, mostly!).For...
View ArticleCompiler code parsing error
Steve,I use /Qopenmp_stubs for my debug compiles and /Qopenmp for my release compiles. I have thought that this would allow me to leave the source otherwise unmodified. But my OpenMP parallel loop...
View ArticlePointless build cascades.....
Maybe this is just a VS thing and doesn’t relate to Fortran but…1) I edit a file that contains a module in Visual studio 2) I foolishly (optimistically?) click rebuild (rather than just compile...
View Article