|
From: <sng...@us...> - 2010-05-03 09:43:33
|
Revision: 79
http://dsim.svn.sourceforge.net/dsim/?rev=79&view=rev
Author: snguyenkim
Date: 2010-05-03 09:43:24 +0000 (Mon, 03 May 2010)
Log Message:
-----------
Some hints to run openmpi & mpich2
Added Paths:
-----------
trunk/dsim/test/boost/mpi/how_to_make_mpich2_run
trunk/dsim/test/boost/mpi/how_to_make_openmpi_run
Added: trunk/dsim/test/boost/mpi/how_to_make_mpich2_run
===================================================================
--- trunk/dsim/test/boost/mpi/how_to_make_mpich2_run (rev 0)
+++ trunk/dsim/test/boost/mpi/how_to_make_mpich2_run 2010-05-03 09:43:24 UTC (rev 79)
@@ -0,0 +1,16 @@
+- Make sure that ssh,mpich2 is installed on ALL machines (openssh-server, openssh-client,mpich2,mpich2-devel)
+
+- Verify /etc/hosts, ensure the machine's name is NOT in the line 127.0.0.1. Create a line that contains machine's IP, its name (complete one and short one), place it just BEFORE the line
+ ::1 localhost ......
+
+- Ensures the executable file is on ALL machines, preferably at ~/
+
+- Make sure that ~/.mpd.conf is on ALL machines, contains the same content (MPD_SECRETWORD must be the SAME)
+
+- Create a file, name it for example "hosts" that contains the name of all machines on what we want to run the program
+
+- Then RUN:
+ mpdboot -n number_of_machine --file hosts --verbose
+ mpdtrace -l (to verify)
+ mpiexec -n number_of_machine(preferably) ~/name_of_program
+
Added: trunk/dsim/test/boost/mpi/how_to_make_openmpi_run
===================================================================
--- trunk/dsim/test/boost/mpi/how_to_make_openmpi_run (rev 0)
+++ trunk/dsim/test/boost/mpi/how_to_make_openmpi_run 2010-05-03 09:43:24 UTC (rev 79)
@@ -0,0 +1,5 @@
+- Turnoff eth0 on all virtual machines(for the host, it's not necessary) by
+ su -
+ ifdown eth0
+
+- Then, all work like a charm !
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|