Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] opal_path_nfs test failure on NFS4 [w/ PATCH]
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2012-02-15 19:54:07


Testing a trunk tarball (1.7a1r25927) I am seeing an opal_path_nfs
failure from "make check":
> Failure : Mismatch: input "/opt/cluster", expected:0 got:1
>
> SUPPORT: OMPI Test failed: opal_path_nfs() (1 of 20 failed)
> FAIL: opal_path_nfs

The "mount" command reports /opt/cluster as "nfs4" which appears to be
distinct from "nfs" (which is reported for other mount points):
> XXXXX:/cluster on /opt/cluster type nfs4
> (rw,intr,nolock,addr=XXXX,clientaddr=XXX)

Notice that the failure was "expected:0 got:1".
That means opal_path_nfs() is "smarter" than the test in this case.

The 1-line addition below fixes this for me , and should apply cleanly
to 1.5.x as well (or hold for 1.6 if desired).

-Paul

--- openmpi-1.7a1r25927/test/util/opal_path_nfs.c 2012-02-15
03:27:46.000000000 +0100
+++ openmpi-1.7a1r25927m/test/util/opal_path_nfs.c 2012-02-16
01:49:18.882418827 +0100
@@ -154,6 +154,7 @@

          nfs_tmp[mount_known] = false;
          if (0 == strcasecmp (fs, "nfs") ||
+ 0 == strcasecmp (fs, "nfs4") ||
              0 == strcasecmp (fs, "lustre") ||
              0 == strcasecmp (fs, "panfs") ||
              0 == strcasecmp (fs, "gpfs"))

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900