[mpich-discuss] mpiexec

Reuti reuti at staff.uni-marburg.de
Tue Apr 8 15:33:38 CDT 2014


Am 07.04.2014 um 14:06 schrieb Mojtaba S. Moghani:

> After this commad : mpiexec -n 5 -f machinefile ./examples/cpi, it has some errors when run, errors like : 
> 
> 
>  HYDU_parse_hostfile (/home/mojtaba/libraries/mpich-3.1/src/pm/hydra/utils/args/args.c:319): unable to open host file: machinefile

Did you define a list of machines in this file, and is the file at the same location from where you issue the `mpiexec` command?

-- Reuti


> [mpiexec at Mojtaba] mfile_fn (/home/mojtaba/libraries/mpich-3.1/src/pm/hydra/ui/mpich/utils.c:336): error parsing hostfile
> [mpiexec at Mojtaba] match_arg (/home/mojtaba/libraries/mpich-3.1/src/pm/hydra/utils/args/args.c:152): match handler returned error
> [mpiexec at Mojtaba] HYDU_parse_array (/home/mojtaba/libraries/mpich-3.1/src/pm/hydra/utils/args/args.c:174): argument matching returned error
> [mpiexec at Mojtaba] parse_args (/home/mojtaba/libraries/mpich-3.1/src/pm/hydra/ui/mpich/utils.c:1596): error parsing input array
> [mpiexec at Mojtaba] HYD_uii_mpx_get_parameters (/home/mojtaba/libraries/mpich-3.1/src/pm/hydra/ui/mpich/utils.c:1648): unable to parse user arguments
> [mpiexec at Mojtaba] main (/home/mojtaba/libraries/mpich-3.1/src/pm/hydra/ui/mpich/mpiexec.c:153): error parsing parameters
> 
> 
> what is the problem?
> 
> thanks,
> 
>  
> -- 
> Mojtaba S. Moghani
> Faculty of Environment
> University of Tehran
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss




More information about the discuss mailing list