newforrestgump001 / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

Wishlist: gfortran #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Fortran (77/90) is quite extensively used language in scientific computing.
It might be useful to have the GFortran compiler available out-of-the-box
in Python(x,y) distribution, similarly as Mingw is.

AFAIK, Gfortran is not included in the Mingw distribution. However, it
appears that the GFortran windows binaries available here:
http://gcc.gnu.org/wiki/GFortranBinaries work nicely enough. (They however,
contain a copy of the proper version of gcc, which I think is not the same
as that included with plain Mingw.)

Original issue reported on code.google.com by pvi...@gmail.com on 20 Oct 2008 at 11:22

GoogleCodeExporter commented 9 years ago
If the gcc version distributed with GFortran is not the same as that included in
MinGW, do you know if it's possible to install & use both GFortran and MinGW on 
the
same machine? (I sense an issue with the environment variables...)

Original comment by pierre.raybaut on 22 Oct 2008 at 8:09

GoogleCodeExporter commented 9 years ago
I've used the GFortran (mingw) binary from the GFortran wiki alongside Pythonxy 
to
compile Python modules. I'm not sure which version of gcc was used in the end, 
but no
problems appeared.

Of course, one question is whether bundling is sensible given that GFortran 
installer
is available from the net. But I think that not that many people are aware of 
that
Gfortran exists and that it is available on Windows...

Original comment by pvi...@gmail.com on 22 Oct 2008 at 8:55

GoogleCodeExporter commented 9 years ago
The fact is GFortran is based on GCC 4.x which is still in alpha version. 
Apparently,
GCC 4.x won't be integrated in MinGW - as well as GFortran - until the number of
regressions has been reduced.

So, the only stable version is GCC 3.4.5 (that is for win32 of course).
As a consequence, I think I can't include GFortran in Python(x,y) except if I 
can
dissociate it from GCC 4.x.

Of course, I completely agree with you on the fact that it would be interesting 
to
have a Fortran 90 compiler in Python(x,y). So, I'll see what I can do to include
GFortran without affecting the MinGW 3.4.5 install.

Original comment by pierre.raybaut on 24 Oct 2008 at 8:04

GoogleCodeExporter commented 9 years ago

Original comment by pierre.raybaut on 24 Oct 2008 at 8:04

GoogleCodeExporter commented 9 years ago
What about G95?
Are you familiar with it?

It seems compatible with gcc 3.x:
http://www.g95.org/

Original comment by pierre.raybaut on 2 Nov 2008 at 3:40

GoogleCodeExporter commented 9 years ago

Original comment by pierre.raybaut on 17 Jan 2009 at 8:10

GoogleCodeExporter commented 9 years ago
Many thanks! The most recent Python(x,y) includes GFortran, so this wishlist 
item can
be closed as fixed.

Original comment by pvi...@gmail.com on 19 Oct 2009 at 12:35

GoogleCodeExporter commented 9 years ago
Good point ;)
You're welcome... almost one year later!

Original comment by pierre.raybaut on 19 Oct 2009 at 7:45

GoogleCodeExporter commented 9 years ago

Original comment by pierre.raybaut on 29 Mar 2010 at 10:11