Open MPI logo

MTT Users Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Ethan Mallove (Ethan.Mallove_at_[hidden])
Date: 2006-07-10 15:55:58


I'm not sure sha1sum is installed by default on x64 Solaris systems. I don't see it on any of our
x64 Solaris lab machines. (Not sure how this wasn't a problem until now.) Until we figure out how to
do SHA1 checksums on x64 Solaris, my workaround is to simply change Abort to Debug when the sha1sum
checksum comparison fails:

Index: lib/MTT/MPI/Get/OMPI_Snapshot.pm
===================================================================
--- lib/MTT/MPI/Get/OMPI_Snapshot.pm (revision 191)
+++ lib/MTT/MPI/Get/OMPI_Snapshot.pm (working copy)
@@ -128,7 +128,7 @@
     my $sha1_file = `grep $ret->{version}.tar.gz $sha1_checksums | cut -d\\ -f1`;
     chomp($sha1_file);
     my $sha1_actual = MTT::Files::sha1sum("$tarball_dir/$tarball_name");
- Abort("sha1sum from checksum file does not match actual ($sha1_file != $sha1_actual)")
+ Debug("sha1sum from checksum file does not match actual ($sha1_file != $sha1_actual)")
         if ($sha1_file ne $sha1_actual);
     Debug(">> Good sha1sum\n");

-Ethan