[f2py] Example of use of f2py

Simon Lacoste-Julien simonlacoste@videotron.ca
Tue, 29 Oct 2002 22:26:53 -0500


This is a multi-part message in MIME format.

--Boundary_(ID_rfB5V3Ki0OO2DkRcJ4IorQ)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Hello Pearu,

As I had promised [but with only a 2 months delay ;-) ], I have documented my work with f2py and DDASSL in a report available on my web site:
http://moncs.cs.mcgill.ca/people/slacoste/research/report/SummerReport.html
The relevant sections are 3.4 and 3.5 (http://moncs.cs.mcgill.ca/people/slacoste/research/report/SummerReport.html#tth_sEc3.4), where I explain how I used f2py to implement a Euler solver, ddassl.f and ddasrt.f in Python.  The features of f2py that were used are elementary, but this could still give a good concrete example of what can be done (quickly when you know how to do it) with f2py...

Also, thanks for the -DF2PY_REPORT_ATEXIT hint (ref. last email http://cens.ioc.ee/pipermail/f2py-users/2002-August/000326.html ).  It works nicely with Unix.  Unfortunately, it doesn't seem to work with my mingw32 gcc compiler on Windows XP since the on_exit C function doesn't seem to be supported...  Well, that's life!

All right, so now I'm deeply back to school; so thanks for everything!

Sincerely,

Simon Lacoste-Julien
U4 Triple Honours Math., Physics and Computer Science
McGill University
http://moncs.cs.mcgill.ca/people/slacoste/

P.S. I've seen that you have updated your personal web page...  Nice picture!  ;-)  [Happy to put a face on the name...]



--Boundary_(ID_rfB5V3Ki0OO2DkRcJ4IorQ)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello Pearu,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>As I had promised [but with only a 2 months delay 
;-) ], I have documented my work with f2py and DDASSL in a report available on 
my web site:</FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="http://moncs.cs.mcgill.ca/people/slacoste/research/report/SummerReport.html">http://moncs.cs.mcgill.ca/people/slacoste/research/report/SummerReport.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2>The relevant sections are 3.4 and 3.5 (<A 
href="http://moncs.cs.mcgill.ca/people/slacoste/research/report/SummerReport.html#tth_sEc3.4">http://moncs.cs.mcgill.ca/people/slacoste/research/report/SummerReport.html#tth_sEc3.4</A>), 
where I explain how I used f2py to implement a Euler solver, ddassl.f and 
ddasrt.f in Python.&nbsp; The features of f2py that were used are elementary, 
but this could still give a good concrete example of what can be done (quickly 
when you know how to do it) with f2py...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also, thanks for the -DF2PY_REPORT_ATEXIT hint 
(ref. last email <A 
href="http://cens.ioc.ee/pipermail/f2py-users/2002-August/000326.html">http://cens.ioc.ee/pipermail/f2py-users/2002-August/000326.html</A>&nbsp;).&nbsp; 
It works nicely with Unix.&nbsp; Unfortunately, it doesn't seem to work with my 
mingw32 gcc compiler on Windows XP since the on_exit C function doesn't seem to 
be supported...&nbsp; Well, that's life!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>All right, so now I'm deeply back to school; so 
thanks for everything!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sincerely,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Simon Lacoste-Julien</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial>U4 Triple Honours Math., Physics and Computer 
Science</FONT></FONT><FONT face=Arial size=2><BR>McGill University<BR></FONT><A 
href="http://moncs.cs.mcgill.ca/people/slacoste/"><FONT face=Arial 
size=2>http://moncs.cs.mcgill.ca/people/slacoste/</FONT></A></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>P.S.&nbsp;I've seen that you have updated your 
personal web page...&nbsp; Nice picture!&nbsp; ;-)&nbsp; [Happy to put a face on 
the name...]</FONT></DIV>
<DIV><BR></DIV></BODY></HTML>

--Boundary_(ID_rfB5V3Ki0OO2DkRcJ4IorQ)--