[mpich-discuss] Problem in running a program with MPICH2
tetsuro_kikuchi at jesc.or.jp
tetsuro_kikuchi at jesc.or.jp
Tue Jun 21 00:46:17 CDT 2011
Thank you very much for your suggestion, Rajeev.
However, I could have not understood how to do ssh between the host and
rain4, although I have read several web documents and manuals about ssh.
Could you teach me how to do it? The ssh program has been already installed
in my OS. I'm sorry for taking your time.
Kind regards,
Tetsuro
There is probably some issue with the networking settings on the machines.
Is there a firewall? Try doing ssh between the host and rain4.
Rajeev
On Jun 20, 2011, at 9:40 PM, tetsuro_kikuchi at jesc.or.jp wrote:
>
> Thank you for your quick reply, Rajeev.
>
> When I run cpi using the same machine file used by my application, it
> returned error messages as follows:
>
> $ mpiexec -f $M3HOME/scripts/cctm/machines8 -n 8 ./cpi
> [mpiexec at jesc-HP-Z800-Workstation] HYDU_sock_is_local
> (./utils/sock/sock.c:536): unable to get host address for rain4 (1)
> [mpiexec at jesc-HP-Z800-Workstation] main (./ui/mpich/mpiexec.c:356):
unable
> to check if rain4 is local
>
> Tetsuro
>
>
>
>
>
> Try running it across machines using the same machines file used by your
> application.
>
> Rajeev
>
> On Jun 20, 2011, at 8:10 PM, tetsuro_kikuchi at jesc.or.jp wrote:
>
>>
>> Thank you for your consideration, Rajeev.
>>
>> When I run the cpi example in the examples directory ($ mpiexec -n 4
>> ./cpi), it calculated pi. The run log file is attached below.
>>
>> Kind regards,
>>
>> Tetsuro
>>
>> (See attached file: cpi_log1_110621.txt)
>>
>>
>>
>>
>>
>> Can you first try running the cpi example from the examples directory?
>>
>> Rajeev
>>
>> On Jun 20, 2011, at 3:14 AM, tetsuro_kikuchi at jesc.or.jp wrote:
>>
>>> Hello. I'm a new MPICH2 user.
>>>
>>> I would like to run a program on my Linux workstation using MPICH2
>> (version
>>> 2-1.4). The processors, Linux OS and compiler that my machine uses are
> as
>>> follows:
>>>
>>> Processors: Intel(R) Xeon(R) E5507 processor (2.26 Hz, 4 core) × 2
>>> Linux OS: Ubuntu 11.04 (natty)
>>> Compiler: Intel(R) Fortran Composer XE 2011 for Linux (Update 4)
>>>
>>> When I execute the run script of the program, it failed with the
>> following
>>> error message:
>>>
>>> [mpiexec at jesc-HP-Z800-Workstation] HYDU_sock_is_local
>>> (./utils/sock/sock.c:536): unable to get host address for rain4 (1)
>>> [mpiexec at jesc-HP-Z800-Workstation] main (./ui/mpich/mpiexec.c:356):
>> unable
>>> to check if rain4 is local
>>>
>>> Could anyone teach me what is wrong and how to solve this problem? I
>> attach
>>> below the run script of the program ("run.cctm_script.txt") and its
> whole
>>> error log generated this time ("run.cctm_errorlog110620.txt"). In
>> addition,
>>> the machinefile as which mpiexec use in this program ("machines8.txt")
> is
>>> also attached. (Please refer to the bottom part of the attached run
>>> script.)
>>>
>>> The hostname of my machine is "jesc-HP-Z800-Workstation". The file
>> "hosts"
>>> located in /etc directory is also attached below.
>>>
>>> Kind regards,
>>>
>>> Tetsuro
>>>
>>> (See attached file: run.cctm_script.txt)(See attached file:
>>> run.cctm_errorlog110620.txt)(See attached file: machines8.txt)(See
>> attached
>>> file: hosts.txt)
>>>
>>
>
<run.cctm_script.txt><run.cctm_errorlog110620.txt><machines8.txt><hosts.txt>
>
>> _______________________________________________
>>> mpich-discuss mailing list
>>> mpich-discuss at mcs.anl.gov
>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>>
>>
>> <cpi_log1_110621.txt>_______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>
>
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list