Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-05 Thread D. M. Monarres
The gcc44 build with port 1.8.2 on 10.6.3 isn't building for me. It
looks like it is failing while building gcj.

Switching compilers is often a ticket to trouble, is there a reason
for the switch to gcc44?


--
D. M. Monarres
dmmonar...@gmail.com



On Fri, Jun 4, 2010 at 10:06 AM, Bradley Giesbrecht b...@pixilla.com wrote:

 On Jun 2, 2010, at 4:37 PM, Ryan Schmidt wrote:

 What about this ticket where gcc44 can't be built on (some?) Leopard
 machines? Anybody else see this problem?

 http://trac.macports.org/ticket/20635

 To help close this ticket I built gcc44 on the following 2 systems without
 errors.
 port version 1.8.2 on osx 10.5.8 ppc970.
 port version 1.9.0rc2 on osx 10.5.8 i486.

 // Brad

 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-05 Thread Adam Mercer
On Sat, Jun 5, 2010 at 12:46, D. M. Monarres dmmonar...@gmail.com wrote:
 The gcc44 build with port 1.8.2 on 10.6.3 isn't building for me. It
 looks like it is failing while building gcj.

Which ticket is this?

Cheers

Adam
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-05 Thread D. M. Monarres
Haven't filed a report. Just ran into the error when they updated
atlas to use gcc44. Will do.

--
D. M. Monarres
dmmonar...@gmail.com



On Sat, Jun 5, 2010 at 11:23 AM, Adam Mercer r...@macports.org wrote:
 On Sat, Jun 5, 2010 at 12:46, D. M. Monarres dmmonar...@gmail.com wrote:
 The gcc44 build with port 1.8.2 on 10.6.3 isn't building for me. It
 looks like it is failing while building gcj.

 Which ticket is this?

 Cheers

 Adam
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-04 Thread Bradley Giesbrecht


On Jun 2, 2010, at 4:37 PM, Ryan Schmidt wrote:


What about this ticket where gcc44 can't be built on (some?) Leopard  
machines? Anybody else see this problem?


http://trac.macports.org/ticket/20635



To help close this ticket I built gcc44 on the following 2 systems  
without errors.


port version 1.8.2 on osx 10.5.8 ppc970.

port version 1.9.0rc2 on osx 10.5.8 i486.


// Brad

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-03 Thread Joshua Root
On 2010-6-3 14:59 , vincent habchi wrote:
 Le 2 juin 2010 à 23:13, Stephen Langer a écrit :
 
 I was wondering why anything depends on atlas at all.  Is atlas noticeably 
 better than the lapack and blas routines in the Accelerate framework?  I 
 couldn't find any comparisons on-line.
 
 I am unsure. But, as long as Apple does not state that its Blas and Lapack 
 libraries are OpenCL based, in which case they may be hundred times quicker 
 that CPU-thread-based Atlas, I am lead to believe that Atlas compiled with 
 the latest gcc45 should be more efficient than Apple blas or lapack, most 
 probably generated with gcc42 (the last GPL2 version) and backward-compatible 
 with MacOS 10.4 or 10.5; Maybe they can get better efficiency with 
 Clang/LLVM. However, I faintly remember comparing the Atlas built-in tests, 
 and there was a clear gap between gcc43 and gcc44. 
 
 It should not be very difficult to build up a test, like finding the 
 eigenvalues of a random but symmetric definite positive matrix of great size 
 (say : 50,000 x 50,000 or more) in Xcode, and link either with the built-in 
 framework or our Atlas.
 
 Cheers
 Vincent
 
 PS : Does Apple provide scipy in its Python distribution?

No, 'import scipy' fails, which agrees with this list:
http://opensource.apple.com/source/python_modules/python_modules-21/

- Josh
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-03 Thread LuKreme

On Jun 2, 2010, at 5:37 PM, Ryan Schmidt wrote:

 Do we care about Tiger anymore?

No.



