[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-303-g18bea0d

mysql vizuser noreply at mpich.org
Tue Jun 11 16:33:25 CDT 2013


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 "MPICH primary repository".

The branch, master has been updated
       via  18bea0dab583b63ceb513ef5b98d05c9d4e27bb2 (commit)
      from  1199e48387de78086f2c4037dad3ea1aac156174 (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 -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/18bea0dab583b63ceb513ef5b98d05c9d4e27bb2

commit 18bea0dab583b63ceb513ef5b98d05c9d4e27bb2
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date:   Mon Jun 10 11:59:50 2013 -0500

    Improved timer-type detection.
    
    If the device specified a timer type, use that by default.  If none is
    specified, configure will try to detect one.  User-specified types are
    always given priority.
    
    Signed-off-by: Michael Blocksome <blocksom at us.ibm.com>

diff --git a/configure.ac b/configure.ac
index 39c20a6..21f174e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4784,6 +4784,14 @@ fi
 MPID_TIMER_TYPE=long
 AC_SUBST(MPID_TIMER_TYPE)
 
+# If the device specified a timer type, use that by default.  Else,
+# try to detect a type that works on this system.
+if test -n "$MPID_DEVICE_TIMER_TYPE" ; then
+   default_timer_type=device
+else
+   default_timer_type=
+fi
+
 # clock_gettime is the POSIX gettimeofday
 # gethrtime is the Solaris high-resolution timer
 dnl
@@ -4819,7 +4827,7 @@ AC_ARG_ENABLE(timer-type,
         certain situations.
 
         linuxalpha_cycle is no longer supported.
-],timer_type=$enable_timer_type)
+],timer_type=$enable_timer_type,timer_type=${default_timer_type})
 
 if test -z "$timer_type" ; then 
     # Try to pick a timer based on what is available

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

Summary of changes:
 configure.ac |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list