[mpich-discuss] specifying hosts with hydra in the configfile

Pavan Balaji balaji at mcs.anl.gov
Sat Aug 14 22:12:32 CDT 2010


host/hosts/hostlist is a global parameter that affects all executables. 
Can you try this:

% mpiexec -hostlist node01:5,node02:4,node03:2 -n 5 ./exec1 : -n 4 
./exec2 : -n 2 ./exec3

  -- Pavan

On 08/14/2010 09:30 PM, Camilo Rostoker wrote:
> Hi,
>
> How can I specify which host a given executable should run on?
>
> Before migrating to hydra, I had an configfile which had lines like the
> following:
>
> -n 5 -host node01 executable1
> -n 4 -host node02 executable2
> -n 2 -host node03 executable3
>
> this let me specify which hosts each executable should run on.
>
> If I use this configfile format with hydra, I get the following error
>
> "duplicate host file or host list setting"
>
> I'm using the latest build of hydra (1.3.b1)
>
> Thanks in advance for any help on this matter.
>
> Cheers,
> Camilo
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list