- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could you confirm to me what Ibelieve to have understood about Intel Fortran Compiler (for Windows) - (technical English is sometime difficule for me...):
1 Intel Fortran is compatible with Fortran 77
2 I can create a DLL directely from Fortran 77 source code and use this DLL-FORTRANdirectely on C# application
3 I can compile Fortran 77 source code and encapsulate into a C++ DLL to user after in C#application (for exemple)
4 Can I compile Fortran77 source code directly on VisualStudio 2005 ? That is generate a DLL ? if yes this DLL could be use in C# application ?
BABE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Intel Fortran is highly compatible with Compaq* Fortran 77 on supported systems, and it is substantially compatible with PDP-11* and VAX* FORTRAN 77.
2. Yes. But Intel Fortran does not support generate managed code. To call a FORTRAN function or subroutine from C# code you need build Fortran code into a DLL and then use Platform Invoke, a service that enables managed code to call the unmanaged function or subroutines inside the DLL.
3. Yes
4. Yes if you install IVF and VS integration component. In "Intel Fortran Compiler Documentation -> Building Applications -> Buidling Applications from Microsoft Visual Studio / Using Windows Features" we provide detail info about how to use IVF in VS 2005 IDE and how to build a DLL. Also in the "samples" folder under your IVF installation path there are code examples of creating DLL by Intel Fortran Compiler for Windows.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Intel Fortran is highly compatible with Compaq* Fortran 77 on supported systems, and it is substantially compatible with PDP-11* and VAX* FORTRAN 77.
2. Yes. But Intel Fortran does not support generate managed code. To call a FORTRAN function or subroutine from C# code you need build Fortran code into a DLL and then use Platform Invoke, a service that enables managed code to call the unmanaged function or subroutines inside the DLL.
3. Yes
4. Yes if you install IVF and VS integration component. In "Intel Fortran Compiler Documentation -> Building Applications -> Buidling Applications from Microsoft Visual Studio / Using Windows Features" we provide detail info about how to use IVF in VS 2005 IDE and how to build a DLL. Also in the "samples" folder under your IVF installation path there are code examples of creating DLL by Intel Fortran Compiler for Windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
babe59:
Hello,
Could you confirm to me what Ibelieve to have understood about Intel Fortran Compiler (for Windows) - (technical English is sometime difficule for me...):
1 Intel Fortran is compatible with Fortran 77
Generally speaking there should be very little problem compiling your old code. I have some code dating back to early 1980's which compiled first time with the Intel Fortran compiler.
However :
If your Fortran 77 code uses extensions specific to the compiler you originally used, then there may be some small code changes to make.
Forexample when making calls to the Operating System some compilers use a subroutine
call system(command)
others (including Intel) use a function
iret = system(command)
If your F77 code is being transferred from another system (Unix or mainframe etc) then you will need to look at how files are named and opened and so on.
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page