-- 
Up the airy mountains, down the rushy glen...  From ghosties and bogles
and long-leggity beasties...  My mother said I never should...  We dare
not go a-hunting for fear...  And things that go bump...  Play with the
fairies in the wood... --Lords and Ladies

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-02 Thread Chris Jones
Hi,

 Is there a downside to having atlas depend on gcc44 while everything
 else depends on gcc43?  

Its just a little annoying that a package like atlas, which is a dependency of 
a dependency drags in a big build like gcc when I have no other reason for 
it... I understand that some packages may need a newer compiler than the 
standard OSX ones, but it would be nice if they could agree on which one ;)

Chris
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-02 Thread Stephen Langer

On Jun 2, 2010, at 3:35 PM, Chris Jones wrote:

 Hi,
 
 Is there a downside to having atlas depend on gcc44 while everything
 else depends on gcc43?  
 
 Its just a little annoying that a package like atlas, which is a dependency 
 of a dependency drags in a big build like gcc when I have no other reason 
 for it... I understand that some packages may need a newer compiler than the 
 standard OSX ones, but it would be nice if they could agree on which one ;)

I was wondering why anything depends on atlas at all.  Is atlas noticeably 
better than the lapack and blas routines in the Accelerate framework?  I 
couldn't find any comparisons on-line.

 -- Steve

--
-- stephen.lan...@nist.govTel: (301) 975-5423 --
-- http://math.nist.gov/mcsd/Staff/SLanger/   Fax: (301) 975-3553 --
-- NIST, 100 Bureau Drive, Stop 8910, Gaithersburg, Md 20899-8910 --

-- I don't think this will work.  That's why it's science.  --
-- Naomi Langer (age 6),  17 Feb 2003 --





___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-02 Thread Rainer Müller
On 06/02/2010 11:13 PM, Stephen Langer wrote:
 On Jun 2, 2010, at 3:35 PM, Chris Jones wrote:
 Its just a little annoying that a package like atlas, which is a
 dependency of a dependency drags in a big build like gcc when I
 have no other reason for it... I understand that some packages may
 need a newer compiler than the standard OSX ones, but it would be
 nice if they could agree on which one ;)
 
 I was wondering why anything depends on atlas at all.  Is atlas
 noticeably better than the lapack and blas routines in the Accelerate
 framework?  I couldn't find any comparisons on-line.

Yep, that's something I suggested some weeks ago, too [1]. I am sure
there are valid reasons to use our own atlas, but I don't know them.

Rainer

[1]
http://lists.macosforge.org/pipermail/macports-dev/2010-April/011682.html
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-02 Thread Ryan Schmidt
On Jun 2, 2010, at 14:35, Chris Jones wrote:

 Its just a little annoying that a package like atlas, which is a dependency 
 of a dependency drags in a big build like gcc when I have no other reason 
 for it... I understand that some packages may need a newer compiler than the 
 standard OSX ones, but it would be nice if they could agree on which one ;)

AFAIK there *was* a consensus to use gcc43 by default for science ports. I had 
not heard any update on that decision, and pointed this discrepancy out to 
Marcus who updated atlas and qrupdate to use gcc44 instead. See the mailing 
list link I sent you in a previous reply in this thread.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-02 Thread Adam Mercer
On Wed, Jun 2, 2010 at 17:40, Ryan Schmidt ryandes...@macports.org wrote:

 AFAIK there *was* a consensus to use gcc43 by default for science ports. I 
 had not heard any update on that decision, and pointed this discrepancy out 
 to Marcus who updated atlas and qrupdate to use gcc44 instead. See the 
 mailing list link I sent you in a previous reply in this thread.

That was a while ago so maybe it's time we revisit this? With my
py25-numpy and py2{5,6}-scipy maintainers hat on I'd vote for a switch
to gcc44 as the default compiler for scientific ports.

Cheers

Adam
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-02 Thread Ryan Schmidt

