[sage-devel] Re: g95 - can we simply forget it exists? - patches posted!

2010-09-14 Thread kcrisman
> > > It will be especially interesting to see this working on 10.4 and > > > 10.6, and on 10.5 intel. And on 64bit. > For 10.4 you can install the bundle provided onhttp://r.research.att.com/, > as we discussed in this thread, and I thought > I pointed it out that that 10.4-specific bundle (10.4u

[sage-devel] Re: g95 - can we simply forget it exists? - patches posted!

2010-09-13 Thread Dima Pasechnik
On Sep 13, 10:45 pm, kcrisman wrote: > On Sep 12, 4:26 am, Dima Pasechnik wrote: > > > OK, here > > goes:http://boxen.math.washington.edu/home/dima/patches/gfortran-macosx.tgz > > Instructions are included. > > To apply patches, follow instructions > > onhttp://sagemath.org/doc/developer/walk

[sage-devel] Re: g95 - can we simply forget it exists? - patches posted!

2010-09-13 Thread kcrisman
On Sep 12, 4:26 am, Dima Pasechnik wrote: > OK, here > goes:http://boxen.math.washington.edu/home/dima/patches/gfortran-macosx.tgz > Instructions are included. > To apply patches, follow instructions > onhttp://sagemath.org/doc/developer/walk_through.html#reviewing-patches... > > I tested that

Re: [sage-devel] Re: g95 - can we simply forget it exists?

2010-09-13 Thread David Kirkby
On 12 September 2010 10:29, Dima Pasechnik wrote: > > > On Sep 12, 5:14 pm, David Kirkby wrote: >> On 12 September 2010 10:03, Dima Pasechnik wrote: >> >> > Dave, >> > this is meant to be MacOSX-specific, for testing of the concept. >> > If this flies on 10.x for x!=5, with hardware not necessar

[sage-devel] Re: g95 - can we simply forget it exists? - patches posted!

2010-09-12 Thread Dima Pasechnik
OK, after updating one of the patches I posted (the numpy one), all tests pass for me! (must be testlong for my slow machine :)) I added the update here: http://boxen.math.washington.edu/home/dima/patches/gfortran-macosx.tgz Dima On Sep 12, 4:26 pm, Dima Pasechnik wrote: > OK, here > goes:http

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-12 Thread Dima Pasechnik
On Sep 12, 5:14 pm, David Kirkby wrote: > On 12 September 2010 10:03, Dima Pasechnik wrote: > > > Dave, > > this is meant to be MacOSX-specific, for testing of the concept. > > If this flies on 10.x for x!=5, with hardware not necessarily PPC, > > then we are in business > > and can go this way

Re: [sage-devel] Re: g95 - can we simply forget it exists?

2010-09-12 Thread David Kirkby
On 12 September 2010 10:03, Dima Pasechnik wrote: > Dave, > this is meant to be MacOSX-specific, for testing of the concept. > If this flies on 10.x for x!=5, with hardware not necessarily PPC, > then we are in business > and can go this way. > > Dima But the point is the SAGE_FORTRAN variable is

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-12 Thread Dima Pasechnik
Dave, this is meant to be MacOSX-specific, for testing of the concept. If this flies on 10.x for x!=5, with hardware not necessarily PPC, then we are in business and can go this way. Dima On Sep 12, 4:35 pm, David Kirkby wrote: > On 12 September 2010 08:33, Dima Pasechnik wrote: > > > > > On Se

Re: [sage-devel] Re: g95 - can we simply forget it exists?

2010-09-12 Thread David Kirkby
On 12 September 2010 08:33, Dima Pasechnik wrote: > > > On Sep 12, 2:38 am, Dima Pasechnik wrote: >> I got stuck at scipy: >> > > I have fixed this by making changes in numpy's patch for gnu.py. > The complete build of Sage-4.5.3.has successfully finished now. > I'll post the necessary patched, a

[sage-devel] Re: g95 - can we simply forget it exists? - patches posted!

2010-09-12 Thread Dima Pasechnik
OK, here goes: http://boxen.math.washington.edu/home/dima/patches/gfortran-macosx.tgz Instructions are included. To apply patches, follow instructions on http://sagemath.org/doc/developer/walk_through.html#reviewing-patches-with-queues I tested that is builds Sage 4.5.3 on MacOSX 10.5 ppc (32 bit,

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-12 Thread Dima Pasechnik
On Sep 12, 2:38 am, Dima Pasechnik wrote: > I got stuck at scipy: > I have fixed this by making changes in numpy's patch for gnu.py. The complete build of Sage-4.5.3.has successfully finished now. I'll post the necessary patched, and the test results, shortly. > In the log below, the line begi

