Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28456 Discussions

NetBeans Java code talking to Intel Fortran code

Bruno_Repetto
Beginner
340 Views
Hello all:

A colleague of mine has developed a code in NetBeans Java that intends to call a Fortran subroutine I have, and which I have tested separately using Intel Visual Fortran.

We are at a loss as to how to make both codes talk to each other. The Fortran subroutine has a number of arguments that include integer, character and double precision variables, both as scalars and 1-dimensional arrays (no higher-dimensional arrays are involved).

Can anybody offer any help pointing us to ways of making these two languages talk to each other? Not only do we need simple sample codes, we also need instructions on how to create the specific modules. I suspect that what we'll need to do with the Fortran code is to create a DLL that can be accessed by the Java code. And I do need to know if this is the right approach.

Thanks for any help!!

Bruno W. Repetto, PhD
0 Kudos
2 Replies
Luis_Solis
Beginner
340 Views
Hello!

this link you may find useful

http://oms.javaforge.com/wiki/66061
0 Kudos
Bruno_Repetto
Beginner
340 Views
Thanks!! I will try this out. Will report back.

B
0 Kudos
Reply