Re: [f2py] gfortran instead of g77
Allen Cogbill <[email protected]> Fri, 07 Feb 2014 09:11:45 -0700
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============8688264954691728706== Content-Type: multipart/alternative; boundary="------------050308030508090003080103" This is a multi-part message in MIME format. --------------050308030508090003080103 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks, this worked. I didn't see gnu95 in the docs or the source -- must have missed it. On 2/7/2014 00:11, Sturla Molden wrote: > Allen Cogbill <[email protected]> wrote: >> I've used F2py for a couple of years with MinGW, but now, on a new >> machine with a new compiler set, I haven't been able to build any >> extension modules, as F2py searches for g77/f77 or g90/f90 -- my current >> MinGW setup comes with gfortran. I have FC_VENDOR set to gnu, but F2py >> still fails. Is there a relatively easy workaround for this? > > f2py --fcompiler=gnu95 foobar.f > > > _______________________________________________ > f2py-users mailing list > f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] > http://cens.ioc.ee/mailman/listinfo/f2py-users > --------------050308030508090003080103 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="moz-cite-prefix"><font face="Consolas">Thanks, this worked. I didn't see gnu95 in the docs or the source -- must have missed it.<br> <br> On 2/7/2014 00:11, Sturla Molden wrote:<br> </font></div> <blockquote cite="mid:200917702413449756.278519sturla.molden-gmail.com-2AO0Uh8ossnZ+VzJOa5vwg@public.gmane.org" type="cite"> <pre wrap=""><font face="Consolas">Allen Cogbill <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a> wrote: </font></pre> <blockquote type="cite"> <pre wrap=""><font face="Consolas">I've used F2py for a couple of years with MinGW, but now, on a new machine with a new compiler set, I haven't been able to build any extension modules, as F2py searches for g77/f77 or g90/f90 -- my current MinGW setup comes with gfortran. I have FC_VENDOR set to gnu, but F2py still fails. Is there a relatively easy workaround for this? </font></pre> </blockquote> <pre wrap=""><font face="Consolas"> f2py --fcompiler=gnu95 foobar.f _______________________________________________ f2py-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:f2py-users-Y4l6ocDipWCuvFJfX82//[email protected]">f2py-users-Y4l6ocDipWCuvFJfX82//[email protected]</a> <a class="moz-txt-link-freetext" href="http://cens.ioc.ee/mailman/listinfo/f2py-users">http://cens.ioc.ee/mailman/listinfo/f2py-users</a> </font></pre> </blockquote> <font face="Consolas"><br> <br> </font> </body> </html> --------------050308030508090003080103-- --===============8688264954691728706== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ f2py-users mailing list f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] http://cens.ioc.ee/mailman/listinfo/f2py-users --===============8688264954691728706==--