[mpich-discuss] Not able to run MPI program parallely...

Albert Spade albert.spade at gmail.com
Tue May 1 08:51:43 CDT 2012


Yes it is HYDRA_HOST_FILE sorry for typo...
Also when I run ./cpi without setting hostfile, on single machine it works
fine.
 Here is its sample output:

[root at beowulf ~]# mpiexec -n 4 /opt/mpich2-1.4.1p1/examples/./cpi
Process 0 of 4 is on beowulf.master
Process 3 of 4 is on beowulf.master
Process 2 of 4 is on beowulf.master
Process 1 of 4 is on beowulf.master
pi is approximately 3.1415926544231239, Error is 0.0000000008333307
wall clock time = 0.000333
[root at beowulf ~]#

On Tue, May 1, 2012 at 7:13 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:

>
> On 05/01/2012 05:30 AM, Albert Spade wrote:
>
>> I also set environment for Hydra process manager by adding
>> export HYDRA_FILE=/root/hosts
>> in .bashrc file in /root
>>
>
> Did you mean to set HYDRA_HOST_FILE?
>
> Can you try running ./cpi without setting the HYDRA_HOST_FILE first?
>
>  -- Pavan
>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120501/acbf2281/attachment.htm>


More information about the mpich-discuss mailing list