Update test programs for qlmpi (do swap with using shared memory, ib_pingpong)
This commit is contained in:
14
test/qlmpi/rusage/enable_swap.patch
Normal file
14
test/qlmpi/rusage/enable_swap.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff --git a/executer/user/qlmpilib.c b/executer/user/qlmpilib.c
|
||||
index 7fcbcb5..9058ec8 100644
|
||||
--- a/executer/user/qlmpilib.c
|
||||
+++ b/executer/user/qlmpilib.c
|
||||
@@ -158,7 +158,8 @@ int ql_client(int *argc,char ***argv)
|
||||
syscall(803);
|
||||
rc = PMI_Barrier();
|
||||
|
||||
- rc = swapout(swap_file, buffer, BUF_SIZE, 1);
|
||||
+ //rc = swapout(swap_file, buffer, BUF_SIZE, 1);
|
||||
+ rc = swapout(swap_file, buffer, BUF_SIZE, 0);
|
||||
|
||||
#ifdef QL_DEBUG
|
||||
printf(" swapout rc=%d\n",rc);
|
||||
Reference in New Issue
Block a user