Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] The --with-sge option
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-10-17 11:44:26


On Oct 16, 2008, at 12:06 PM, Mike Hanby wrote:

> I’m compiling 1.2.8 on a system with SGE 6.1u4 and came across the
> “--with-sge” option on a Grid Engine posting.
>
> A couple questions:
> 1. I don’t see --with-sge mentioned in the “./configure --help"
> output, nor can I find much reference to it on the open-mpi site, is
> this option really implemented? What does it do?

Sorry -- this is an option for OMPI v1.3 and later; it doesn't exist
in the v1.2 series.

[8:31] svbu-mpi:~/svn/ompi4 % ./configure --help |& grep sge
   --with-sge Build SGE or Grid Engine support (default:
no)

So in the v1.3 series, using --without-sge will disable OMPI from
understanding SGE host lists, etc.

> 2. After compiling openmpi providing the --with-sge switch I ran
> the ompi_info binary and grep’d for sge in the output, there isn’t
> any reference, should there be if the option was successfully passed
> to configure?

 From your second mail:

> I did find the following in ompi_info:
>
> MCA ras: gridengine (MCA v1.0, API v1.3, Component v1.2.7)
> MCA pls: gridengine (MCA v1.0, API v1.3, Component v1.2.7)
>
> However I see that in an ompi_info built without using the --with-
> sge switch.

Per above, that should be ok in the 1.2 series.

> Also, since I'm building 1.2.8, shouldn't those versions after
> Component reflect 1.2.8?

Yes, actually, they should... That's somewhat concerning.

> I set the PATH and LD_LIBRARY_PATH to point to the temp location of
> my new build and it still reports 1.2.7.

You might want to double check your setup. Since OMPI uses plugins,
it can be each to accidentally mix versions by installing one over
another, etc.

Note that the output from configure will also indicate whether it's
going to build SGE support, as well. Look in the stdout of configure
and search for "gridengine".

-- 
Jeff Squyres
Cisco Systems