<div dir="ltr">Can you attached your machinefile, your code and detailed error output.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 20, 2013 at 4:11 PM, urmila pol <span dir="ltr"><<a href="mailto:urmilec@gmail.com" target="_blank">urmilec@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear sir,<br>
<br>
I was given following command it will give floating point error .<br>
#mpirun -f mfile -np 2 hello4<br>
Floating point exception<br>
<br>
if I give following it will execute for single node<br>
<br>
[root@masternode ~]# mpirun -np 2 hello4<br>
Hello world from processor <a href="http://masternode.csd.com" target="_blank">masternode.csd.com</a>, rank 0 out of 2 processors<br>
Hello world from processor <a href="http://masternode.csd.com" target="_blank">masternode.csd.com</a>, rank 1 out of 2 processors<br>
[root@masternode ~]#<br>
<br>
Please guide me for above error .waiting for ur reply.<br>
<div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
On 8/20/13, urmila pol <<a href="mailto:urmilec@gmail.com">urmilec@gmail.com</a>> wrote:<br>
> I do everything now i have one error flaoting point exception i am<br>
> running my program now<br>
> waiting for ur reply<br>
><br>
> With regards,<br>
><br>
> Dr.Urmila R. Pol<br>
> Assistant Professor,<br>
> Department of computer Science,<br>
> Shivaji University, Kolhapur.<br>
><br>
><br>
> On Tue, Aug 20, 2013 at 10:44 AM, Mahesh Doijade<br>
> <<a href="mailto:maheshdoijade@gmail.com">maheshdoijade@gmail.com</a>>wrote:<br>
><br>
>><br>
>> The issue seems to be that you have probably not created a<br>
>> machinefile which consists of node name to number of processes mapping<br>
>> and<br>
>> this file should be present in the same dir. of the other nodes on which<br>
>> you are launching other MPI processes, this is required in case you want<br>
>> to<br>
>> run the MPI program across the two or more nodes, you can find more<br>
>> details<br>
>> of the format in which this information has to be in the machinefile and<br>
>> the other requisite steps need for running your MPI program across<br>
>> multiple<br>
>> nodes from this link<br>
>> <a href="http://wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager" target="_blank">http://wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager</a><br>
>> Also, in order to launch the processes across multiple nodes you<br>
>> need to do ssh passwordless login among those nodes, in case you are<br>
>> using<br>
>> ssh as the connection mechanism, you can find more details about the<br>
>> procedure for ssh passwordless login over here<br>
>> <a href="http://www.techlitic.com/ssh-passwordless-login.html" target="_blank">http://www.techlitic.com/ssh-passwordless-login.html</a><br>
>><br>
>><br>
>> Regards,<br>
>> Mahesh Doijade,<br>
>> <a href="http://www.techdarting.com/" target="_blank">http://www.techdarting.com/</a><br>
>><br>
>><br>
>> On Tue, Aug 20, 2013 at 8:34 AM, Pavan Balaji <<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>> wrote:<br>
>><br>
>>><br>
>>> I'm pasting the error inline, for others' information.<br>
>>><br>
>>> FYI, the error is "unable to open host file: machinefile".<br>
>>><br>
>>> ----8<----<br>
>>> mpirun -f machinefile -n 2 /home/urp/mpich-install/hello<br>
>>> [<a href="mailto:mpiexec@masternode.csd.com">mpiexec@masternode.csd.com</a>] HYDU_parse_hostfile<br>
>>> (./utils/args/args.c:323): unable to open host file: machinefile<br>
>>> [<a href="mailto:mpiexec@masternode.csd.com">mpiexec@masternode.csd.com</a>] mfile_fn (./ui/mpich/utils.c:341): error<br>
>>> parsing hostfile<br>
>>> [<a href="mailto:mpiexec@masternode.csd.com">mpiexec@masternode.csd.com</a>] match_arg (./utils/args/args.c:153): match<br>
>>> handler returned error<br>
>>> [<a href="mailto:mpiexec@masternode.csd.com">mpiexec@masternode.csd.com</a>] HYDU_parse_array (./utils/args/args.c:175):<br>
>>> argument matching returned error<br>
>>> [<a href="mailto:mpiexec@masternode.csd.com">mpiexec@masternode.csd.com</a>] parse_args (./ui/mpich/utils.c:1609): error<br>
>>> parsing input array<br>
>>> [<a href="mailto:mpiexec@masternode.csd.com">mpiexec@masternode.csd.com</a>] HYD_uii_mpx_get_parameters<br>
>>> (./ui/mpich/utils.c:1660): unable to parse user arguments<br>
>>> [<a href="mailto:mpiexec@masternode.csd.com">mpiexec@masternode.csd.com</a>] main (./ui/mpich/mpiexec.c:153): error<br>
>>> parsing parameters<br>
>>> [root@masternode ~]#<br>
>>> ----8<----<br>
>>><br>
>>> On 08/19/2013 01:27 AM, urmila pol wrote:<br>
>>><br>
>>>> Dear sir,<br>
>>>><br>
>>>> I have attaching the screenshots of my errors please guide me .waiting<br>
>>>> for reply.<br>
>>>><br>
>>>><br>
>>>> With regards,<br>
>>>><br>
>>>> Dr.Urmila R. Pol<br>
>>>> Assistant Professor,<br>
>>>> Department of computer Science,<br>
>>>> Shivaji University, Kolhapur.<br>
>>>><br>
>>>><br>
>>> --<br>
>>> Pavan Balaji<br>
>>> <a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
>>> ______________________________**_________________<br>
>>> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
>>> To manage subscription options or unsubscribe:<br>
>>> <a href="https://lists.mpich.org/**mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/**mailman/listinfo/discuss</a><<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a>><br>
>>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
><br>
<br>
<br>
</div></div>--<br>
<div class="HOEnZb"><div class="h5">With regards,<br>
<br>
Dr.Urmila R. Pol<br>
Assistant Professor,<br>
Department of computer Science,<br>
Shivaji University, Kolhapur.<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Regards,<br>-- Mahesh Doijade<br><br><br><br>
<br>
</div>