Allocation status of intent(out) dummy arguments with -qopenmp flags
Hi there,have a look at the following codeModule ModTmp contains Subroutine SubA(CSIn,CVOut) Implicit None Character(len=*), Intent(In) :: CSIn Character(len=len(CSIn)), Intent(Out), Allocatable ::...
View ArticleProblem with resource files
I wanted to change a control in a dialog I had not changed for sometime.Since moving to IVF & Visual Studio I have been using ResEdit to edit my dialogs.With this program I could not edit the...
View ArticleDetect when user closes an app
My program opens an application using the ShellExecute command, e.g.irtn = ShellExecute (hwnd=null, lpOperation = 'open'C, lpFile = 'edit_this.txt', ...)In my case, txt files are associated with the...
View ArticleAbout calling and using Fortran dll in c
Hi! After I posted my problem about calling Fortran dll in c in this forum, But it is hard way. I struggled to try it these days. I want to use nonlinear regression analysis by odrpack. All information...
View Articleproblem with program
Hi,I installed parallel_studio_xe_2016_update1 under fedora 23 x86_64, when I make file for may program appears ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/5.3.1/../../..//libm.a when...
View ArticleCould not find a file to match the module name - Eclipse IDE
Hi,I am very little experience with the compiling process, but I am trying to learn little by little.I am working under Ubuntu using Eclipse IDE integrated with Intel parallel studio XE 2016 composer...
View ArticleFast memcpy and memset
Hi, I am working with a code which has several statements where an array is assigned some constant value or one array is copied to other. I can see that the sequential version of the copy is taking...
View ArticleCannot find Fortran Compiler in Intel Parallel Studio editions
Hello everyone,I am trying to install one of editions of Intel Parallel Studio XE 2016 (I installed Intel Parallel Studio XE 2016 Cluster Edition). However, after the installation, I can not find any...
View ArticleA C question
I am trying to implement some Fortran code based on some C code but there is a statement that I don't understand, so can someone please tell me whar does j += (i-j);do? If i == j then is j...
View Articlepassing pointer between fortran and C
I have a C library which is called from fortran. The C lib creates a class and passes a pointer to it back to fortran. The fortran program will then pass the pointer back into the C lib later on....
View ArticleFortran2003 : linkconstructor does not have a type with ifort version 13.1.3
Hello,I am getting the following problem when compiling a Fortran 2003 code with ifort version 13.1.3error #6404: This name does not have a type, and must have an explicit type. [LINKCONSTRUCTOR]...
View ArticleAttempt to open a file on a read-only NFSv4 mount fails
We recently updated the NFS servers on our HPC cluster (Scientific Linux 6.7) to use NFSv4 from v3. Some programs compiled with ifort (16.0.2, 11.0, probably others) failed to open files on an NFSv4...
View ArticleMemory leaks in Fortran dlls
When Intel Fortran quits a program it tidies up after itself so there are no memory leaks. It seems to do this very well.What happens with dlls? When I exit a Fortran dll that I have written, do I need...
View Articleexternal Link issues
I am getting following error when I tried to compile a .f file.-subsystem:console weibull.obj weibull.obj : error LNK2019: unresolved external symbol _PAPER referenced in function _MAIN__ weibull.obj :...
View ArticleRead fails and debug wont work
I have a simple program:Program MkCallTree Implicit None Character(50) :: Cfile, Dfile Character(135):: Buffer(5000) Character(26):: Progr(20), Csv, P1, P2, P3 Character(76):: Calling(5000)...
View ArticleMicrosoft Visual Studio 2015 Update 2
Microsoft Visual Studio 2015 Update 2 is available from Microsoft. This is safe to use with Intel Visual Fortran, but not with Intel C++ at this time. (Microsoft made a breaking change in the C headers...
View ArticleLicense terms for library static linked with ifort
Hi,I work on some BSD-licensed open source projects, that need to be compiled with fortran.I'm considering using the Intel Fortran compiler for Windows, but I am not clear on the license terms (sorry...
View ArticleBinding to C char * function
Consider the following example code. I want to call a C function that is returning a char* (in the example, this is dlerror). What I have here seems to work OK. I'm wondering about memory leaks though....
View ArticleError LNK2001: Unresolved external symbol when calling a FORTRAN subroutine...
I have a C wrapper that has always been 32-bit. It calls a FORTRAN subroutine. This FORTRAN subroutine is in a FORTRAN library (MyFortranLibrary_lib.lib). This FORTRAN library file has also always...
View Article-i-static not supported
I am using Intel Fortran compiler (ifort version 16.0.2) and I want to compile a (monte carlo) code which has the option -i-static in the make file, but I got the error message "ifort: command line...
View Article