Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
63
Issues
63
List
Boards
Labels
Milestones
Merge Requests
6
Merge Requests
6
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
b50b656d
Commit
b50b656d
authored
Mar 18, 2015
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update regr. testing to use darshan-posix-parser
parent
1fc4876f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
9 deletions
+33
-9
run-all.sh
darshan-test/regression/run-all.sh
+1
-1
cxxpi.sh
darshan-test/regression/test-cases/cxxpi.sh
+8
-2
fperf-f77.sh
darshan-test/regression/test-cases/fperf-f77.sh
+8
-2
fperf-f90.sh
darshan-test/regression/test-cases/fperf-f90.sh
+8
-2
mpi-io-test.sh
darshan-test/regression/test-cases/mpi-io-test.sh
+8
-2
No files found.
darshan-test/regression/run-all.sh
View file @
b50b656d
...
...
@@ -17,7 +17,7 @@ DARSHAN_TESTDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
export
DARSHAN_TESTDIR
# check darshan path
if
[
!
-x
$DARSHAN_PATH
/bin/darshan-parser
]
;
then
if
[
!
-x
$DARSHAN_PATH
/bin/darshan-p
osix-p
arser
]
;
then
echo
"Error:
$DARSHAN_PATH
doesn't contain a valid Darshan install."
1>&2
exit
1
fi
...
...
darshan-test/regression/test-cases/cxxpi.sh
View file @
b50b656d
...
...
@@ -21,7 +21,7 @@ if [ $? -ne 0 ]; then
fi
# parse log
$DARSHAN_PATH
/bin/darshan-parser
$DARSHAN_LOGFILE
>
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt
$DARSHAN_PATH
/bin/darshan-p
osix-p
arser
$DARSHAN_LOGFILE
>
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt
if
[
$?
-ne
0
]
;
then
echo
"Error: failed to parse
${
DARSHAN_LOGFILE
}
"
1>&2
exit
1
...
...
@@ -29,10 +29,16 @@ fi
# check results
# in this case we want to confirm that the open counts are zero; cxxpi does not do any IO
POSIX_OPENS
=
`
grep
CP_POSIX_OPENS
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt |cut
-f
4
`
#POSIX_OPENS=`grep CP_POSIX_OPENS $DARSHAN_TMP/${PROG}.darshan.txt |cut -f 4`
#if [ "$POSIX_OPENS"x != ""x ]; then
# echo "Error: Found unexpected POSIX open count of $POSIX_OPENS" 1>&2
# exit 1
#fi
POSIX_OPENS
=
`
grep
POSIX_OPENS
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt |cut
-d
:
-f
2 |xargs
`
if
[
"
$POSIX_OPENS
"
x
!=
""
x
]
;
then
echo
"Error: Found unexpected POSIX open count of
$POSIX_OPENS
"
1>&2
exit
1
fi
exit
0
darshan-test/regression/test-cases/fperf-f77.sh
View file @
b50b656d
...
...
@@ -21,7 +21,7 @@ if [ $? -ne 0 ]; then
fi
# parse log
$DARSHAN_PATH
/bin/darshan-parser
$DARSHAN_LOGFILE
>
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt
$DARSHAN_PATH
/bin/darshan-p
osix-p
arser
$DARSHAN_LOGFILE
>
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt
if
[
$?
-ne
0
]
;
then
echo
"Error: failed to parse
${
DARSHAN_LOGFILE
}
"
1>&2
exit
1
...
...
@@ -34,10 +34,16 @@ fi
# echo "Error: MPI open count of $MPI_OPENS is incorrect" 1>&2
# exit 1
#fi
POSIX_OPENS
=
`
grep
CP_POSIX_OPENS
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt |cut
-f
4
`
#POSIX_OPENS=`grep CP_POSIX_OPENS $DARSHAN_TMP/${PROG}.darshan.txt |cut -f 4`
#if [ ! $POSIX_OPENS -gt 0 ]; then
# echo "Error: POSIX open count of $POSIX_OPENS is incorrect" 1>&2
# exit 1
#fi
POSIX_OPENS
=
`
grep
POSIX_OPENS
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt |cut
-d
:
-f
2 |xargs
`
if
[
!
$POSIX_OPENS
-gt
0
]
;
then
echo
"Error: POSIX open count of
$POSIX_OPENS
is incorrect"
1>&2
exit
1
fi
exit
0
darshan-test/regression/test-cases/fperf-f90.sh
View file @
b50b656d
...
...
@@ -21,7 +21,7 @@ if [ $? -ne 0 ]; then
fi
# parse log
$DARSHAN_PATH
/bin/darshan-parser
$DARSHAN_LOGFILE
>
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt
$DARSHAN_PATH
/bin/darshan-p
osix-p
arser
$DARSHAN_LOGFILE
>
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt
if
[
$?
-ne
0
]
;
then
echo
"Error: failed to parse
${
DARSHAN_LOGFILE
}
"
1>&2
exit
1
...
...
@@ -34,10 +34,16 @@ fi
# echo "Error: MPI open count of $MPI_OPENS is incorrect" 1>&2
# exit 1
#fi
POSIX_OPENS
=
`
grep
CP_POSIX_OPENS
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt |cut
-f
4
`
#POSIX_OPENS=`grep CP_POSIX_OPENS $DARSHAN_TMP/${PROG}.darshan.txt |cut -f 4`
#if [ ! $POSIX_OPENS -gt 0 ]; then
# echo "Error: POSIX open count of $POSIX_OPENS is incorrect" 1>&2
# exit 1
#fi
POSIX_OPENS
=
`
grep
POSIX_OPENS
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt |cut
-d
:
-f
2 |xargs
`
if
[
!
$POSIX_OPENS
-gt
0
]
;
then
echo
"Error: POSIX open count of
$POSIX_OPENS
is incorrect"
1>&2
exit
1
fi
exit
0
darshan-test/regression/test-cases/mpi-io-test.sh
View file @
b50b656d
...
...
@@ -21,7 +21,7 @@ if [ $? -ne 0 ]; then
fi
# parse log
$DARSHAN_PATH
/bin/darshan-parser
$DARSHAN_LOGFILE
>
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt
$DARSHAN_PATH
/bin/darshan-p
osix-p
arser
$DARSHAN_LOGFILE
>
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt
if
[
$?
-ne
0
]
;
then
echo
"Error: failed to parse
${
DARSHAN_LOGFILE
}
"
1>&2
exit
1
...
...
@@ -34,11 +34,17 @@ fi
# echo "Error: MPI open count of $MPI_OPENS is incorrect" 1>&2
# exit 1
#fi
POSIX_OPENS
=
`
grep
CP_POSIX_OPENS
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt |cut
-f
4
`
#POSIX_OPENS=`grep CP_POSIX_OPENS $DARSHAN_TMP/${PROG}.darshan.txt |cut -f 4`
#if [ ! $POSIX_OPENS -gt 0 ]; then
# echo "Error: POSIX open count of $POSIX_OPENS is incorrect" 1>&2
# exit 1
#fi
POSIX_OPENS
=
`
grep
POSIX_OPENS
$DARSHAN_TMP
/
${
PROG
}
.darshan.txt |cut
-d
:
-f
2 |xargs
`
if
[
!
$POSIX_OPENS
-gt
0
]
;
then
echo
"Error: POSIX open count of
$POSIX_OPENS
is incorrect"
1>&2
exit
1
fi
exit
0
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