On Jun 2, 2010, at 18:05, Adam Mercer wrote:

 On Wed, Jun 2, 2010 at 17:40, Ryan Schmidt wrote:
 
 AFAIK there *was* a consensus to use gcc43 by default for science ports. I 
 had not heard any update on that decision, and pointed this discrepancy out 
 to Marcus who updated atlas and qrupdate to use gcc44 instead. See the 
 mailing list link I sent you in a previous reply in this thread.
 
 That was a while ago so maybe it's time we revisit this? With my
 py25-numpy and py2{5,6}-scipy maintainers hat on I'd vote for a switch
 to gcc44 as the default compiler for scientific ports.

Great! Now we're getting somewhere. :)

Before we go updating everything to gcc44, let's make sure gcc44 works 
everywhere we need it to.

Do we have any thoughts on the ticket where gcc44 can't be built on Tiger 
Intel? Anybody else see that problem or is it only on my machine? Do we care 
about Tiger anymore?

http://trac.macports.org/ticket/20753

What about this ticket where gcc44 can't be built on (some?) Leopard machines? 
Anybody else see this problem?

http://trac.macports.org/ticket/20635


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-02 Thread Adam Mercer
On Wed, Jun 2, 2010 at 18:37, Ryan Schmidt ryandes...@macports.org wrote:

 That was a while ago so maybe it's time we revisit this? With my
 py25-numpy and py2{5,6}-scipy maintainers hat on I'd vote for a switch
 to gcc44 as the default compiler for scientific ports.

 Great! Now we're getting somewhere. :)

 Before we go updating everything to gcc44, let's make sure gcc44 works 
 everywhere we need it to.

 Do we have any thoughts on the ticket where gcc44 can't be built on Tiger 
 Intel? Anybody else see that problem or is it only on my machine? Do we care 
 about Tiger anymore?

 http://trac.macports.org/ticket/20753

I haven't had access to a Tiger machine for a while, plus it's no
longer supported by Apple...

 What about this ticket where gcc44 can't be built on (some?) Leopard 
 machines? Anybody else see this problem?

 http://trac.macports.org/ticket/20635

I originally reported this ticket, but I successfully built gcc44 on
both an Intel and PPC Leopard machines earlier this week. Can't recall
when this started working for me, this one fell of my radar (probably
when I updated by main machine to Snow Leopard).

Cheers

Adam
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-02 Thread Scott Webster
On Jun 2, 2010, Stephen Langer wrote:

 I was wondering why anything depends on atlas at all.  Is atlas noticeably 
 better than the lapack and blas routines in the  Accelerate framework?  I 
 couldn't find any comparisons on-line.

I was wondering the same thing as well.  Since I am only installing
atlas to get gimp to work anyway I would prefer not to have to build
it for some miniscule speed increase in some obscure filter (if gimp
even actually ends up using any parts of blas or lapack, but I guess
it's possible it's important).

Scott
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-02 Thread vincent habchi
Le 2 juin 2010 à 23:13, Stephen Langer a écrit :

 I was wondering why anything depends on atlas at all.  Is atlas noticeably 
 better than the lapack and blas routines in the Accelerate framework?  I 
 couldn't find any comparisons on-line.

I am unsure. But, as long as Apple does not state that its Blas and Lapack 
libraries are OpenCL based, in which case they may be hundred times quicker 
that CPU-thread-based Atlas, I am lead to believe that Atlas compiled with the 
latest gcc45 should be more efficient than Apple blas or lapack, most probably 
generated with gcc42 (the last GPL2 version) and backward-compatible with MacOS 
10.4 or 10.5; Maybe they can get better efficiency with Clang/LLVM. However, I 
faintly remember comparing the Atlas built-in tests, and there was a clear gap 
between gcc43 and gcc44. 

It should not be very difficult to build up a test, like finding the 
eigenvalues of a random but symmetric definite positive matrix of great size 
(say : 50,000 x 50,000 or more) in Xcode, and link either with the built-in 
framework or our Atlas.

Cheers
Vincent

