recursive subroutines and stack size
I am experimenting with recursive subroutines. If I compile and run a simple program, where a recursive subroutine calls itself many times, it crashes with a stack overflow. I have figured out that...
View Articlelibguide40
Hi,I'm supporting a legacy fortran program. Everything runs fine except for a few clients who get the following message:cannot open message catalogus "\1043\libguide40ui.dll"I'm not new to programming,...
View ArticleModeless Dialog Create Fails
I constructed my RC file in Visual Studio 2013, but I developed my .f90 files outside of VS once they were created in VS as a fram for an SDI file. I am trying to create something like the Angle...
View Articleerror#6405 for debug mode, not for release mode
Dear Sir(s),I have been using Intel® Composer XE for Windows* (formerly Intel® Compiler Suite Professional Edition for Windows*).My college has used a newer version of your compiler, and we worked on...
View ArticleRunning LAPACK
I want to get LAPACK running with Intel Fortran using Visual Studio to develop fortran applications. I am unable to link to LAPACK libraries when I write Fortran code. I wrote a simple progran that...
View Articlehow to prevent Windows going to sleep ?
Hi,I am an old FORTRAN developper working nowadays with young engineers. We all have laptops but, for some ununderstandable safety reason, Win7 goes to sleep mode after 15 minutes and we have no access...
View ArticleDowngrade version of Fortran compiler
Is it possible to downgrade license from 16v to 12v? In order to compile fortran files, which are verified for 12.1.5 version?
View ArticleCompile with Multiple INCLUDE files
Hello,I am trying to compile a main program (replica2.f90) with 5 INCLUDE files. Here are the commands I tried:ifort -cpp mc_st.f90 molecules.f90 orientation.f90 forward_n1n1p1_rep.f90...
View ArticleExtremely long compile time with ifort 16.0.1 vs 15.0.3
Steve (or whoever gets this), we recently switched compilers from 15.0.3 to 16.0.1 and are now experiencing a significant (catastrophic) increase in compile time. On a linux box, compile times went...
View ArticleMysterious DEBUG issue
My understanding is that when I get an out-of-range subscript it is supposed to put me in the routinewhere that occurred so I can look at variables in the same routine.What is actually does: is put the...
View ArticleWhich compile options to use (so others can run the EXE)
I got a program to compile and sent the EXE to a friend and when he tried to run it, an error pops up saying libifcoremd.dll is missing and to try reinstalling. I had a similar problem a while back and...
View Articleifort compiler is not showing though successfully installed
I have installed Intel(R) Cluster Studio XE 2013 SP1 Update 1 for a single node. It is also showing that successfully installed. But when I type "ifort" in the terminal, I get "command not found". Can...
View ArticleFortran subroutine
Greetings to all,I'm a Msc student,I have a fortran subroutine to compute the non linear behavior of a material, however it must be changed a little in order to be compatible with the UMAT. but i...
View Articlef03 array allocation
IVF 16 compiles the following code with 0 errors, 0 warnings,program main implicit none integer:: i real, allocatable:: a(:) real:: c(5) = [(i, i = 1,5)] a = c ! allocation...
View Articleassigning variables in different subroutines
Hi EveryoneI wonder whether it is possible to assign variable to values in different subroutines. for example, subroutine ab=5a=b+ccall cvalueend subroutine asubroutine cvaluec=2end subroutine...
View ArticleIs a mismatch in proc_language_binding_spec (e.g., bind(C)) between procedure...
Is the following simple code snippet standard-conforming? The code compiles with no errors or warnings with the latest Intel Fortran 16.0 compiler, update 1. Note the missing...
View ArticleHow to read .dat files with different filenames, please?
Hi,I am using fortran for coding. Now I am going to read more than 1000 data files separately, from the data file folder D\Datas\fortranAnd the data filenames are like:Gstep00001.dat Gstep00002.dat...
View ArticleAssociate construct ICE
Hi,Before deploying the latest version of the compiler (XE 2016), I was trying to compile some existing code and I got an ICE in every routine that uses the associate construct. The construct is used...
View ArticleOpenMP bug when combining IF and DEPEND clauses in a TASK construct
Hello,I believe the following code produces an incorrect result:program main !$ use omp_lib integer a,i !$omp parallel !$omp master do i=1,10 !$omp task firstprivate(i) if(i>5) depend(inout:a)...
View ArticleLink Not Searching Lib
My build looks like:G:\Desktop\Pearson>buildG:\Desktop\Pearson>rem Build script for Pearson G:\Desktop\Pearson>deftofd resource.h resource.fd G:\Desktop\Pearson>rc Pearson.rc Microsoft (R)...
View Article