Error in accessing pipe "All pipe instances are busy"
Hi all,I would like to communicate between two fortran processes or a commandline and a fortran process.I try to use a named pipe.The named pipe is created by the fortran through : subroutine...
View ArticleCompiling a Fortran code by linking C object in command prompt
Hi,I have been handed a code to execute on Windows environment, where the same code ran without any problem on LINUX.Here is an outline of the code execution plan:Compile a C code (hapsug.c) to create...
View ArticleProblem passing pointer from C to Intel FORTRAN and back to C
Hi there,I am having an issue with FORTRAN/C interop using Intel FORTRAN that I'm hoping someone can help me with.It is illustrated by the contrived example below:library.f90:module m implicit none...
View Articlelimit on open files
I am getting an error (IOMSG from open) that there are too many open files. The logical unit I am using is 93.acsyscommand: open error = too many open files So, what is the limit? Is there a way to...
View ArticleHow to debug from Fortran to C++
Hi, I have 2 projects in visual studio 15, one c++ and one fortran.The Fortran project is using the c++ dll as a dynamic dll. It works just fine.But I cannot debug from the Fortran code into the c++...
View Articleproblem using IMSL library
Hi all, I'm newer from this forum and from the software. I just bought the product "intel parallel studio XE composer edition for fortran with rogue wave IMSL 7.0 win" it comes with visual studio 2013...
View ArticleFloating point invalid operation
I've just upgraded to Fortran 2016 from 2013 and now throw a floating point invalid operation exception 0x90. The error is trapped at the declaration of a function. I've reduced to the parameter list...
View Articlegetting compiling error #8383 in IVF 17.0 but not in 12.0
The following code compiled just fine in version 12.0 but gives the following error message in IVF 17.0error #8383: The dummy arguments of an overriding and overridden binding that correspond by...
View Articlecustom INT to handle rounding errors of operations
Problem of INT() is that it is not necessarily predictable in the sense e.g. INT(5.D0/1.D0) is not necessarily 5 but cal also happen to be 4. NINT() does not really help as NINT(4.8) = 5. In other...
View ArticleProblem with created thread
I'm trying to write a tcp/ip server that create new thread on each new connection.The problem I'm facing is that the thread are correctly created, but as soon as one thread is requested to stop (upon...
View ArticleHEAP CORRUPTION
I got the folowwing errorHEAP CORRUPTION DETECTED : after Normal block (#15840889)at 0x00778E70.CRT detected that the application wrote to memory after end ofHeap buffer.What can I do ?
View ArticleCan't link to SQLConfigDataSource
Hi All,I'm using the following statement:bret = SQLConfigDataSource(NULL,ODBC_CONFIG_SYS_DSN,"Oracle APXDEV driver"//char(0),"DSN=APXDEV"//char(0)//char(0))and I know that SQLConfigDataSource is listed...
View Articlelink options for static build
For an application with primarily Fortran but a bit of C & C++ code, what are the link options I need to get a fully static built executable? thanks,Scott
View ArticleElemental Subroutine Vs. Looping
For my code I was wondering if there is a benefit to having a subroutine with an explicit loop across a vector compared to making an elemental subroutine.What I really have are complex Derived Data...
View ArticleIssue in allocating arrays
Hi All,I am seeing a very strange situation that allocating an array is unexpectly deallocating another array under the same scope. E.g., the code I have is like this: Subroutine memalloc...
View ArticleMemory leaks with polymorphic allocatable objects and components
With 17.0.1 (and perhaps earlier, I didn't check) the compiler does not correctly handle the deallocation of polymorphic objects, where there is some sort of inheritance hierarchy and the deallocation...
View Articlepolymorphic type question
Consider the following, greatly simplified, sections of codetype :: obj_rcd type(net_rcd),dimension(:),allocatable :: rcd integer :: cntr=0 type(rcd_desc),dimension(:), pointer :: def end...
View ArticleExtra bytes when infile is read?
Hi,I have a quick question.. I am trying to copy a file(.exe/ text - could be anything) to the destination.. So wrote a subroutine as follows.. but when i read the infile for the length the value of I...
View ArticleFixed Spacing Fonts
Since I've moved to IVF 2017 Composer Edition, my fixed width fonts don't seem to be fixed with anymore. They displayed correctly under 2016 version. Any suggestions? I'm running under vs 2013...
View Articlecopy of component structure results in stack overflow
hi,i have an allocatable, rank=1 structure containing an allocatable component which is a real*8, rank=3 array, defined as follows:db=kind(1.0d0) type griddata real(kind=db), dimension(:,:,:),...
View Article