[Darshan-commits] [Git][darshan/darshan][master] 4 commits: update runtime doc with note on SGI MPT preloading

Shane Snyder xgitlab at cels.anl.gov
Fri Nov 4 13:29:35 CDT 2016


Shane Snyder pushed to branch master at darshan / darshan


Commits:
88851749 by Shane Snyder at 2016-11-04T12:14:56-05:00
update runtime doc with note on SGI MPT preloading

- - - - -
ed51f8b8 by Shane Snyder at 2016-11-04T13:06:37-05:00
update dynamic regression scripts to test ls cmd

- - - - -
d8b481ed by Shane Snyder at 2016-11-04T13:23:36-05:00
update ChangeLog for 3.1.2 release

- - - - -
c9b5691a by Shane Snyder at 2016-11-04T13:27:30-05:00
update configure version number

- - - - -


8 changed files:

- ChangeLog
- darshan-runtime/configure
- darshan-runtime/configure.in
- darshan-runtime/doc/darshan-runtime.txt
- darshan-test/regression/run-all.sh
- darshan-test/regression/workstation-dynamic/env.sh
- darshan-util/configure
- darshan-util/configure.in


Changes:

=====================================
ChangeLog
=====================================
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@ Darshan-3.1.2
 =============
 * bug fix in resolving underlying call to fopen64 when using the LD_PRELOAD
   instrumentation mechanism
+* bug fix to make sure Lustre module headers are installed when installing
+  darshan-util
+  - reported by Matthieu Dorrier
 
 Darshan-3.1.1
 =============


=====================================
darshan-runtime/configure
=====================================
--- a/darshan-runtime/configure
+++ b/darshan-runtime/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for darshan-runtime 3.1.1.
+# Generated by GNU Autoconf 2.69 for darshan-runtime 3.1.2.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='darshan-runtime'
 PACKAGE_TARNAME='darshan-runtime'
