VS 2010 Integration does not work well
I am using Intel Parallel Studio XE 2015 in Visual Studio 2010 Professional on Windows 7 64-bit Professional. I uninstalled all version of Intel products and installed just Parallel Studio XE 2015...
View ArticleStack overflow with PACK statement in new V15 compiler
Hi guys,another issue related to the new V15 version of your Fortran compiler.The following statement worked fine up until the latest V14, but crashed with a stack overflow using V15:REAL, POINTER ::...
View ArticleCatastrophic error when using sNaN
HiAttached file when compiled with "ifort /Qsave /Qinit:snan /Qinit:arrays" gives a catastrophic error with XE 2015 (package 108); i.e. the latest release.AbhiAllegatoDimensioneScaricaTest_sNaN.f90644...
View Articleoptimization do loop
I am wondering if in the following DO-loop, the introduction of the new INTEGER variable upper_index in place of the two identical calculations x_index(i,l) + N will have a benefit to the performance?...
View ArticleAssignment of array sections
I am using Visual Fortran Compiler XE 15.0.0.108 [IA-32]I am doing a simple assignment like this:satfln(:,:,:,app) = fulsln(:,:,:,app)Both satfln and fulsln are explicit size and shape arrays, both...
View ArticleIntel Fortran Compiler without preinstalled Visual Studio
Hi.Sure that this question was asked already, but I have troubles with finding answer. So,I'm planning to purchase fortran compiler and now are using trial version. (download full install package of...
View ArticleClass design questions
I have a product with the following internal structure: 1) a Root_Solver module to have all the root solving routines necessary to solve problems; 2) a base class FuncBase used by the Root_Solver...
View ArticleSplitting dummy arguments out from /warn:unused
Could some consideration be given to splitting out variables that are dummy arguments from the "This variable has not been used" warning. Failing that, could we have a "!DEC$...
View ArticleString Length Argument and arrays
This may sound a bit complex, but here is my problem. I am in the process of building a project that needs to use netcdf. I'm using an older build (3.6.3), which, when I build it with Fortran...
View ArticleDebugging derived types Composer 15.0 in VS2010
Dear all,When debugging an extended type that gets the base type form another module, The VS2010 integration gives a syntax error, see the following screenshotThe type is defined as follows:TYPE,...
View ArticleDllexport Function in Subroutine
Hello,following Code is okay. But I am not sure how to export/import that routines!? The subroutine calls the function.subroutine RandomFibers(nFib, r, nCellsY, nCellsZ, initW, initH) !DEC$ ATTRIBUTES...
View ArticleOpenMP program crashes when compiled in Release mode
Hi, I wrote the following code:program omp_errimplicit none!type :: mytypeinteger :: nreal(8), allocatable :: x(:)end type!type(mytype) :: a!!$OMP PARALLEL PRIVATE(a)WRITE(*,*) 'parallel'!$OMP END...
View ArticleCan anyone transform Excel spreadsheet to FORTRAN code?
I am in the crunch-mode of my thesis, and simulations in a program (that reads from an Excel file) are taking too long. A solution to this is to re-create the Excel code in FORTRAN code.It is very...
View ArticleCommand line linking with different VS versions
I'm trying to link a number of libraries that are all built using the Platform toolset V100, but the main routine is compiled and linked with composer XE2013 with VS2012. (but the idea is to support...
View ArticleFunction that returns a derived type...
I was wondering if there is anyway that a fortran function can be used to return a derived type. I am building a fortran function (compiled into a DLL) that will be called by a JAVA program. This...
View ArticleWarnings for numerical operations on logical objects
I'm not sure whether the compiler is required to diagnose this sort of silliness or not with /stand, but it would be nice if it did.PROGRAM LogicalOperations IMPLICIT NONE LOGICAL :: la, lb la = .TRUE....
View ArticleUDDTIO error checking error
I have a few UDDTIO issues outstanding from the beta that introduced them. I don't think this duplicates any of those.MODULE M20140921c IMPLICIT NONE PRIVATE TYPE, PUBLIC :: JustSomeType END TYPE...
View ArticleDifferent results when running in debug and optimized (O3) mode
Different results when running in debug and optimized (O3) mode: I have some code that calculates the eigenvalues and eigenvectors of a symmetric positive-definite matrix followed by some simple matrix...
View ArticleLinking DLL file procedure
Hi.I want to include a precompiled DLL library into a Fortran program. The library has been written in C/C++ and the following is provided: a DLL file, a .def file and C++ header files.In order to...
View ArticleMaking a single DO loop
I noticed that a particular subroutine follows this type of a pattern:common/something/temp1(5,5),temp2(5,5,2),temp3(5,5),stress1(5,5),stress2(5,5,2),stress3(5,5), etc. ... call...
View Article