Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
72
Issues
72
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
dc1a9eb9
Commit
dc1a9eb9
authored
Jun 03, 2016
by
Glenn K. Lockwood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add rank shuffling to non-MPI tester
parent
8aa23fa3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
darshan-test/lustre/Makefile
darshan-test/lustre/Makefile
+1
-1
darshan-test/lustre/darshan-core-stub.c
darshan-test/lustre/darshan-core-stub.c
+6
-0
No files found.
darshan-test/lustre/Makefile
View file @
dc1a9eb9
.PHONY
:
clean
BINS
=
darshan-tester darshan-tester-mpi
OBJS
=
darshan-
core-stub.o darshan-lustre
.o
OBJS
=
darshan-
lustre.o darshan-core-stub
.o
CFLAGS
=
-O0
-g
-I
../..
-I
../../darshan-runtime
### Include -I. when building non-MPI tests to include the mpi.h stub header
...
...
darshan-test/lustre/darshan-core-stub.c
View file @
dc1a9eb9
...
...
@@ -10,6 +10,8 @@
#include <stdlib.h>
#include <fcntl.h>
#include "darshan-lustre.h"
/*
* Global variables
*/
...
...
@@ -20,6 +22,7 @@ static struct darshan_module_funcs mod_funcs;
/*
* Import routines from Lustre module
*/
extern
struct
lustre_runtime
*
lustre_runtime
;
void
darshan_core_register_record
(
void
*
name
,
...
...
@@ -90,6 +93,9 @@ int main( int argc, char **argv )
close
(
fd
);
}
for
(
i
=
0
;
i
<
lustre_runtime
->
record_count
;
i
++
)
(
lustre_runtime
->
record_runtime_array
[
i
]).
record
->
rank
=
rand
()
%
10
;
print_lustre_runtime
();
darshan_core_shutdown
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment