Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Setting AUTOMAKE_JOBS
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-09-27 08:51:03


On Sep 25, 2010, at 10:29 AM, Ralph Castain wrote:

> What I was trying (poorly) to propose is that this capability be done the traditional way of an option. To mimic 'make', I propose that we add a -j option to autogen.pl. If a value is given, then that is the number of parallel automake jobs we run. If no value is given, then we use Jeff's heuristic to determine the number to run. Obviously, setting the automake_jobs envar will have the same effect as -j.
>
> This gives us the best of both worlds while not surprising users. I'd be willing to help implement it, Jeff.

I have no objection; should be easy to implement. The syntax to set an environment variable in Perl is:

$ENV{AUTOMAKE_JOBS} = $value;

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/