PS : Does Apple provide scipy in its Python distribution?
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-06-01 Thread Scott Webster
 On 2010-6-1 05:48 , Chris Jones wrote:
 Does it make sense that atlas requires two different compilers ??

 It doesn't actually, the flat registry just thinks it does.
 http://trac.macports.org/ticket/13054

 The default compiler used by atlas was recently switched from gcc43 to
 gcc44, which is additionally problematic in that this causes multiple
 gcc versions to be installed when installing some ports.
 http://trac.macports.org/ticket/25081

 - Josh

Is there a downside to having atlas depend on gcc44 while everything
else depends on gcc43?  Also, is it worthwhile to eliminate this
errant dependency now, rather than later (presumably by removing and
reinstalling atlas)?  I would guess that upcoming changes in 1.9 will
not retroactively solve such problems...

Scott

PS Is there any way to respond to a thread properly if you receive
digested mails from this list?  I assume that my just editing the
subject will not be sufficient for proper threading, we'll see...
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-05-31 Thread Ryan Schmidt

On May 31, 2010, at 14:48, Chris Jones wrote:

 Does it make sense that atlas requires two different compilers ??
 
 Chris-Jones-Macbook-Pro /opt/local  sudo port uninstall gcc43
 ---  Unable to uninstall gcc43 4.3.5_0, the following ports depend on it:
 ---  atlas
 ---  py26-numpy
 Error: port uninstall failed: Please uninstall the ports that depend on gcc43 
 first.
 Chris-Jones-Macbook-Pro /opt/local  sudo port uninstall gcc44
 ---  Unable to uninstall gcc44 4.4.4_1+darwin_10, the following ports depend 
 on it:
 ---  atlas
 Error: port uninstall failed: Please uninstall the ports that depend on gcc44 
 first.
 Chris-Jones-Macbook-Pro /opt/local  

It doesn't; it requires gcc42 (if you use the gcc42 variant), gcc43 (if you use 
the gcc43 variant), or gcc44 (if you use neither). If you previously had atlas 
installed, it used gcc43 exclusively; now, it uses gcc44 by default. Upgrading 
from the old atlas to the new atlas may not have completely updated your 
registry. (This happens if you have multiple versions of a port installed -- 
any dependencies it used to have but doesn't anymore don't get removed from the 
registry.) You could fix this by uninstalling all copies of atlas, then 
installing atlas again. Then it will correctly indicate that it only uses gcc44 
at the moment. Or if you would rather use gcc43 for both atlas and py26-numpy, 
and not need gcc44, rebuild atlas with the gcc43 variant.

See also my remark about whether it was wise to change atlas' default compiler:

http://lists.macosforge.org/pipermail/macports-dev/2010-May/012050.html



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: atlas depends on gcc43 *and* gcc44 ???

2010-05-31 Thread Joshua Root
On 2010-6-1 05:48 , Chris Jones wrote:
 Hi,
 
 Does it make sense that atlas requires two different compilers ??
 
 Chris-Jones-Macbook-Pro /opt/local  sudo port uninstall gcc43
 ---  Unable to uninstall gcc43 4.3.5_0, the following ports depend on it:
 ---  atlas
 ---  py26-numpy
 Error: port uninstall failed: Please uninstall the ports that depend on gcc43 
 first.
 Chris-Jones-Macbook-Pro /opt/local  sudo port uninstall gcc44
 ---  Unable to uninstall gcc44 4.4.4_1+darwin_10, the following ports depend 
 on it:
 ---  atlas
 Error: port uninstall failed: Please uninstall the ports that depend on gcc44 
 first.
 Chris-Jones-Macbook-Pro /opt/local  

It doesn't actually, the flat registry just thinks it does.
http://trac.macports.org/ticket/13054

The default compiler used by atlas was recently switched from gcc43 to
gcc44, which is additionally problematic in that this causes multiple
gcc versions to be installed when installing some ports.
http://trac.macports.org/ticket/25081

- Josh
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users