]> git.openfabrics.org - ~vlad/ofed_scripts.git/commitdiff
Remove process manager selection for mvapich2 from install.pl
authorJonathan Perkins <perkinjo@cse.ohio-state.edu>
Sun, 12 Oct 2008 21:28:39 +0000 (17:28 -0400)
committerVladimir Sokolovsky <vlad@mellanox.co.il>
Wed, 15 Oct 2008 07:34:44 +0000 (09:34 +0200)
Newer versions of the mvapich2 source rpms build and install both
mpirun_rsh and mpd process managers by default thereby removing the need
for the user to be prompted for one or the other.

Signed-off-by: Jonathan Perkins <perkinjo@cse.ohio-state.edu>
install.pl

index 0865a8d3ab43d80a174f00f6f284e49ab725b3ac..e96571997f810bd3b4071884b5463b6f575c93f2 100755 (executable)
@@ -1307,7 +1307,6 @@ my %intel = ('icc' => 0, 'icpc' => 0, 'ifort' => 0);
 
 # mvapich2 environment
 my $mvapich2_conf_impl = "ofa";
-my $mvapich2_conf_pm = "mpirun";
 my $mvapich2_conf_romio = 1;
 my $mvapich2_conf_shared_libs = 1;
 my $mvapich2_conf_ckpt = 0;
@@ -1796,31 +1795,6 @@ sub mvapich2_config
         }
     }
 
-    print "\nPlease choose a process manager:\n\n";
-    print "1) New scalable mpirun_rsh framework\n";
-    print "2) Traditional mpd/mpiexec\n";
-
-    $done = 0;
-
-    while (not $done) {
-        print "Implementation [1]: ";
-        $ans = getch();
-
-        if (ord($ans) == $KEY_ENTER or $ans eq "1") {
-            $mvapich2_conf_pm = "mpirun";
-            $done = 1;
-        }
-
-        elsif ($ans eq "2") {
-            $mvapich2_conf_pm = "mpd";
-            $done = 1;
-        }
-
-        else {
-            $done = 0;
-        }
-    }
-
     print "\nEnable ROMIO support [Y/n]: ";
     $ans = getch();
 
@@ -1859,7 +1833,6 @@ sub mvapich2_config
 
                 if (-d "$tmp") {
                     $mvapich2_conf_blcr_home = $tmp;
-                    $mvapich2_conf_pm = "mpd";
                     $done = 1;
                 }
 
@@ -1961,7 +1934,6 @@ sub mvapich2_config
     flock CONFIG, $LOCK_EXCLUSIVE;
 
     print CONFIG "mvapich2_conf_impl=$mvapich2_conf_impl\n";
-    print CONFIG "mvapich2_conf_pm=$mvapich2_conf_pm\n";
     print CONFIG "mvapich2_conf_romio=$mvapich2_conf_romio\n";
     print CONFIG "mvapich2_conf_shared_libs=$mvapich2_conf_shared_libs\n";
     print CONFIG "mvapich2_conf_ckpt=$mvapich2_conf_ckpt\n";
@@ -2249,11 +2221,6 @@ sub select_packages
                     next;
                 }
 
-                elsif ($package eq "mvapich2_conf_pm") {
-                    $mvapich2_conf_pm = $selected;
-                    next;
-                }
-
                 elsif ($package eq "mvapich2_conf_romio") {
                     $mvapich2_conf_romio = $selected;
                     next;
@@ -3077,7 +3044,6 @@ sub build_rpm
             $cmd .= " --define 'auto_req 0'";
             $cmd .= " --define 'mpi_selector $prefix/bin/mpi-selector'";
             $cmd .= " --define '_prefix $prefix/mpi/$compiler/$parent-$main_packages{$parent}{'version'}'";
-            $cmd .= " --define '_pm --with-pm=$mvapich2_conf_pm'";
         }
         elsif ($parent eq "openmpi") {
             my $compiler = (split('_', $name))[1];