Changeset 708 for trunk/configure.ac


Ignore:
Timestamp:
Jul 12, 2016 4:18:44 AM (3 years ago)
Author:
kulshres
Message:

Merge branch 'master' of 'gitclone' into 'svn'

The following changes have been merged:

commit e2291bde44a282a133894b0db350aeb0b92a87db
Author: Mladen Banovic <mladenbanovic2705@…>
Date: Fri Jul 8 10:15:51 2016 +0200

Add methods getNumLiveVar and getNumDir in adtl.h, change counter type in FOR_I_EQ_0_LT_NUMDIR macro to size_t (instead of int). Update chunk size of BOOST pool in adouble_tl.cpp according to adouble::numDir.

commit 2ffb294465b973bfd4bf1f73d84478f8233c0d2f
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Jun 23 12:32:14 2016 +0200

implement missing ref_eq_mult_p und ref_eq_min_p in ho_rev.c

somehow these were left out when parameters were being implemented.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 8cf0e5c1bd36f1dcf3be72cd67de631b2e1d0ee6
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Jun 23 12:31:04 2016 +0200

make sure the result is the last locint written in trace for each operation

since we're trying to generate ascii traces in the future, we'll need this
convention that the last location is the result, and previous locations
are arguments. This has been the case for almost all operations anyway
except for a few new one's that I wrote without keeping this in mind.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 9ae0ff220f37463f2ed85cafc8a626c24e472f2f
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue Jun 21 14:16:27 2016 +0200

on some compilers newer boost interferes with AC_FUNC_MALLOC test

so do AC_FUNC_MALLOC and AC_FUNC_REALLOC as usual and check for boost
library later.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit b746f620772cc8cce53e8f350adc6281279caf72
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Mon Jun 20 15:32:22 2016 +0200

make Klaus Röbenack's name UTF-8 instead of ISO-8859-1

These are the only places where we're not simple ASCII or UTF-8 already

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 1171aa3961b5eb46a5d2ee64751c02a393a8a6f5
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Fri Jun 17 10:42:39 2016 +0200

correct short_ref document about include file

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 2c6b2aac2ef04431ece2c6ff80e574aa2e58814b
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Fri Jun 17 10:40:34 2016 +0200

correct error message to new semantics

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 506cde73451740bf0a15eff7d4abb158ee719ab0
Author: mflehmig <martin.flehmig@…>
Date: Fri Jun 17 10:14:26 2016 +0200

Fixed include of ADOL-C header.

ADOL-C header was included in old fashion (without adolc directory) for this example.

commit 2a023d3281d3d6d9824bad724a5768e3ee2fff94
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Thu Jun 16 13:50:39 2016 +0200

Try to use boost::pool for allocating advals in traceless vector mode

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

commit 80f1e2019ac1faab96fe06f3e9da47efcc1bcd23
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Mon May 23 15:13:22 2016 +0200

correct a reference in doc and rebuild

commit d7ab5283afe58bacb2e8739d72ede4e17f4c8081
Author: Mladen Banovic <mladenbanovic2705@…>
Date: Fri May 20 16:42:13 2016 +0200

Update section 7 of adolc-manual related to the Traceless forward differentiation.

commit bedb8e36f959c5272e4610fe504acc83208e5e9d
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue May 17 16:09:36 2016 +0200

macro name correction

commit 92ff596a0331776901df7f172ca347572e3daafd
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Tue May 17 15:56:17 2016 +0200

Add a warning about using static build of ADOL-C

static build of ADOL-C does not call constructors
for internal global objects, thereby causing
segmentation faults.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r695 r708  
    7575LT_INIT([disable-static win32-dll dlopen])
    7676
     77if test "x$enable_static" != "xno" ; then
     78   AC_MSG_WARN([Linking a user program with static ADOL-C library will always result in a segmentation fault])
     79fi
     80
    7781MPI_CONF_PRE
    7882
     
    108112AC_SEARCH_LIBS([pow], [m])
    109113AC_CHECK_FUNCS([floor fmax fmin ftime pow sqrt strchr strtol trunc])
    110 
    111 AX_BOOST_BASE([1.54],[boost_new=yes],[boost_new=no])
    112 if test x$boost_new = xyes ; then
    113 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
    114 AC_LANG_PUSH([C++])
    115 AC_CHECK_HEADERS([boost/pool/pool_alloc.hpp])
    116 AC_LANG_POP([C++])
    117 AX_BOOST_SYSTEM
    118 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $BOOST_SYSTEM_LIB"
    119 fi
    120 
    121 if test "x$want_boost" = xyes -a "x$boost_new" = xyes -a "x$ac_cv_header_boost_pool_pool_alloc_hpp" = xyes -a "x$link_system" = xyes ; then
    122     using_boost_pool=yes
    123 else
    124     using_boost_pool=no
    125 fi
    126114
    127115# substitutions
     
    313301            [ac_adolc_openmpflag=""
    314302             AC_MSG_RESULT(none)])
     303
     304AX_BOOST_BASE([1.54],[boost_new=yes],[boost_new=no])
     305if test x$boost_new = xyes ; then
     306CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
     307AC_LANG_PUSH([C++])
     308AC_CHECK_HEADERS([boost/pool/pool_alloc.hpp])
     309AC_LANG_POP([C++])
     310AX_BOOST_SYSTEM
     311LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $BOOST_SYSTEM_LIB"
     312fi
     313
     314if test "x$want_boost" = xyes -a "x$boost_new" = xyes -a "x$ac_cv_header_boost_pool_pool_alloc_hpp" = xyes -a "x$link_system" = xyes ; then
     315    using_boost_pool=yes
     316    USE_BOOST_POOL="#define USE_BOOST_POOL 1"
     317else
     318    using_boost_pool=no
     319    USE_BOOST_POOL="#define USE_BOOST_POOL 0"
     320fi
     321AC_SUBST(USE_BOOST_POOL)
    315322
    316323if test "x$using_boost_pool" = xyes -a "x$ac_adolc_openmpflag" = x ; then
     
    659666;;
    660667esac
     668if test "x$enable_static" != "xno" ; then
     669echo \
     670" Linking a user program with a static ADOL-C library will always result
     671  in a segmentation fault. Please always use the shared library.
     672*****************************************************************************
     673"
     674fi
Note: See TracChangeset for help on using the changeset viewer.