Blitz logo

Blitz Support :

From: Michael Cass (michaelcass_at_[hidden])
Date: 2005-05-09 03:01:24


Thanks for the reply, I have been using OSX10.3.9 and gcc3.3. I have
been unable to get the benchmarks to make from the make file. The only
bits of supplied code I
have tried compiling long hand have been the examples, which run slowly
and my own code which runs very slowly. It appears from what I have
foound elsewhere that there is a known problem with template heavy code
for gcc on OSX, there doesn't seem to be much indication anything has
been done to remedy it, but I may try gcc4.0 at some stage. In the
meantime since the blitz library was primarily being used for convience
sake in my code I have recoded without it (using vector stdlib instead).
Thanks for the reply, it looks like if I need to use blitz then IBM XL
C++ my well be a necessary investment.
cheers Michael

On Fri, 6 May 2005 17:38:18 -0700, "Julian Cummings"
<cummings_at_[hidden]> said:
> Hi Michael,
>
> We should be able to resolve these problems you are having. Which
> version
> of Mac OS X and which version of the compiler are you using? Have you
> tried
> building any of the benchmarks codes in blitz and running them to see
> what
> kind of performance they show? (Note that these benchmarks compare to
> Fortran loops and therefore require a Fortran compiler such as gfortran
> or
> g95.) I remember having similar problems using blitz with gcc on a Mac
> OS X
> machine, running out of memory or taking forever to compile. But the
> newer
> versions of the compiler have improved things quite a bit. Also, if
> you're
> willing to pay some money, Absoft sells a version of the IBM XL C++
> compiler
> for Mac OS X. I think this compiler has superior optimization
> capabilities
> to those of gcc-3.x.
>
> Regards, Julian C.
>
> Dr. Julian C. Cummings Office: PB-111
> Caltech/CACR, MC 158-79 Phone: 626-395-2543
> 1200 E. California Blvd. Fax: 626-584-5917
> Pasadena, CA 91125
>
>
> > -----Original Message-----
> > From: blitz-support-bounces_at_[hidden]
> > [mailto:blitz-support-bounces_at_[hidden]] On Behalf Of
> > Michael Cass
> > Sent: Wednesday, April 27, 2005 6:19 AM
> > To: blitz-support_at_[hidden]
> > Subject: [Blitz-support] blitz++ on OSX
> >
> > I have been trying to get code I have running on an
> > intel/linux box to run efficiently on a powermac G5. I had
> > previously got as far as make lib in the blitz install
> > process and left it there. My code compiles and runs but
> > extremely slowly (even with every available optomization I
> > could find turned on).
> > make-examples either gives an error about lack of virtual
> > memory (the machine has 2Gb of ram so memory shouldn't be a
> > problem) or complains about undeffined symbols for everything
> > from std:: and blitz::
> > Is there some problem with templates under osx? or am I
> > missing a simple option that would fix things?
> > thanks in anticipation.
> > Michael
> > _______________________________________________
> > Blitz-support mailing list
> > Blitz-support_at_[hidden]
> > http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
> >
>
>
> _______________________________________________
> Blitz-support mailing list
> Blitz-support_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support

-- 
  Michael Cass
  michaelcass_at_[hidden]