[Darshan-commits] [Darshan] branch, master, updated. darshan-2.3.1-pre1-20-gaa85838

Service Account git at mcs.anl.gov
Thu Feb 5 20:08:45 CST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".

The branch, master has been updated
       via  aa8583814b7e0817ca3f6b44b9de8121498959a7 (commit)
      from  5dc512f197185c3aaacd118e014cfe28fbfb04a2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit aa8583814b7e0817ca3f6b44b9de8121498959a7
Author: Phil Carns <carns at mcs.anl.gov>
Date:   Thu Feb 5 21:08:29 2015 -0500

    regression test environment for dynamic linking

-----------------------------------------------------------------------

Summary of changes:
 darshan-test/regression/run-all.sh                 |    1 -
 darshan-test/regression/workstation-dynamic/env.sh |   40 ++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletions(-)
 create mode 100755 darshan-test/regression/workstation-dynamic/env.sh


Diff of changes:
diff --git a/darshan-test/regression/run-all.sh b/darshan-test/regression/run-all.sh
index 19d6aec..604a366 100755
--- a/darshan-test/regression/run-all.sh
+++ b/darshan-test/regression/run-all.sh
@@ -45,7 +45,6 @@ fi
 # set up environment for tests according to platform
 source $DARSHAN_TESTDIR/$DARSHAN_PLATFORM/env.sh
 
-echo A
 for i in `ls $DARSHAN_TESTDIR/test-cases/*.sh`; do
     echo Running ${i}...
     $i
diff --git a/darshan-test/regression/workstation-dynamic/env.sh b/darshan-test/regression/workstation-dynamic/env.sh
new file mode 100755
index 0000000..1536d61
--- /dev/null
+++ b/darshan-test/regression/workstation-dynamic/env.sh
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+# General notes
+#######################
+
+# Script to set up the environment for tests on this platform.  Must export
+# the following environment variables:
+# 
+# DARSHAN_CC: command to compile C programs
+# DARSHAN_CXX: command to compile C++ programs
+# DARSHAN_F90: command to compile Fortran90 programs
+# DARSHAN_F77: command to compile Fortran77 programs
+# DARSHAN_RUNJOB: command to execute a job and wait for its completion
+
+# This script may load optional modules (as in a Cray PE), set LD_PRELOAD
+# variables (as in a dynamically linked environment), or generate mpicc
+# wrappers (as in a statically linked environment).
+
+# Notes specific to this platform (workstation-dynamic)_
+########################
+# This particular env script assumes that mpicc and its variants for other 
+# languages are already in the path, and that they will produce dynamic
+# executables by default.  Test programs are compile usign the existing
+# scripts, and LD_PRELOAD is set to enable instrumentation.
+
+# The runjob command is just mpiexec, no scheduler
+
+export DARSHAN_CC=mpicc
+export DARSHAN_CXX=mpicxx
+export DARSHAN_F77=mpif77
+export DARSHAN_F90=mpif90
+FULL_MPICC_PATH=`which mpicc`
+
+# This is a hack.  In order to instrument Fortran programs with LD_PRELOAD,
+# we must prepend libfmpich.so to the LD_PRELOAD variable, but with a fully
+# resolve path.  To find a path we locate mpicc and speculate that
+# libfmich.so can be found in ../lib.
+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"


hooks/post-receive
--



More information about the Darshan-commits mailing list