<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Fwrap: Python(Cython(C(Fortran)))</title>
	<atom:link href="http://fortrancython.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fortrancython.wordpress.com</link>
	<description>Wrap Fortran in C, Cython &#38; Python</description>
	<lastBuildDate>Tue, 17 May 2011 16:54:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='fortrancython.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Fwrap: Python(Cython(C(Fortran)))</title>
		<link>http://fortrancython.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://fortrancython.wordpress.com/osd.xml" title="Fwrap: Python(Cython(C(Fortran)))" />
	<atom:link rel='hub' href='http://fortrancython.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Fwrap to be used by SciPy</title>
		<link>http://fortrancython.wordpress.com/2010/11/03/fwrap-to-be-used-by-scipy/</link>
		<comments>http://fortrancython.wordpress.com/2010/11/03/fwrap-to-be-used-by-scipy/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 04:11:48 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=90</guid>
		<description><![CDATA[Dag Sverre Seljebotn posted this to the fwrap-users mailing list: This is just a quick note to inform people that I am currently working with Enthought to bring SciPy to the .NET platform. In particular, I will work on the Fortran parts of SciPy. The primary strategy will be to improve fwrap enough to make [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=90&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dag Sverre Seljebotn posted this to the fwrap-users mailing list:</p>
<blockquote><p>This is just a quick note to inform people that I am currently working  with Enthought to bring SciPy to the .NET platform. In particular, I  will work on the Fortran parts of SciPy.</p>
<p>The primary strategy will be to improve fwrap enough to make it usable  for SciPy, and then move SciPy over to fwrap instead of f2py. The point  here is that Carl Witty is already working on a .NET backend for Cython,  and since fwrap generates Cython code we get the .NET port that way.</p>
<p>All work is done in Enthought&#8217;s &#8220;refactor&#8221; branches for now [1]. The  intention is certainly to merge back to main eventually, but questions  of how or when or whether will have to wait; getting things up and  running on .NET has priority.</p>
<p>Some details:</p>
<p>a) The most important missing feature in fwrap is callbacks. I&#8217;m sure there are other things I&#8217;ll have to implement as well.</p>
<p>b) The main strategy is to first move (our own branch of) SciPy over to  fwrap and have that work on CPython, and then move to compiling things  on .NET</p>
<p>c) fwrap does not support g77, only Fortran 90 compilers like  gfortran/ifort etc. For the purposes of the .NET port this is likely to  be good enough. Before a merge with the main CPython branch one must  perhaps look into implementing g77 support in fwrap. I know that David  C. at least earlier stated that g77 support is not going away anytime  soon. Feedback on this welcome.</p>
<p>Dag Sverre</p>
<p>[1]<br />
<a href="http://github.com/teoliphant/numpy-refactor" target="_blank">http://github.com/teoliphant/numpy-refactor</a><br />
<a href="http://github.com/jasonmccampbell/scipy-refactor" target="_blank">http://github.com/jasonmccampbell/scipy-refactor</a></p></blockquote>
<p>See the rest of the thread here:</p>
<p><a href="http://thread.gmane.org/gmane.comp.python.scientific.devel/14620">http://thread.gmane.org/gmane.comp.python.scientific.devel/14620</a></p>
<p>This is great news &#8212; fwrap will have significant features implemented, and will become part of a major distribution.  Thanks to everyone involved.  I will pitch in where necessary, if I can carve out some time (thesis, job interviews, papers, etc.).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=90&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/11/03/fwrap-to-be-used-by-scipy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
		<item>
		<title>Of frustration with build systems</title>
		<link>http://fortrancython.wordpress.com/2010/09/28/of-frustration-with-build-systems/</link>
		<comments>http://fortrancython.wordpress.com/2010/09/28/of-frustration-with-build-systems/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 03:23:35 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=86</guid>
		<description><![CDATA[Build Systems, Fortran &#38; Python Without question the most error-prone and dark corner-filled part of fwrap is the build system.  It&#8217;s based off of numpy&#8217;s distutils, but it is very fragile.  Fwrap demands a lot from a build system: (1) generate C, Fortran and Cython headers from an external python script, (2) compile Fortran 90 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=86&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Build Systems, Fortran &amp; Python</h2>
<p>Without question the most error-prone and dark corner-filled part of fwrap is the build system.  It&#8217;s based off of numpy&#8217;s distutils, but it is very fragile.  Fwrap demands a lot from a build system: (1) generate C, Fortran and Cython headers from an external python script, (2) compile Fortran 90 sources with module dependencies, (3) generate .c files from a .pyx, and (4) compile all the fortran and C source into a Python extension module.  Now that it is time to incorporate full-on Fortran 90 support in fwrap, distutils just plain doesn&#8217;t cut it.  I can either spend my time monkey patching things together or move to another build system.</p>
<p>Guess what I&#8217;ve decided to do.</p>
<p>One fundamental requirement is that the new build system not impose yet another external dependency.  So it either needs to already exist as part of every platform out there, or it needs to be distributed with fwrap.  This limits the choices (besides the already rejected distutils) to make or a new build tool named &#8220;waf&#8221;.</p>
<p>Waf is <em>designed</em> to be small and shipped as part of a larger project.  That way the host project has complete control over its build system and doesn&#8217;t have to worry about versioning issues.  Besides that, it is a proper build system (contrary to distutils), and it offers automatic dependency detection &amp; resolution, especially desirable for Fortran 90/95 projects with modules.  I anticipate it taking fwrap&#8217;s most error prone component and making it much more robust.</p>
<p>In order to begin working on the new F90 stuff, waf needs to be incorporated into fwrap.  Once that is working, then I can set up the test suite to be module-aware, and move on to incorporating the new features.</p>
<p>Waf is suitable for any project, whether it be C, C++, Java, Go, Python (extensions), Cython, D, Fortran, whatever.  It easily handles mixed-language builds.  Adding support for new languages &amp; compilers is pretty easy, too.  I&#8217;m somewhat new to it, but I plan on trying it out for some of my bigger codebases in the near future.</p>
<p>For more info:</p>
<p><a href="http://code.google.com/p/waf/">http://code.google.com/p/waf/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=86&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/09/28/of-frustration-with-build-systems/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
		<item>
		<title>Fwrap has moved to github</title>
		<link>http://fortrancython.wordpress.com/2010/08/25/fwrap-has-moved-to-github/</link>
		<comments>http://fortrancython.wordpress.com/2010/08/25/fwrap-has-moved-to-github/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 15:17:12 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=82</guid>
		<description><![CDATA[From mercurial to git After speaking with some folks at SciPy-Austin this year (in particular, Fernando Perez), I wanted to try out git &#38; github as an alternative to mercurial &#38; bitbucket.  As with anything with so much overlap, there are pros and there are cons, and it comes down to small differences.  The deciding [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=82&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>From mercurial to git</h2>
<p>After speaking with some folks at SciPy-Austin this year (in particular, Fernando Perez), I wanted to try out git &amp; github as an alternative to mercurial &amp; bitbucket.  As with anything with so much overlap, there are pros and there are cons, and it comes down to small differences.  The deciding factor, ultimately, was the <a href="http://hg-git.github.com/">hg-git mercurial plugin</a>, which allows someone to use a mercurial client with a git repository,<em> with improved branch functionality</em>.  So all of the nice, smooth, user-friendly mercurial commands you&#8217;re used to are available, and you can push/pull bookmarks a-la git branches.  (I&#8217;ve not used this extensively, so <em>caveat emptor</em>.)</p>
<p>Some of my reasons for the move:</p>
<ul>
<li>As mentioned above, the hg-git plugin allows both mercurial and git users to collaborate using the same repository, so there is no need for current mercurial users to have to change to git.</li>
<li>The numpy/scipy ecosystem is converging on git &amp; github for SCM.  Arguably Cython (which uses mercurial) would be more influential here, but pretty much every fwrap user would be coming from a numerical &amp; Fortran background, which would be more numpy/scipy-centric, hence git &amp; github.</li>
<li>The way Git handles branches fits my style much better.  And I really like the index.  Mercurial seems to encourage enabling the &#8216;queue&#8217; extension for advanced stuff, but it just plain doesn&#8217;t fit my brain, and I always screw it up.  Granted, it&#8217;s plenty easy to blow off your hand using git, although I&#8217;ve become quite proficient at messing up whatever SCM I&#8217;m using at the time.</li>
<li>It seems that mercurial goes to great lengths to keep their design pure, which I can respect.  Unfortunately by not allowing bookmarks to be pushed/pulled as part of the wire protocol, they force you to use mercurial branches, which are much heavier than I need them to be.  If mercurial would just allow bookmarks (which are the closest analogue to git branches) to be pushed-pulled, I&#8217;d have a much harder time justifying the switch to git.</li>
</ul>
<h2>Github repository</h2>
<p>Fwrap&#8217;s new home:</p>
<p><a href="http://github.com/kwmsmith/fwrap">http://github.com/kwmsmith/fwrap</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=82&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/08/25/fwrap-has-moved-to-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
		<item>
		<title>Fwrap wiki &amp; roadmap</title>
		<link>http://fortrancython.wordpress.com/2010/08/17/fwrap-wiki-roadmap/</link>
		<comments>http://fortrancython.wordpress.com/2010/08/17/fwrap-wiki-roadmap/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 18:10:58 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=80</guid>
		<description><![CDATA[FYI, fwrap has a wiki that is slowly filling-in.  There are (or will be) tutorials that guide you through getting everything set-up correctly, FAQs, etc. https://sourceforge.net/apps/trac/fwrap/wiki/WikiStart Specifically, I just posted a rough roadmap on the fwrap wiki, outlining what fortran features are currently supported and what will be supported in upcoming versions: https://sourceforge.net/apps/trac/fwrap/wiki/FortranSupport I commend [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=80&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>FYI, fwrap has a wiki that is slowly filling-in.  There are (or will be) tutorials that guide you through getting everything set-up correctly, FAQs, etc.</p>
<p><a href="https://sourceforge.net/apps/trac/fwrap/wiki/WikiStart">https://sourceforge.net/apps/trac/fwrap/wiki/WikiStart</a></p>
<p>Specifically, I just posted a rough roadmap on the fwrap wiki, outlining what fortran features are currently supported and what will be supported in upcoming versions:</p>
<p><a href="https://sourceforge.net/apps/trac/fwrap/wiki/FortranSupport">https://sourceforge.net/apps/trac/fwrap/wiki/FortranSupport</a></p>
<p>I commend it to your attention.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=80&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/08/17/fwrap-wiki-roadmap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
		<item>
		<title>Fwrap vis-a-vis f2py</title>
		<link>http://fortrancython.wordpress.com/2010/08/08/fwrap-vis-a-vis-f2py/</link>
		<comments>http://fortrancython.wordpress.com/2010/08/08/fwrap-vis-a-vis-f2py/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 19:42:19 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=77</guid>
		<description><![CDATA[Some have asked how fwrap relates to f2py. Broadly, fwrap can be seen as an update of f2py for all of Fortran 90/95, addressing the features that f2py does not support at the present time.  My understanding is that the 3rd version of f2py intends to address many of these features, but that version of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=77&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some have asked how fwrap relates to f2py.</p>
<p>Broadly, fwrap can be seen as an update of f2py for all of Fortran 90/95, addressing the features that f2py does not support at the present time.  My understanding is that the 3rd version of f2py intends to address many of these features, but that version of f2py is far from complete.  This is not intedended as a critique of f2py, merely a brief comparison of the two projects.</p>
<p>Fwrap focuses on generating Cython wrappers for Fortran code, and the Python-level wrappers come for free, in a sense.  Fwrap uses the Fortran parser&#8211;named &#8216;fparser&#8217;&#8211;that Pearu Peterson (the author of f2py) created for the latest incarnation of f2py.  In contrast to Fwrap using Cython, f2py generates the C extension module directly&#8211;quite an undertaking.  Fwrap focuses on all 3 levels of wrapping: C, Cython and Python; and the C wrappers can be used without any Cython or Python dependency.</p>
<p>Fwrap generates one more wrapping layer than f2py; this allows fwrap to eventually support every desirable feature in Fortran 90/95 (and, in principle, 2003).</p>
<p>F2PY has a very nice interface file functionality, and supports comment directives in the fortran source to specify how it is to handle different arguments.  These features are planned for fwrap, but currently it is easier to make &#8216;pythonic&#8217; wrappers with f2py, while fwrap just wraps every argument directly, taking into account the argument&#8217;s intent.</p>
<p>Fwrap has planned some features that are not in f2py: for instance, a fortan inline module that is similar to scipy&#8217;s weave, user derived types, automatic type discovery, and (way in the future) wrapping a Fortran module in a Cython class.</p>
<p>Pearu and I are on good terms and we both collaborate to make fparser better along with the other fparser &amp; f2py developers.  F2PY is an impressive project and provides the skeleton for many Python &amp; Fortran projects, most prominently among them being SciPy.</p>
<p>Fwrap would not exist if f2py had not blazed the trail, and paved over half of it <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=77&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/08/08/fwrap-vis-a-vis-f2py/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
		<item>
		<title>Announcing the first release of Fwrap</title>
		<link>http://fortrancython.wordpress.com/2010/08/07/announcing-the-first-release-of-fwrap/</link>
		<comments>http://fortrancython.wordpress.com/2010/08/07/announcing-the-first-release-of-fwrap/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 00:59:29 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=73</guid>
		<description><![CDATA[Fwrap v0.1.0 I am pleased to announce the first release of Fwrap v0.1.0, a utility for wrapping Fortran code in C, Cython and Python. Fwrap focuses on supporting the features of Fortran 90/95, but will work with most well-behaved Fortran 77 code, too. Fwrap is BSD licensed. Fwrap is beta-level software; all public APIs and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=73&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Fwrap v0.1.0</h2>
<p>I am pleased to announce the first release of Fwrap v0.1.0, a utility for<br />
wrapping Fortran code in C, Cython and Python.  Fwrap focuses on supporting the<br />
features of Fortran 90/95, but will work with most well-behaved Fortran 77<br />
code, too.</p>
<p>Fwrap is BSD licensed.</p>
<p>Fwrap is beta-level software; all public APIs and commandline options are<br />
subject to change.</p>
<p>Features in the v0.1.0 release:</p>
<ul>
<li> Fortran source parsing and automatic wrapper generation;</li>
<li> Top-level (non-module) Fortran subroutines and functions;</li>
<li> Supports all intrinsic types (integer, real, complex, logical &amp;<br />
character);</li>
<li> Default and non-default intrinsic types properly wrapped;</li>
<li> Scalar and array arguments supported;</li>
<li> Supports assumed-shape, assumed-size, and explicit-shape array arguments;</li>
<li> Intent &#8216;in&#8217;, &#8216;inout&#8217;, &#8216;out&#8217; and no intent arguments supported;</li>
<li> Automatic docstring generation for extension module and functions;</li>
<li> Wrappers are portable w.r.t. both Fortran and C compilers.</li>
</ul>
<p>Upcoming features:</p>
<ul>
<li> &#8220;Use&#8221; statement support;</li>
<li> Python &amp; Cython callback support;</li>
<li> Kind-parameters in type specification;</li>
<li> Module-level data and parameters;</li>
<li> User-derived types.</li>
</ul>
<p>See the README and documentation for requirements, compiler support, etc.</p>
<h4>Download</h4>
<p>You can get fwrap from pypi or from its sourceforge download page:</p>
<p>https://sourceforge.net/projects/fwrap/files/</p>
<h4>More Info</h4>
<p>Project homepage, including links to wiki &amp; bug tracker:</p>
<p>http://fwrap.sourceforge.net/</p>
<p>Mailing list:</p>
<p>http://groups.google.com/group/fwrap-users</p>
<p>Development blog:</p>
<p>http://fortrancython.wordpress.com/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=73&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/08/07/announcing-the-first-release-of-fwrap/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
		<item>
		<title>Fortran + CUDA</title>
		<link>http://fortrancython.wordpress.com/2010/08/05/fortran-cuda/</link>
		<comments>http://fortrancython.wordpress.com/2010/08/05/fortran-cuda/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 22:24:56 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=69</guid>
		<description><![CDATA[PGI has some very nice CUDA support in the latest version of their fortran compiler.  Here&#8217;s the article. [www.pgroup.com]  This may be old news to some of you, but I&#8217;m impressed.  Hopefully CUDA support is in the pipeline for the other fortran vendors as well, and something of a standard can emerge from this. My [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=69&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PGI has some <em>very</em> nice CUDA support in the latest version of their fortran compiler.  <a href="http://www.pgroup.com/lit/articles/insider/v1n3a2.htm">Here&#8217;s the article.</a> [www.pgroup.com]  This may be old news to some of you, but I&#8217;m impressed.  Hopefully CUDA support is in the pipeline for the other fortran vendors as well, and something of a standard can emerge from this.</p>
<p>My first impression is that this is an ideal sweet spot, allowing the usage of nice high-level fortran array expressions on the host when convenient, and dropping into CUDA code where speed is a must.  Granted the host-device bandwith is painfully slow, so there is a significant overhead, but ideally it would allow incremental speedups, all within fortran.</p>
<p>I&#8217;m glad to see Fortran adapting to the latest technology, as it has done every generation or so; brings to mind the quip:</p>
<p>&#8220;What language will they be using 30 years from now?&#8221;</p>
<p>&#8220;I don&#8217;t know, but they&#8217;ll <em>call</em> it &#8216;Fortran&#8217;.&#8221;</p>
<p>And yet the standard is still backwards compatible with code from almost 35 years ago.  AFAICT, it&#8217;s the combination of adaptibility and backwards compatibility that keeps Fortran around.</p>
<p>Now if they would only get better I/O syntax, named goto labels (not &#8216;assign 10 to n&#8217;, more like C&#8217;s goto), etc&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=69&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/08/05/fortran-cuda/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
		<item>
		<title>Features everywhere and a basic example</title>
		<link>http://fortrancython.wordpress.com/2010/07/31/features-everywhere-and-a-basic-example/</link>
		<comments>http://fortrancython.wordpress.com/2010/07/31/features-everywhere-and-a-basic-example/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 19:23:32 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=61</guid>
		<description><![CDATA[In the past 2 weeks, we&#8217;ve been able to put in some major front-facing features &#8212; features that make fwrapped python modules friendly (or, at least, friendlier) and discoverable. The most significant features for users are module- and function-level docstrings, but there are many more features you&#8217;ll like. For this trivial fortran function: function one_arg(a) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=61&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the past 2 weeks, we&#8217;ve been able to put in some major front-facing features &#8212; features that make fwrapped python modules friendly (or, at least, friendlier) and discoverable.</p>
<p>The most significant features for users are module- and function-level docstrings, but there are many more features you&#8217;ll like.</p>
<p>For this trivial fortran function:</p>
<pre class="brush: plain; wrap-lines: false;">
function one_arg(a)
    implicit none
    ! Automatic type discovery: the C type correspondances
    ! will be automatically determined at compile-time.
    integer :: one_arg
    ! Assumed-shape arrays handled seamlessly
    real(kind=8), dimension(:, : ), intent(inout) :: a

    a = 1.61803399_8
    ! bonus if you know 1.618... without googling
    one_arg = 42

end function
</pre>
<p>Fwrapping it:</p>
<pre class="brush: bash; wrap-lines: false;">
$ fwrapc source.f90 --build \
--name=one_arg --fcompiler=gnu95 \
--f90exec=/usr/bin/gfortran-4.3 \
-L/usr/lib/gcc/x86_64-linux-gnu/4.3.2 -lgfortran
</pre>
<p>(Admittedly the commandline can get kinda long, but the <code>-L, -l</code> and <code>--f90exec</code> options can be set to environment options <code>$LDFLAGS</code> and <code>$F90</code>, resp.  The <code>fwrapc</code> command needs to know where to find the fortran compiler and how to link in the fortran runtime libraries.)</p>
<p>This will generate a million files in <code>./one_arg</code>, including an extension module, <code>./one_arg/one_arg.so</code>.  All those other files are useful if and when you want to use the wrappers from C or Cython.  For now we&#8217;ll look at using the code from Python. Importing that extension module, we see some interesting stuff:</p>
<pre class="brush: plain; wrap-lines: false;">
$ cd one_arg
$ ipython
Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40)
Type &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.

IPython 0.10 -- An enhanced Interactive Python.
?         -&gt; Introduction and overview of IPython's features.
%quickref -&gt; Quick reference.
help      -&gt; Python's own help system.
object?   -&gt; Details about 'object'. ?object also works, ?? prints more.

In [1]: import one_arg

In [2]: one_arg?
Type:		module
Base Class:	&lt;type 'module'&gt;
String Form:	&lt;module 'one_arg' from 'one_arg.so'&gt;
Namespace:	Interactive
File:		/home/ksmith/Devel/fwrap/fwrap-dev/testdir/one_arg/one_arg.so
Docstring:
    The one_arg module was generated with Fwrap v0.1.0dev_a0bf087f24a0+.

    Below is a listing of functions and data types.
    For usage information see the function docstrings.

    Functions
    ---------
    one_arg(...)

    Data Types
    ----------
    fw_character
    fwi_integer
    fwi_npy_intp
    fwr_real_8

In [3]:
</pre>
<p>You&#8217;ll notice a list of functions and data types in the <code>one_arg</code> module.  The datatypes <code>fwr_real_8</code> and <code>fwi_integer</code> correspond to the function argument and return value types, resp. (automatic type-discovery, like I mentioned).</p>
<p>We can take a look at the <code>one_arg.one_arg()</code> docstring:</p>
<pre class="brush: plain; wrap-lines: false;">
In [3]: one_arg.one_arg?
Type:		builtin_function_or_method
Base Class:	&lt;type 'builtin_function_or_method'&gt;
String Form:	&lt;built-in function one_arg&gt;
Namespace:	Interactive
Docstring:
    one_arg(a) -&gt; (fw_ret_arg, a,)

    Parameters
    ----------
    a : fwr_real_8, 2D array, dimension(:, : ), intent inout

    Returns
    -------
    fw_ret_arg : fwi_integer, intent out
    a : fwr_real_8, 2D array, dimension(:, : ), intent inout

In [4]:
</pre>
<p>It tells us the function signature, the argument types and the return tuples.</p>
<p>Let&#8217;s kick the tires:</p>
<pre class="brush: plain; wrap-lines: false;">
In [4]: one_arg.one_arg([[1,2,3], [4,5,6]])
Out[4]:
(42,
 array([[ 1.61803399,  1.61803399,  1.61803399],
       [ 1.61803399,  1.61803399,  1.61803399]]))
</pre>
<p>And we find that the fortran function return value is the first element of the return tuple, and the array is the second.  In this case, we passed in a python list, and fwrap made an internal copy seeing that it wasn&#8217;t compatible with the type and ordering of the fortran dummy argument.  If we pass in an array of the proper ordering and type, no copy will be made, and it will be modified in-place (there will be options to have finer control over this behavior, including warnings or exceptions raised if you don&#8217;t want any copies made, ever):</p>
<pre class="brush: plain; wrap-lines: false;">
In [5]: import numpy as np

In [6]: a = np.empty((5,5), dtype=one_arg.fwr_real_8, order='F')

In [7]: one_arg.one_arg(a)
Out[7]:
(42,
 array([[ 1.61803399,  1.61803399,  1.61803399,  1.61803399,  1.61803399],
       [ 1.61803399,  1.61803399,  1.61803399,  1.61803399,  1.61803399],
       [ 1.61803399,  1.61803399,  1.61803399,  1.61803399,  1.61803399],
       [ 1.61803399,  1.61803399,  1.61803399,  1.61803399,  1.61803399],
       [ 1.61803399,  1.61803399,  1.61803399,  1.61803399,  1.61803399]]))

In [8]: (ret, a_ret) = one_arg.one_arg(a)

In [9]: a_ret is a
Out[9]: True
</pre>
<p>So <code>a_ret</code> and <code>a</code> are the same python object, no copying took place!</p>
<p>I hope this was instructive.  A release is coming soon!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=61&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/07/31/features-everywhere-and-a-basic-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
		<item>
		<title>Milestone</title>
		<link>http://fortrancython.wordpress.com/2010/07/16/milestone/</link>
		<comments>http://fortrancython.wordpress.com/2010/07/16/milestone/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 05:28:51 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=58</guid>
		<description><![CDATA[Fwrap sucessfully wraps upwards of 97% of the more than 1500 routines in netlib&#8217;s LAPACK.  Oh yeah.  Granted this is pretty much all F77 code, but it works. The remaining 3% are related to a trivial feature, namely dimension(0:N) style array declarations that will be supported very soon. Much work has gone into the front [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=58&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Fwrap sucessfully wraps upwards of 97% of the more than 1500 routines in netlib&#8217;s LAPACK.  Oh yeah.  Granted this is pretty much all F77 code, but it works.</p>
<p>The remaining 3% are related to a trivial feature, namely dimension(0:N) style array declarations that will be supported very soon.</p>
<p>Much work has gone into the front end recently.  The commandline options are taking their final shape and I&#8217;ll be getting some improved documentation in the README tomorrow.  Feel free to take it out for a spin.</p>
<p>To try out fwrap from the mercurial repo, see http://fwrap.sourceforge.net/ for instructions and dependencies (numpy, cython &amp; a &#8220;modern-enough&#8221; Fortran 90 compiler).  Let me know any problems you may have.</p>
<p>Enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=58&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/07/16/milestone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick update</title>
		<link>http://fortrancython.wordpress.com/2010/07/12/quick-update/</link>
		<comments>http://fortrancython.wordpress.com/2010/07/12/quick-update/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 17:22:54 +0000</pubDate>
		<dc:creator>Kurt Smith</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortrancython.wordpress.com/?p=53</guid>
		<description><![CDATA[It&#8217;s been a while.  You&#8217;re wondering what&#8217;s been happening with fwrap. Thanks to a sprint at SciPy 2010, fwrap is quickly gaining parity with f2py.  Fwrap doesn&#8217;t yet have interface files working (and it won&#8217;t for the first release); neither does it support &#8216;common&#8217; blocks.  I&#8217;ve been focusing on F77-style function &#38; subroutine functionality. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=53&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while.  You&#8217;re wondering what&#8217;s been happening with fwrap.</p>
<p>Thanks to a sprint at SciPy 2010, fwrap is quickly gaining parity with f2py.  Fwrap doesn&#8217;t yet have interface files working (and it won&#8217;t for the first release); neither does it support &#8216;common&#8217; blocks.  I&#8217;ve been focusing on F77-style function &amp; subroutine functionality.</p>
<p>The main Fortran features currently supported:</p>
<ul>
<li>All intrinsic scalar datatypes, including with literal integer kind parameters</li>
<li>Arrays of intrinsic types &amp; literal kind params.</li>
<li>All dimension declarations (assumed shape, assumed size, explicit shape)</li>
<li>Runtime array dimension checking</li>
<li>Automatic type discovery</li>
</ul>
<p>Fwrap has a pretty good testsuite in place, both unittests &amp; integration tests.  They&#8217;re run frequently to ensure no regressions are introduced.</p>
<p>Kyle Mandli helped improve fwrap&#8217;s commandline interface during the fwrap sprint at SciPy 2010.  Those changesets have yet to be merged with the main repo, but when they are it will be a *big* improvement, and move fwrap much closer to the 0.1 release.  He also added logging functionality to fwrap and fparser &#8212; another big improvement.</p>
<p>I&#8217;ve been throwing some fairly big F77 (clawpack, lapack) and F90 (a UW-Madison inertial confinement simulation; thanks, Matt!) codebases at fparser to thresh out glaring bugs, and thus far I&#8217;ve been pleased.  No major problems, although I&#8217;d very much like to figure out how to test the AST generated by fparser for correctness.  Not sure how to do that yet.</p>
<p>Anyway, just a quick update.  Stay tuned!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortrancython.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortrancython.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortrancython.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortrancython.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortrancython.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortrancython.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortrancython.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortrancython.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortrancython.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortrancython.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortrancython.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortrancython.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortrancython.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortrancython.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortrancython.wordpress.com&amp;blog=7448735&amp;post=53&amp;subd=fortrancython&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortrancython.wordpress.com/2010/07/12/quick-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">freemalloc</media:title>
		</media:content>
	</item>
	</channel>
</rss>
