I've uploaded the new MVAPICH2 1.0 SRPM for OFED 1.3. I hope I didn't
miss this, but I wasn't sure where to put it - so I put it in
~rowland/ofed_1_3 on staging.openfabrics.org with a latest.txt file,
etc. If someone can point me to the proper place if that's wrong, I'd be
happy to move it.

I've also attached a patch to the install.pl script that was included
with the latest OFED 1.3 tarball. I made the following changes:

- Fixed BLCR path check if Checkpoint-Restart selected
     - needed to chomp user input or path check always failed

- Fixed default DAPL provider prompt
     - added chomp to remove extra "\n"

- Removed multithreaded option and associated BLCR check

- Changed compiler settings
     - if gfortran found, make sure to use it for F77 and F90

--
Shaun Rowland   [EMAIL PROTECTED]
http://www.cse.ohio-state.edu/~rowland/
--- install.pl.orig     2007-10-04 18:13:06.000000000 -0400
+++ install.pl  2007-10-04 19:09:11.000000000 -0400
@@ -1097,7 +1097,6 @@
 my $mvapich2_conf_impl = "ofa";
 my $mvapich2_conf_romio = 1;
 my $mvapich2_conf_shared_libs = 1;
-my $mvapich2_conf_multithread = 0;
 my $mvapich2_conf_ckpt = 0;
 my $mvapich2_conf_blcr_home;
 my $mvapich2_conf_vcluster = "small";
@@ -1489,20 +1488,8 @@
         $mvapich2_conf_shared_libs = 1;
     }
 
-    print "\nMultithread support should only be enabled only if thread safety 
is required.";
-    print "\nThere may be a slight performance penalty for single threaded 
only use.";
-
-    print "\nEnable multithread support [y/N]: ";
-    $ans = getch();
-    if ($ans =~ m/Yy/) {
-        $mvapich2_conf_multithread = 1;
-    }
-    else {
-        $mvapich2_conf_multithread = 0;
-    }
-
     # OFA specific options.
-    if ($mvapich2_conf_impl eq "ofa" and not $mvapich2_conf_multithread) {
+    if ($mvapich2_conf_impl eq "ofa") {
         $done = 0;
         while (not $done) {
             print "\nEnable Checkpoint-Restart support [y/N]: ";
@@ -1511,6 +1498,7 @@
                 $mvapich2_conf_ckpt = 1;
                 print "\nBLCR installation directory [or nothing if not 
installed]: ";
                 my $tmp = <STDIN>;
+                chomp $tmp;
                 if (-d "$tmp") {
                     $mvapich2_conf_blcr_home = $tmp;
                     $done = 1;
@@ -1587,6 +1575,7 @@
 
         print "\nDefault DAPL provider [ib0]: ";
         $ans = <STDIN>;
+        chomp $ans;
         if ($ans) {
             $mvapich2_conf_dapl_provider = $ans;
         }
@@ -1599,8 +1588,6 @@
     print CONFIG "mvapich2_conf_impl=$mvapich2_conf_impl\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_multithread=$mvapich2_conf_multithread\n";
-
     print CONFIG "mvapich2_conf_ckpt=$mvapich2_conf_ckpt\n";
     print CONFIG "mvapich2_conf_blcr_home=$mvapich2_conf_blcr_home\n" if 
($mvapich2_conf_blcr_home);
     print CONFIG "mvapich2_conf_vcluster=$mvapich2_conf_vcluster\n";
@@ -1835,10 +1822,6 @@
                     $mvapich2_conf_shared_libs = $selected;
                     next;
                 }
-                elsif ($package eq "mvapich2_conf_multithread") {
-                    $mvapich2_conf_multithread = $selected;
-                    next;
-                }
                 elsif ($package eq "mvapich2_conf_ckpt") {
                     $mvapich2_conf_ckpt = $selected;
                     next;
@@ -2307,7 +2290,7 @@
                         $mvapich2_comp_env = "CC=gcc CXX=g++ F77=gfortran 
F90=gfortran";
                     }
                 }
-                if ($gcc{'g77'}) {
+                elsif ($gcc{'g77'}) {
                     if ($arch eq "ppc64") {
                         $mvapich2_comp_env = 'CC="gcc -m64" CXX="g++ -m64" 
F77="g77 -m64" F90=/bin/false';
                     }
@@ -2341,12 +2324,10 @@
             if ($mvapich2_conf_impl eq "ofa") {
                 print BLUE "Building the MVAPICH2 RPM in the OFA 
configuration. Please wait...", RESET "\n" if ($verbose);
                 if ($mvapich2_conf_ckpt) {
-                    $cmd .= " --define 'multithread 0'";
                     $cmd .= " --define 'rdma_cm 0'";
                     $cmd .= " --define 'blcr_home $mvapich2_conf_blcr_home'";
                 }
                 else {
-                    $cmd .= " --define 'multithread 
$mvapich2_conf_multithread'";
                     $cmd .= " --define 'rdma_cm 1'";
                 }
                 $cmd .= " --define 'ckpt $mvapich2_conf_ckpt'";
@@ -2370,7 +2351,6 @@
                     print RED "Could not find a proper uDAPL include 
directory.", RESET "\n";
                     exit 1;
                 }
-                $cmd .= " --define 'multithread $mvapich2_conf_multithread'";
                 $cmd .= " --define 'vcluster $mvapich2_conf_vcluster'";
                 $cmd .= " --define 'io_bus $mvapich2_conf_io_bus'";
                 $cmd .= " --define 'link_speed $mvapich2_conf_link_speed'";
_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to