Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73023

Re: Interfacing Fortran applications

From Michael Welle <mwe012008@gmx.net>
Newsgroups comp.lang.python
Subject Re: Interfacing Fortran applications
Date 2014-06-09 14:24 +0200
Organization MB-NET.NET for Open-News-Network e.V.
Message-ID <7klg6bxlt8.ln2@news.c0t0d0s0.de> (permalink)
References <a55g6bxjlj.ln2@news.c0t0d0s0.de> <mailman.10908.1402314536.18130.python-list@python.org>

Show all headers | View raw


Hello,

Sturla Molden <sturla.molden@gmail.com> writes:

> Michael Welle <mwe012008@gmx.net> wrote:
>
>> I thought about equipping the Fortran application with sockets, so that
>> I can send input data and commands (which is now done via cmd line) and
>> reading output data back. Any opinions on this? Best pratices?  
>
> If you are to rewrite the Fortran app you can just as well use f2py from
> NumPy.
a rewrite of the application isn't possible. That would require
knowledge about what the used algorithms are, why they are implemented
as they are, that would require extensive testing with test cases that
don't exist. I can change as much as I want, as long as the core of
the application isn't touched. I can change everything until after the
initialisation of the application and the output of the results. That,
hopefully, will not break something.

Regards
hmw

-- 
biff4emacsen - A biff-like tool for (X)Emacs
http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html
Flood - Your friendly network packet generator
http://www.c0t0d0s0.de/flood/flood.html

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Interfacing Fortran applications Michael Welle <mwe012008@gmx.net> - 2014-06-09 09:43 +0200
  Re: Interfacing Fortran applications Chris Angelico <rosuav@gmail.com> - 2014-06-09 19:36 +1000
    Re: Interfacing Fortran applications Michael Welle <mwe012008@gmx.net> - 2014-06-09 12:30 +0200
  Re: Interfacing Fortran applications Sturla Molden <sturla.molden@gmail.com> - 2014-06-09 11:48 +0000
    Re: Interfacing Fortran applications Michael Welle <mwe012008@gmx.net> - 2014-06-09 14:24 +0200
      Re: Interfacing Fortran applications Chris Angelico <rosuav@gmail.com> - 2014-06-10 00:50 +1000
        Re: Interfacing Fortran applications Michael Welle <mwe012008@gmx.net> - 2014-06-09 17:14 +0200
      Re: Interfacing Fortran applications Sturla Molden <sturla.molden@gmail.com> - 2014-06-09 22:57 +0200
        Re: Interfacing Fortran applications Michael Welle <mwe012008@gmx.net> - 2014-06-10 10:55 +0200
      Re: Interfacing Fortran applications alister <alister.nospam.ware@ntlworld.com> - 2014-06-10 10:36 +0000

csiph-web