[mpich-discuss] regarding parallel proramming error
Mahesh Doijade
maheshdoijade at gmail.com
Tue Aug 20 00:14:58 CDT 2013
The issue seems to be that you have probably not created a machinefile
which consists of node name to number of processes mapping and this file
should be present in the same dir. of the other nodes on which you are
launching other MPI processes, this is required in case you want to run the
MPI program across the two or more nodes, you can find more details of the
format in which this information has to be in the machinefile and the other
requisite steps need for running your MPI program across multiple nodes
from this link
http://wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager
Also, in order to launch the processes across multiple nodes you
need to do ssh passwordless login among those nodes, in case you are using
ssh as the connection mechanism, you can find more details about the
procedure for ssh passwordless login over here
http://www.techlitic.com/ssh-passwordless-login.html
Regards,
Mahesh Doijade,
http://www.techdarting.com/
On Tue, Aug 20, 2013 at 8:34 AM, Pavan Balaji <balaji at mcs.anl.gov> wrote:
>
> I'm pasting the error inline, for others' information.
>
> FYI, the error is "unable to open host file: machinefile".
>
> ----8<----
> mpirun -f machinefile -n 2 /home/urp/mpich-install/hello
> [mpiexec at masternode.csd.com] HYDU_parse_hostfile
> (./utils/args/args.c:323): unable to open host file: machinefile
> [mpiexec at masternode.csd.com] mfile_fn (./ui/mpich/utils.c:341): error
> parsing hostfile
> [mpiexec at masternode.csd.com] match_arg (./utils/args/args.c:153): match
> handler returned error
> [mpiexec at masternode.csd.com] HYDU_parse_array (./utils/args/args.c:175):
> argument matching returned error
> [mpiexec at masternode.csd.com] parse_args (./ui/mpich/utils.c:1609): error
> parsing input array
> [mpiexec at masternode.csd.com] HYD_uii_mpx_get_parameters
> (./ui/mpich/utils.c:1660): unable to parse user arguments
> [mpiexec at masternode.csd.com] main (./ui/mpich/mpiexec.c:153): error
> parsing parameters
> [root at masternode ~]#
> ----8<----
>
> On 08/19/2013 01:27 AM, urmila pol wrote:
>
>> Dear sir,
>>
>> I have attaching the screenshots of my errors please guide me .waiting
>> for reply.
>>
>>
>> With regards,
>>
>> Dr.Urmila R. Pol
>> Assistant Professor,
>> Department of computer Science,
>> Shivaji University, Kolhapur.
>>
>>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
> ______________________________**_________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/**mailman/listinfo/discuss<https://lists.mpich.org/mailman/listinfo/discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130820/3fb4a10a/attachment.html>
More information about the discuss
mailing list