LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brian Barrett (brbarret_at_[hidden])
Date: 2004-10-08 13:12:12


On Oct 8, 2004, at 10:52 AM, Christian Simon wrote:

> I use IBM's XLC/XLF under MacOSX Server 10.3.5. and I need fortran
> support,
> so I recompiled the lam-mpi libs (7.1 version, with 7.1.1, I did not
> tried), very simply:
>
> ./configure CC=xlc FC=xlf FFLAGS=-qextname --prefix=/usr/local/lam-7.1
> --with-trillium --disable-tv-queue --with-memory-manager=none
>
> Things work. Ok. But I would like to improve performances.
> What would you suggest (apart adding CFLAGS=-O3) ?

LAM generally doesn't see much speedup from one optimization level to
another - it just doesn't have much that a compiler can work with. So
the real question is what will help your application out. Apple has a
couple of pages up on optimizing applications for the G5, some of which
include information on the XL compilers. You might want to have a look
at their developer pages for more information:

   http://developer.apple.com/

> What is the configure command issued for the package (.dmg)
> distributed ?

   ./configure --prefix=PREFIX --with-rsh=ssh --without-fc \
               --without-cs-fs --enable-static --enable-shared

> Does it use gcc or another C compiler ?

gcc/g++, from the Developer Tools.

Hope this helps!

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/