Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Building 1.4.x on mac snow leopard with intel compilers
From: Glass, Micheal W (mwglass_at_[hidden])
Date: 2010-05-24 10:45:04


Yes, I'm sure I'm picking up the newly built version. I've run ompi_info to verify my path is correct.

I've have a little more information now... I rebuilt openmpi 1.4.2 with the '--enable-debug' option to configure and when I run a simple mpi program on 2 processors with an MPI_Reduce() call:

MPI_Reduce(&mypi, &pi, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD);

I see:

[macsierra:89600] *** An error occurred in MPI_Reduce: the reduction operation MPI_SUM is not defined on the MPI_DOUBLE datatype
[macsierra:89600] *** on communicator MPI_COMM_WORLD
[macsierra:89600] *** MPI_ERR_OP: invalid reduce operation
[macsierra:89600] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)

Thanks,
Mike

> On May 23, 2010, at 12:43 PM, Doug Reeder wrote:
> Mike,
> Are you sure that you are getting the openmpi that you built and not
> the one supplied w/ OS X. I use modules to make sure that I am getting
> the openmpi version I build instead of the OS X suppleid version.
> Doug Reeder
> On May 23, 2010, at 10:45 AM, Glass, Micheal W wrote:
> > I'm having problems building a working version of openmpi 1.4.1/2 on
> > a new Apple Mac Pro (dual quad-core nehalem processors) running snow
> > leopard (10.6.3) with the Intel 11.1 compilers. I've tried the Intel
> > 11.1.084 and 11.1.088 versions of the compilers. Everything appears
> > to build just fine and some mpi test programs run but whenever I run
> > a program with an MPI_Reduce() or MPI_Allreduce() I get a segfault
> > (even with np=1). I'm building openmpi with:
> >
> > configure -without-xgrid -prefix=<my install path> CC=icc CXX=icpc
> > F77=ifort FC=ifort
> >
> > When I build openmpi 1.4.1/2 with the GNU 4.3 compilers (installed
> > via macports) using:
> >
> > configure -without-xgrid -prefix=<my install path> CC=gcc-mp-4.3
> > CXX=g++-mp-4.3 F77=gfortran-mp-4.3 FC=gfortran-mp-4.3
> >
> > all my mpi tests (6000+) run fine. Any help would be appreciated.
> >
> > Thanks,
> > Mike