Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
darshan
darshan
Commits
9f1250a9
Commit
9f1250a9
authored
Apr 10, 2018
by
Shane Snyder
Browse files
refactor automated builds, and add theta hooks
parent
c5443990
Changes
3
Hide whitespace changes
Inline
Side-by-side
darshan-test/automated/common/configure.sh
View file @
9f1250a9
...
...
@@ -9,6 +9,10 @@ if [[ $NODE_LABELS =~ "mcs" ]];
then
source
darshan-test/automated/mcs/configure.sh
status
=
$?
elif
[[
$NODE_LABELS
=
~
"Theta"
]]
;
then
source
darshan-test/automated/theta/configure.sh
status
=
$?
else
# unknown machine
status
=
100
...
...
darshan-test/automated/mcs/configure.sh
View file @
9f1250a9
...
...
@@ -10,7 +10,7 @@ util_result=""
thedate
=
$(
date
)
cd
build/darshan-runtime
../../darshan-runtime/configure
--prefix
=
$basedir
/install
--with-mem-align
=
16
--with-jobid-env
=
DARSHAN_JOBID
--with-log-path
=
$basedir
/logs
--with-log-path-by-env
=
DARSHAN_LOGPATH
CC
=
mpicc
../../darshan-runtime/configure
--prefix
=
$basedir
/install
--with-mem-align
=
16
--with-jobid-env
=
DARSHAN_JOBID
--with-log-path
=
$basedir
/logs
CC
=
mpicc
runtime_status
=
$?
if
[
$runtime_status
-ne
0
]
;
then
fcount
=
$((
fcount+1
))
;
...
...
darshan-test/automated/theta/configure.sh
0 → 100644
View file @
9f1250a9
#!/bin/bash
#
# Run configure for runtime and utils
basedir
=
$PWD
status
=
0
fcount
=
0
runtime_result
=
""
util_result
=
""
thedate
=
$(
date
)
# unload any darshan module and use GNU compilers
module unload darshan
module switch PrgEnv-intel PrgEnv-gnu
cd
build/darshan-runtime
../../darshan-runtime/configure
--prefix
=
$basedir
/install
--with-mem-align
=
64
--with-jobid-env
=
COBALT_JOBID
--with-log-path
=
$basedir
/logs
--disable-cuserid
--host
=
x86_64
CC
=
cc
runtime_status
=
$?
if
[
$runtime_status
-ne
0
]
;
then
fcount
=
$((
fcount+1
))
;
runtime_result
=
"<error type='
$runtime_status
' message='configure failed' />"
fi
cd
../darshan-util
../../darshan-util/configure
--prefix
=
$basedir
/install
util_status
=
$?
if
[
$util_status
-ne
0
]
;
then
fcount
=
$((
fcount+1
))
;
util_result
=
"<error type='
$util_status
' message='configure failed' />"
fi
cd
../../
;
echo
"
<testsuites>
<testsuite name='configure' tests='2' failures='
$fcount
' time='
$thedate
'>
<testcase name='darshan-runtime' time='
$thedate
'>
$runtime_result
</testcase>
<testcase name='darshan-util' time='
$thedate
'>
$util_result
</testcase>
</testsuite>
</testsuites>
"
>
configure-result.xml
exit
$fcount
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