locked
how can i use my old fortran codes in .net? RRS feed

  • Question

  • hi .(I know here is not suitable place for this question but i didn't find better place!!)

    I wrote some code in fortran , but now i want to use them in c#. how can i use them?

    thanks

    Monday, January 31, 2011 11:47 AM

Answers

All replies

  • There is no known interoperability between Fortran and .NET.

    The only way out is use Fortran.NET refer this http://www.mpassociates.gr/software/distrib/science/lahey/lfnet.html#compiler


    Vidya Vrat Agarwal. http://dotnetpassion.blogspot,com
    • Proposed as answer by eryang Wednesday, February 2, 2011 7:31 AM
    • Marked as answer by eryang Monday, February 7, 2011 3:14 AM
    Tuesday, February 1, 2011 8:29 PM
  • I too am just beginning to look for a Fortran - C# interop solution, and found a discussion about using Intel Fortran with .NET:  http://software.intel.com/en-us/forums/showthread.php?t=63319

    And if the tight "direct call" coupling described in the above discussion doesn't work for you, you might be able to use Named Pipes or even Sockets, although the latter might not be very performant.  

    BTW: I found these topics using a Google search of "how to interoperate fortran with .net"

    Hope this helps.

    DadCat

    • Proposed as answer by Jiri Danihelka Thursday, July 11, 2013 8:11 PM
    • Unproposed as answer by Jiri Danihelka Thursday, July 11, 2013 8:11 PM
    Monday, December 5, 2011 5:24 PM