Re: [sage-devel] Re: g95 - can we simply forget it exists?

2010-09-11 Thread Ondrej Certik
On Sat, Sep 11, 2010 at 6:29 PM, kcrisman wrote: > >> Is there any reason whatsoever to have g95 code in ATLAS, given we don't >> build >> ATLAS on OS X? > > No opinion - this sounds fine, but is beyond my knowledge. > >> > One more question about Mac --- how do you install gcc in there? Using >>

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-11 Thread kcrisman
> Is there any reason whatsoever to have g95 code in ATLAS, given we don't build > ATLAS on OS X? No opinion - this sounds fine, but is beyond my knowledge. > > One more question about Mac --- how do you install gcc in there? Using > > xcode? So I would just ship gfortran binary that is compatib

Re: [sage-devel] Re: g95 - can we simply forget it exists?

2010-09-11 Thread Dr. David Kirkby
On 09/12/10 01:07 AM, kcrisman wrote: a) why sage used g95 in the first place (yes I know it's smaller, but it's not standard at all imho) Agreed. I can't see the point of it. Apparently because there was no gfortran for certain platforms. Now we assume Linuces (?) have this, but as Dima d

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-11 Thread kcrisman
> > a) why sage used g95 in the first place (yes I know it's smaller, but > > it's not standard at all imho) > > Agreed. I can't see the point of it. > Apparently because there was no gfortran for certain platforms. Now we assume Linuces (?) have this, but as Dima demonstrates, with OS X 10.4, so

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-11 Thread Dima Pasechnik
I got stuck at scipy: In the log below, the line beginning with "sage_fortran -Wall -shared -Wall -shared -undefined dynamic_lookup - bundle..." definitely looks weird, as -shared option should not be there... (I must also say that the error message looks weird, too, as there is no option -dynamic

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread kcrisman
On Sep 10, 2:31 pm, Dima Pasechnik wrote: > On Sep 11, 1:31 am, kcrisman wrote: > > > > > > Buthttp://r.research.att.com/tools/#gcc42provideshttp://r.research.att.c... > > > which will do the installation of "10.4u", whatever this means, > > > Yeah, I'm not sure what this is either, > > > > App

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread Dima Pasechnik
On Sep 11, 1:31 am, kcrisman wrote: > > Buthttp://r.research.att.com/tools/#gcc42provideshttp://r.research.att.c... > > which will do the installation of "10.4u", whatever this means, > > Yeah, I'm not sure what this is either, > > > Apple's SDK with gcc42 and gfortran42. > > > So yes, it's the

Re: [sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread Justin C. Walker
On Sep 10, 2010, at 10:31 AM, kcrisman wrote: Buthttp://r.research.att.com/tools/#gcc42provideshttp:// r.research.att.com/tools/gcc-4.2-5566-darwin8-all.tar.gz which will do the installation of "10.4u", whatever this means, Yeah, I'm not sure what this is either, I'll guess: 10.4 "univer

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread kcrisman
> Buthttp://r.research.att.com/tools/#gcc42provideshttp://r.research.att.com/tools/gcc-4.2-5566-darwin8-all.tar.gz > which will do the installation of "10.4u", whatever this means, Yeah, I'm not sure what this is either, > Apple's SDK with gcc42 and gfortran42. > > So yes, it's the missing gcc42

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread Dima Pasechnik
On Sep 10, 10:38 pm, kcrisman wrote: > On Sep 10, 9:34 am, Dima Pasechnik wrote: > > > > > > > On Sep 10, 8:53 pm, kcrisman wrote: > > > > On Sep 10, 2:36 am, Dima Pasechnik wrote: > > > > > After some trial and error, I came > > > > acrosshttp://r.research.att.com/tools/#gcc42 > > > > I men

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread kcrisman
> But, as I said, gfortran integrated with Xcode's gcc is available > athttp://r.research.att.com/tools/#gcc42, so there is really > no point in having g95 in Sage at all! Right, *if* it's easy to get this to play along with existing Xcode installations. If Sage can somehow detect this situatio

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread kcrisman
On Sep 10, 9:34 am, Dima Pasechnik wrote: > On Sep 10, 8:53 pm, kcrisman wrote: > > > On Sep 10, 2:36 am, Dima Pasechnik wrote: > > > > After some trial and error, I came > > > acrosshttp://r.research.att.com/tools/#gcc42 > > > I mentioned this link in one of my (many) posts on this thread -

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread Dima Pasechnik
Dave, On Sep 10, 6:48 pm, "Dr. David Kirkby" wrote: > On 09/10/10 07:36 AM, Dima Pasechnik wrote: > > > So yes, it seems that g95 can be dropped this way, but this is a > > considerable amount of work. > > Dima, > > I would not waste any time on this - the gains do not warrant much work. indeed.

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread Dima Pasechnik
On Sep 10, 8:53 pm, kcrisman wrote: > On Sep 10, 2:36 am, Dima Pasechnik wrote: > > > After some trial and error, I came > > acrosshttp://r.research.att.com/tools/#gcc42 > > I mentioned this link in one of my (many) posts on this thread - sorry > if I didn't highlight it more. > > > that descr

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread kcrisman
On Sep 10, 2:36 am, Dima Pasechnik wrote: > After some trial and error, I came > acrosshttp://r.research.att.com/tools/#gcc42 I mentioned this link in one of my (many) posts on this thread - sorry if I didn't highlight it more. > that describes a process of building gfortran using Xcode gcc-4

Re: [sage-devel] Re: g95 - can we simply forget it exists?

2010-09-10 Thread Dr. David Kirkby
On 09/10/10 07:36 AM, Dima Pasechnik wrote: So yes, it seems that g95 can be dropped this way, but this is a considerable amount of work. Dima, I would not waste any time on this - the gains do not warrant much work. The amount of work would decrease if we drop MacOSX 10.4 from the list of

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread Dima Pasechnik
After some trial and error, I came across http://r.research.att.com/tools/#gcc42 that describes a process of building gfortran using Xcode gcc-4.2 (available since Xcode release 3.1.1, at least --- current is Xcode 3.1.4 released Sept 2009). This will work on both PPC and Intel Macs running at MacO

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread kcrisman
On Sep 9, 12:31 pm, Dima Pasechnik wrote: > I didn't build sage on my G4 since 4.3.4, and there gfortran points to > something I got from fink. > So I must have built Sage using fink's gfortran, built against > gcc-4.3.4 ? Hmm. > OK, let me try the current release and see if I get anywhere. > (I

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread Dima Pasechnik
I didn't build sage on my G4 since 4.3.4, and there gfortran points to something I got from fink. So I must have built Sage using fink's gfortran, built against gcc-4.3.4 ? Hmm. OK, let me try the current release and see if I get anywhere. (It will take a while...) Dima On Sep 9, 11:20 pm, kcrism

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread kcrisman
### > > 2) The next question is whether we should remove *all* code in Sage > that make a distinction between g95 and gfortran. I propose that Sage > still allows one to specify a Fortran compiler with SAGE_FORTRAN, but > if that's not set, it jus

Re: [sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread David Kirkby
On 9 September 2010 15:33, kcrisman wrote: >> > > William said here >> >> > >http://groups.google.com/group/sage-devel/browse_thread/thread/1b6235... >> >> > > "Probably the only platforms that get g95 are older OS X." >> >> > It seems like PowerPC gets it. >> >> Well, I run MacOSX 10.5 on my PPC

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread kcrisman
Okay, I finally figured out how to check this - I had to run the binary directly, the scripts didn't work because of the way they're used (since gfortran isn't in my PATH, of course): G95 (GCC 4.0.3 (g95 0.91!) Jun 4 2007) Dima, can you look at your $SAGE_LOCAL/bin/sage_fortran and tell us what i

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread kcrisman
> Unsurprisingly, the R project has a site (http://r.research.att.com/ > tools/) with links to lots of Fortran compilers, including apparently > one gfortran one which would work on 10.4 (?). Though apparently one then also needs to download a newer-built Xcode - a custom one which has gcc 4.2 (a

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread kcrisman
> > > William said here > > > >http://groups.google.com/group/sage-devel/browse_thread/thread/1b6235... > > > > "Probably the only platforms that get g95 are older OS X." > > > It seems like PowerPC gets it. > > Well, I run MacOSX 10.5 on my PPC (G4), and I have gfortran. Can you give me a command

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread Dima Pasechnik
On Sep 9, 9:05 pm, kcrisman wrote: > On Sep 9, 5:09 am, "Dr. David Kirkby" wrote: > > > > > > > There's odd bits code scattered around in Sage that do tests for g95, which > > is > > an old Fortran 95 compiler that in any modern Linux or Unix systems. > > > According to Wikipedia > > >http://e

[sage-devel] Re: g95 - can we simply forget it exists?

2010-09-09 Thread kcrisman
On Sep 9, 5:09 am, "Dr. David Kirkby" wrote: > There's odd bits code scattered around in Sage that do tests for g95, which is > an old Fortran 95 compiler that in any modern Linux or Unix systems. > > According to Wikipedia > > http://en.wikipedia.org/wiki/G95 > > gfortran was forked from g95 in