great! thanks :)
-- michael
On Wed, Mar 14, 2007 at 09:40:25AM -0600, Brian Barrett wrote:
> Hi -
>
> LAM requires that the C++ compiler used to build the C++ bindings have
> exceptions support. The -mp option to pgCC turns off exception support
> in the C++ compiler. You have two options:
>
> 1) don't build the C++ bindings (--without-mpi2cpp)
> 2) don't use the -mp option
>
> The -mp option appears to turn on OpenMP support. LAM/MPI doesn't
> contain OpenMP directives and I certainly wouldn't recommend building
> LAM with that option. In general, I recommend using the bare minimum
> number of compiler optimizations needed when compiling LAM/MPI. They
> generally have no impact on performance and generally cause all kinds of
> gremlins. I'd limit the PGI options to build LAM/MPI to "-g -O3" and
> maybe -Knoieee if you are building your app that way, so that the
> floating point stuff all works out. Your MPI application can still use
> all the optimization flags you can throw at the compiler.
>
> Brian
>
|