From jzyang@ccad.uiowa.edu Fri May 19 17:03:14 2000 From: jzyang@ccad.uiowa.edu (Jingzhou Yang) Date: Fri, 19 May 2000 11:03:14 -0500 Subject: [Matrix-SIG] fortran and python Message-ID: <392565C2.39A7E8B0@ccad.uiowa.edu> I am beginner of using python. I have some fortran subroutines. Now I want to call these subroutines in python. Could you give me some suggestions on how to do that? Examples and reference books are better. Thank you. Wei Yu From rogerha@ifi.uio.no Fri May 19 17:36:20 2000 From: rogerha@ifi.uio.no (Roger Hansen) Date: 19 May 2000 18:36:20 +0200 Subject: [Matrix-SIG] fortran and python In-Reply-To: <392565C2.39A7E8B0@ccad.uiowa.edu> References: <392565C2.39A7E8B0@ccad.uiowa.edu> Message-ID: * Jingzhou Yang > > I am beginner of using python. I have some fortran > subroutines. Now I want to call these subroutines > in python. Could you give me some suggestions on > how to do that? Try to use f2py or Pyfort, which can be downloaded at Both packages simplifies the process of wrapping your fortran subroutines so that you can call them in python. > Examples and reference books are better. There are some examples in the tutorials. HTH, Roger