File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 33# Generic script to automate building of Darshan
44#
55
6+ # Exit immediately if a command exits with a non-zero status.
7+ set -x
8+
69basedir=$PWD
710build_dir=$PWD /darshan_build
811script_dir=$( dirname $( realpath $0 ) )
@@ -28,7 +31,7 @@ if [ ! -v DARSHAN_RUNTIME_SKIP ]; then
2831 DARSHAN_RUNTIME_CONFIG_ARGS=" --with-jobid-env=NONE --enable-apmpi-mod"
2932 fi
3033 $darshan_root_dir /darshan-runtime/configure $DARSHAN_RUNTIME_CONFIG_ARGS --with-log-path=$DARSHAN_LOG_PATH --prefix=$DARSHAN_INSTALL_PREFIX
31- make install
34+ make -j8 install
3235fi
3336
3437# configure and build darshan-util
@@ -37,4 +40,18 @@ if [ -z "${DARSHAN_UTIL_CONFIG_ARGS}" ]; then
3740 DARSHAN_UTIL_CONFIG_ARGS=" --enable-apmpi-mod --enable-apxc-mod"
3841fi
3942$darshan_root_dir /darshan-util/configure $DARSHAN_UTIL_CONFIG_ARGS --prefix=$DARSHAN_INSTALL_PREFIX
40- make install
43+ make -j8 install
44+
45+ # run check
46+ make check
47+
48+ # run "make check" for darshan-runtime must be done after darshan-util has been
49+ # built, as it used darshan-parser.
50+ if [ ! -v DARSHAN_RUNTIME_SKIP ]; then
51+ cd $build_dir /darshan-runtime
52+ # run check
53+ make check
54+
55+ # dump log files
56+ cat test/tst_runs.log
57+ fi
You can’t perform that action at this time.
0 commit comments