Hello all you wonderful programmers, you!
I'm trying to recompile a piece of code that was not written by me. In it, there is a call to a subroutine "falloc." Now, as I understand, this is an intrinsic call in Compaq Digital Fortran 90 (helps setup memory allocation for arrays). However, I'm using Intel Fortran compiler V8.0 (with C++ .NET 2003 standard).
Recognizing that not everyone using CDF90, a subroutine written in C was provided. "void falloc_(values in here)"
Now, obviously, when I compile the fortran code I get an error to a missing external link "falloc."
How do I link the worlds of C and Fortran? I've done some research into past posts but the answer still isn't too clear.
Many thanks in advance.
-kirk
I'm trying to recompile a piece of code that was not written by me. In it, there is a call to a subroutine "falloc." Now, as I understand, this is an intrinsic call in Compaq Digital Fortran 90 (helps setup memory allocation for arrays). However, I'm using Intel Fortran compiler V8.0 (with C++ .NET 2003 standard).
Recognizing that not everyone using CDF90, a subroutine written in C was provided. "void falloc_(values in here)"
Now, obviously, when I compile the fortran code I get an error to a missing external link "falloc."
How do I link the worlds of C and Fortran? I've done some research into past posts but the answer still isn't too clear.
Many thanks in advance.
-kirk