From 548eb2e380408da3049ce7162076a3abe92d1e6f Mon Sep 17 00:00:00 2001 From: ericm Date: Thu, 16 Oct 2003 11:15:06 +0000 Subject: [PATCH] minor lock_test script init fix. --- lustre/liblustre/test_lock_cancel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/liblustre/test_lock_cancel.c b/lustre/liblustre/test_lock_cancel.c index d9d4b57..6c18964 100644 --- a/lustre/liblustre/test_lock_cancel.c +++ b/lustre/liblustre/test_lock_cancel.c @@ -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; -- 1.8.3.1