[mvapich-discuss] Readme mpiexec example is not working

bright.yang at vaisala.com bright.yang at vaisala.com
Mon Jun 6 15:23:00 EDT 2011


The syntax might be the same, it worked at 217 but it gave an error in Mvapich216
# mpiexec -machinefile 2_12hosts -n 24 ./wrf.exe
/share/apps/mvapich216/bin/mpdroot: open failed for root's mpd conf filempiexec_kratos.vaisala.com (__init__ 1208): forked process failed; status=255

Where should I put .mpd.conf file for root account?

Thanks.

Bright Yang

-----Original Message-----
From: Jonathan Perkins [mailto:perkinjo at cse.ohio-state.edu] 
Sent: Monday, June 06, 2011 12:46 PM
To: Yang Bright BRYA
Cc: mvapich-discuss at cse.ohio-state.edu
Subject: Re: [mvapich-discuss] Readme mpiexec example is not working

It uses the same syntax.  Please refer to the corresponding userguides
available at http://mvapich.cse.ohio-state.edu/support/ for more
information regarding how to use mvapich2.

On Mon, Jun 6, 2011 at 2:42 PM,  <bright.yang at vaisala.com> wrote:
> Does 216 version has the same mpiexec -f syntax as 217 a2, or it's a complete new feature in mvapich 217 only?
>
> Bright Yang
>
>
> -----Original Message-----
> From: Jonathan Perkins [mailto:perkinjo at cse.ohio-state.edu]
> Sent: Monday, June 06, 2011 12:40 PM
> To: Yang Bright BRYA
> Cc: mvapich-discuss at cse.ohio-state.edu
> Subject: Re: [mvapich-discuss] Readme mpiexec example is not working
>
> I don't recall, it may have been -machinefile.  I'd suggest trying to
> debug the problem you're seeing with mvapich2-1.7a2 or moving to the
> latest stable version, mvapich2-1.6.  You can use the following link
> to download the latest tarball from the 1.6 branch.
>
> http://mvapich.cse.ohio-state.edu/nightly/mvapich2/branches/1.6/mvapich2-latest.tar.gz
>
> On Mon, Jun 6, 2011 at 2:34 PM,  <bright.yang at vaisala.com> wrote:
>> Jonathan,
>>
>>  You're right. I was using Mvapich 214 for the -f option. I tried the 217 a2, it worked but had some other issue. Do you know what's the equivalent syntax to run under mvapich214 with mpiexec?
>>
>> Thanks.
>>
>> Bright Yang
>>
>>
>> -----Original Message-----
>> From: Jonathan Perkins [mailto:perkinjo at cse.ohio-state.edu]
>> Sent: Monday, June 06, 2011 11:15 AM
>> To: Yang Bright BRYA
>> Cc: mvapich-discuss at cse.ohio-state.edu
>> Subject: Re: [mvapich-discuss] Readme mpiexec example is not working
>>
>> Bright:
>> I'm not sure why you're experiencing a problem using this syntax.  Are
>> you sure that the mpiexec that is in your path corresponds to
>> mvapich2-1.7a2?
>>
>> You can use `which mpiexec' to verify the path.  Here is an example of
>> mpiexec usage from one of my installations.
>>
>> [perkinjo at head examples]$ ../install/bin/mpiexec -f 2_8hosts -n 16 ./cpi
>> Process 9 of 16 is on node140.cluster
>> Process 1 of 16 is on node139.cluster
>> Process 11 of 16 is on node140.cluster
>> Process 3 of 16 is on node139.cluster
>> Process 12 of 16 is on node140.cluster
>> Process 4 of 16 is on node139.cluster
>> Process 13 of 16 is on node140.cluster
>> Process 5 of 16 is on node139.cluster
>> Process 14 of 16 is on node140.cluster
>> Process 6 of 16 is on node139.cluster
>> Process 15 of 16 is on node140.cluster
>> Process 7 of 16 is on node139.cluster
>> Process 8 of 16 is on node140.cluster
>> Process 0 of 16 is on node139.cluster
>> Process 10 of 16 is on node140.cluster
>> pi is approximately 3.1415926544231274, Error is 0.0000000008333343
>> wall clock time = 0.000078
>> Process 2 of 16 is on node139.cluster
>> [perkinjo at head examples]$ ../install/bin/mpiname -a
>> MVAPICH2 1.7a2 Fri Jun  3 17:23:24 EDT 2011 ch3:mrail
>>
>> Compilation
>> CC: gcc    -DNDEBUG -DNVALGRIND -O2
>> CXX: c++   -DNDEBUG -DNVALGRIND -O2
>> F77: gfortran   -DNDEBUG -DNVALGRIND -O2
>> FC: f95   -DNDEBUG -DNVALGRIND -O2
>>
>> Configuration
>> --prefix=/home/perkinjo/mvapich2-1.7a2/install
>>
>> [perkinjo at head examples]$
>>
>>
>> On Mon, Jun 6, 2011 at 12:03 PM,  <bright.yang at vaisala.com> wrote:
>>> Hi,
>>>
>>>
>>>
>>>   I'm running the example of the latest Mvapich217 a2 release. The example
>>> in the readme file mpiexec -f machinefile -n <number> ./examples/cpi
>>>
>>>
>>>
>>> Is not working. It got error message like this -
>>>
>>> # mpiexec -f 2_12hosts -n 24 ./wrf.exe
>>>
>>> -file (-f) arg must appear alone
>>>
>>>
>>>
>>> Here is what's in my hostfile 2_12hosts:
>>>
>>> compute-0-0:12
>>>
>>> compute-0-1:12
>>>
>>>
>>>
>>> Thanks!
>>>
>>>
>>>
>>> Bright Yang
>>>
>>> _______________________________________________
>>> mvapich-discuss mailing list
>>> mvapich-discuss at cse.ohio-state.edu
>>> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>>>
>>>
>>
>>
>>
>> --
>> Jonathan Perkins
>> http://www.cse.ohio-state.edu/~perkinjo
>>
>>
>
>
>
> --
> Jonathan Perkins
> http://www.cse.ohio-state.edu/~perkinjo
>
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo



More information about the mvapich-discuss mailing list