- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!! I will try this out. Will report back.
B
B
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page