-PACKAGE_VERSION='3.1.1'
-PACKAGE_STRING='darshan-runtime 3.1.1'
+PACKAGE_VERSION='3.1.2'
+PACKAGE_STRING='darshan-runtime 3.1.2'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1259,7 +1259,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures darshan-runtime 3.1.1 to adapt to many kinds of systems.
+\`configure' configures darshan-runtime 3.1.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1321,7 +1321,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of darshan-runtime 3.1.1:";;
+     short | recursive ) echo "Configuration of darshan-runtime 3.1.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1431,7 +1431,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-darshan-runtime configure 3.1.1
+darshan-runtime configure 3.1.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1783,7 +1783,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by darshan-runtime $as_me 3.1.1, which was
+It was created by darshan-runtime $as_me 3.1.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -4360,7 +4360,7 @@ else
   MPICH_LIB_OLD=0
 fi
 
-DARSHAN_VERSION="3.1.1"
+DARSHAN_VERSION="3.1.2"
 
 
 
@@ -4880,7 +4880,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by darshan-runtime $as_me 3.1.1, which was
+This file was extended by darshan-runtime $as_me 3.1.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -4942,7 +4942,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-darshan-runtime config.status 3.1.1
+darshan-runtime config.status 3.1.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 


=====================================
darshan-runtime/configure.in
=====================================
--- a/darshan-runtime/configure.in
+++ b/darshan-runtime/configure.in
@@ -5,7 +5,7 @@ dnl Process this file with autoconf to produce a configure script.
 dnl You may need to use autoheader as well if changing any DEFINEs
 
 dnl sanity checks, output header, location of scripts used here
-AC_INIT([darshan-runtime], [3.1.1])
+AC_INIT([darshan-runtime], [3.1.2])
 AC_CONFIG_SRCDIR([darshan.h])
 AC_CONFIG_AUX_DIR(../maint/config)
 AC_CONFIG_HEADER(darshan-runtime-config.h)


=====================================
darshan-runtime/doc/darshan-runtime.txt
=====================================
--- a/darshan-runtime/doc/darshan-runtime.txt
+++ b/darshan-runtime/doc/darshan-runtime.txt
@@ -219,7 +219,7 @@ should be compiled using the normal, unmodified MPI compiler.
 
 To use this mechanism, set the `LD_PRELOAD` environment variable to the full
 path to the Darshan shared library. The preferred method of inserting Darshan
-instrumentation in this case is to set the LD_PRELOAD variable specifically
+instrumentation in this case is to set the `LD_PRELOAD` variable specifically
 for the application of interest. Typically this is possible using
 command line arguments offered by the `mpirun` or `mpiexec` scripts or by
 the job scheduler:
@@ -249,6 +249,11 @@ unrelated binaries:
 export LD_PRELOAD=/home/carns/darshan-install/lib/libdarshan.so
 ----
 
+[NOTE]
+For SGI systems running the MPT environment, it may be necessary to set the `MPI_SHEPHERD`
+environment variable equal to `true` to avoid deadlock when preloading the Darshan shared
+library.
+
 === Instrumenting dynamically-linked Fortran applications
 
 Please follow the general steps outlined in the previous section.  For


=====================================
darshan-test/regression/run-all.sh
=====================================
--- a/darshan-test/regression/run-all.sh
+++ b/darshan-test/regression/run-all.sh
@@ -45,17 +45,6 @@ fi
 # set up environment for tests according to platform
 source $DARSHAN_TESTDIR/$DARSHAN_PLATFORM/env.sh
 
-# in case of using LD_PRELOAD, it is possible errors with Darshan symbols
-# (e..g, forgetting to resolve a symbol Darshan wraps using dlsym) can
-# cause arbitrary binaries to crash. We check the output of the true
-# command to successfully identify failures like this and exit
-true_out=`/bin/true 2>&1`
-if [ $? -ne 0 -o -n "$true_out" ]; then
-    echo -n $true_out > tmp
-    echo "environment setup failed"
-    exit 1
-fi
-
 failure_count=0
 
 for i in `ls $DARSHAN_TESTDIR/test-cases/*.sh`; do


=====================================
darshan-test/regression/workstation-dynamic/env.sh
=====================================
--- a/darshan-test/regression/workstation-dynamic/env.sh
+++ b/darshan-test/regression/workstation-dynamic/env.sh
@@ -38,3 +38,20 @@ FULL_MPICC_PATH=`which mpicc`
 export LD_PRELOAD=`dirname $FULL_MPICC_PATH`/../lib/libfmpich.so:$DARSHAN_PATH/lib/libdarshan.so:$LD_PRELOAD
 
 export DARSHAN_RUNJOB="mpiexec -n $DARSHAN_DEFAULT_NPROCS"
+
+# in case of using LD_PRELOAD, it is possible errors with Darshan symbols
+# (e..g, forgetting to resolve a symbol Darshan wraps using dlsym) can
+# cause arbitrary binaries to crash. We check the output of the true
+# command and ls to try to identify failures like this and exit
+true_out=`true`
+if [ $? -ne 0 -o -n "$true_out" ]; then
+    echo -n "$true_out"
+    echo "true command test failed"
+    exit 1
+fi
+ls_out=`ls 1>/dev/null`
+if [ $? -ne 0 -o -n "$ls_out" ]; then
+    echo -n "$ls_out"
+    echo "ls command test failed"
+    exit 1
+fi


=====================================
darshan-util/configure
=====================================
--- a/darshan-util/configure
+++ b/darshan-util/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for darshan-util 3.1.1.
+# Generated by GNU Autoconf 2.69 for darshan-util 3.1.2.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='darshan-util'
 PACKAGE_TARNAME='darshan-util'
-PACKAGE_VERSION='3.1.1'
-PACKAGE_STRING='darshan-util 3.1.1'
+PACKAGE_VERSION='3.1.2'
+PACKAGE_STRING='darshan-util 3.1.2'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1247,7 +1247,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures darshan-util 3.1.1 to adapt to many kinds of systems.
+\`configure' configures darshan-util 3.1.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1309,7 +1309,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of darshan-util 3.1.1:";;
+     short | recursive ) echo "Configuration of darshan-util 3.1.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1405,7 +1405,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-darshan-util configure 3.1.1
+darshan-util configure 3.1.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1770,7 +1770,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by darshan-util $as_me 3.1.1, which was
+It was created by darshan-util $as_me 3.1.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -4117,7 +4117,7 @@ fi
 done
 
 
-DARSHAN_UTIL_VERSION="3.1.1"
+DARSHAN_UTIL_VERSION="3.1.2"
 
 
 
@@ -4633,7 +4633,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by darshan-util $as_me 3.1.1, which was
+This file was extended by darshan-util $as_me 3.1.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -4695,7 +4695,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-darshan-util config.status 3.1.1
+darshan-util config.status 3.1.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 


=====================================
darshan-util/configure.in
=====================================
--- a/darshan-util/configure.in
+++ b/darshan-util/configure.in
@@ -5,7 +5,7 @@ dnl Process this file with autoconf to produce a configure script.
 dnl You may need to use autoheader as well if changing any DEFINEs
 
 dnl sanity checks, output header, location of scripts used here
-AC_INIT([darshan-util], [3.1.1])
+AC_INIT([darshan-util], [3.1.2])
 AC_CONFIG_SRCDIR([darshan-logutils.h])
 AC_CONFIG_AUX_DIR(../maint/config)
 AC_CONFIG_HEADER(darshan-util-config.h)



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/compare/074e0d0175b01969a39890837b2297ff1fc97269...c9b5691ac38c4d353be65e92e4a1f1e163f8ebc8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20161104/bb299d28/attachment-0001.html>


More information about the Darshan-commits mailing list