[mpich-discuss] MPICH2 on LAN with Ubuntu 12.04

Halim Amer aamer at anl.gov
Mon Nov 23 13:27:28 CST 2015


Hello Dave,

The -f hostfile option works fine with newer MPICH versions.
Your version of the MPICH is very old. Please try the Ubuntu packages at 
http://www.mpich.org/downloads/.

Thanks,
--Halim

www.mcs.anl.gov/~aamer

On 11/23/15 12:30 PM, dave wrote:
> I failed to include the mpich2 version info in previous thread:
>
> ====================
> dave at ubuntu-desk:/home/mpiuser/cloud$  mpich2version
> MPICH2 Version:        1.4.1
> MPICH2 Release date:    Wed Aug 24 14:40:04 CDT 2011
> MPICH2 Device:        ch3:nemesis
> MPICH2 configure:     --build=i686-linux-gnu --prefix=/usr
> --includedir=${prefix}/include --mandir=${prefix}/share/man
> --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
> --libexecdir=${prefix}/lib/mpich2 --srcdir=. --disable-maintainer-mode
> --disable-dependency-tracking --disable-silent-rules --enable-shared
> --prefix=/usr --enable-fc --disable-rpath --sysconfdir=/etc/mpich2
> --includedir=/usr/include/mpich2 --docdir=/usr/share/doc/mpich2
> --with-hwloc-prefix=system --enable-checkpointing
> --with-hydra-ckpointlib=blcr
> MPICH2 CC:     gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4
> -Wformat -Wformat-security -g -O2 -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -Werror=format-security -Wall  -O2
> MPICH2 CXX:     c++  -g -O2 -fstack-protector --param=ssp-buffer-size=4
> -Wformat -Wformat-security -g -O2 -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -Werror=format-security -Wall -O2
> MPICH2 F77:     gfortran  -g -O2 -O2
> MPICH2 FC:     gfortran   -O2
> dave at ubuntu-desk:/home/mpiuser/cloud$
> ==========================================
>
> On 11/23/2015 11:27 AM, dave wrote:
>> Hello Group,
>>
>> Is the following statement option -F still correct?
>>
>> dave at ubuntu-desk:/home/mpiuser/cloud$ sudo mpiexec -f hosts.cfg -n 4
>> ./hello
>> [sudo] password for dave:
>> --------------------------------------------------------------------------
>>
>> mpiexec was unable to launch the specified application as it could not
>> find an executable:
>>
>> Executable: -f
>> Node: ubuntu-desk
>>
>> while attempting to start process rank 0.
>> ==================================
>>
>> I tried it another way too with same result:
>>
>> dave at ubuntu-desk:/home/mpiuser/cloud$ sudo mpiexec -n 8 machinefile
>> ./hello
>> --------------------------------------------------------------------------
>>
>> mpiexec noticed that the job aborted, but has no info as to the process
>> that caused that situation.
>> --------------------------------------------------------------------------
>>
>>
>> Machine file, two lines, one for each machine in the network. Each
>> with SSH and mpich2:
>>
>> ubuntu-desk-2:2    #
>> ubuntu-desk    #
>>
>>
>> --------------------------------------------------------------------------
>>
>>
>> Any ideas about mpiexec statement or anything else to get these
>> machines talking?
>>
>> Dave
>>
>>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________
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