- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does the Intel Fortran v.9 compiler for .Net support compilation into managed code?
Link Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, it does not. But you can call Intel Fortran code from managed code via DLLs and can call managed code through the "Module Wizard" generated interfaces.
Message Edited by sblionel on 08-11-2005 04:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Calling Intel Fortran code from managed code via DLLs -- that's interesting.
As far as I know float point scalars and arrays are not compatible with C#, for example. I have a look at the MSDN for C# -- sharp can port only integers and something else but not reals exactly.
Stanislav Fedorov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a sample that passes a real and an array from C# to Fortran. It isn't that hard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Steve
Can you attach file with sample.
Stanislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let's see if attachments are working again.. This sample is not "polished", but it should give you an idea of how to make this work. I have another example that uses VB.NET that is better structured - let me know if you want that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, attachment works!
Thanks, Steve. You may attach sample for VB.Net too. It would be interesting for me (and others, I think).
Stan (Stanislav)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here you are. This one is more fun...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
And something else. Where it possible to read about multi-language programming via DLLs written on Fortran.
P. S. Except Help.
Stan
And something else. Where it possible to read about multi-language programming via DLLs written on Fortran.
P. S. Except Help.
Stan
Message Edited by fedorovstanislav@mail.ru on 08-12-2005 08:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know of anything other than what's in the documentation for mixed-language programming and using DLLs. We don't have documentation on managed code interaction, but that's really more appropriate for the C#, VB.NET documentation. If we had to explain how to call Fortran from every other language, we'd go crazy. We do explain what Intel Fortran expects when called and how to adjust calling conventions.
We do, of course, need some examples to get you started, and we're working on that.
We do, of course, need some examples to get you started, and we're working on that.
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