[mpich-discuss] Hard-coded path to mpiexec.hydra.conf (1.4, 1.5)

Yauheni Zelenko zelenko at cadence.com
Thu Jul 12 12:46:32 CDT 2012

Hi, Pavan!

Thank you for help!

However will be good idea to disable check of file in install location at all.

Or there should be way to specify install location in run-time with environment variable or command-line option (OpenMPI uses OPAL_PREFIX and --prefix correspondingly).

Other files affected are mpi compilation scripts (mpicc, etc), MPE scripts, libtool generated files, packages, makefiles.

Easy way to check - to compile MPICH2 in your home directory, install it and grep installed files for your login name.

From: Pavan Balaji [balaji at mcs.anl.gov]
Sent: Thursday, July 12, 2012 10:26 AM
To: mpich-discuss at mcs.anl.gov
Cc: Yauheni Zelenko
Subject: Re: [mpich-discuss] Hard-coded path to mpiexec.hydra.conf (1.4, 1.5)

Thanks.  I've fixed this in r10004.  Now the priority order for the
config file:

1. Command line

2. Environment variable

3. Home directory

4. Install directory

  -- Pavan

On 07/11/2012 06:37 PM, Yauheni Zelenko wrote:
> Hi!
> Hydra always try to open mpiexec.hydra.conf file in original install path location in HYD_uii_mpx_get_parameters() if such file is not found in user's home directory.
> We ship pre-built MPICH2 with our application to customers, where original install path is invalid.
> I think will be good idea to rely on environment variable instead of hard-coded path.
> Eugene.
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

Pavan Balaji

More information about the mpich-discuss mailing list