Whamcloud - gitweb
minor lock_test script init fix.
authorericm <ericm>
Thu, 16 Oct 2003 11:15:06 +0000 (11:15 +0000)
committerericm <ericm>
Thu, 16 Oct 2003 11:15:06 +0000 (11:15 +0000)
lustre/liblustre/test_lock_cancel.c

index d9d4b57..6c18964 100644 (file)
@@ -79,6 +79,8 @@ int main(int argc, char *argv[])
        int fd;
         long time1, time2;
 
+        __liblustre_setup_();
+
        MPI_CHECK(MPI_Init(&argc, &argv), "MPI_Init()");
        MPI_CHECK(MPI_Comm_size(MPI_COMM_WORLD, &numTasks), "MPI_Comm_size");
        MPI_CHECK(MPI_Comm_rank(MPI_COMM_WORLD, &rank), "MPI_Comm_rank");
@@ -88,8 +90,6 @@ int main(int argc, char *argv[])
                 goto cleanup;
         }
 
-        __liblustre_setup_();
-
 #if 1
        portal_debug = 0;
        portal_subsystem_debug = 0;