Hello,
I installed my first linux on my laptop (Toshiba Satellite R830-1GZ, 4 cores) and am trying to make an environment for mpirun. For installation of MPICH2 (1.4.1p1), I followed this instruction: Installing MPI | MPI Tutorial .
Also I tried to follow this instruction to check if my installation is correct: MPI Hello World | MPI Tutorial .
I think I succeeded the compilation of the sample program provided there, and executed using "mpirun -np 4 file". Then I've got following message and the program doesn't run.
ssh: Could not resolve hostname MY_MACHINE_NAME: Name or service not known
Since I want to run the program over single laptop with 4 cores, I don't think I need host file. I also try other test programs written in Fortran, which work on other clusters, but the results are the same. Could anyone please tell me the reason and how to fix this problem?
Thanks
> mpich2version
MPICH2 Version: 1.4.1p1
MPICH2 Release date: Thu Sep 1 13:53:02 CDT 2011
MPICH2 Device: ch3:nemesis
MPICH2 configure:
MPICH2 CC: gcc -O2
MPICH2 CXX: c++ -O2
MPICH2 F77: ifort -O2
MPICH2 FC: ifort -O2
Bookmarks