Changeset 2267


Ignore:
Timestamp:
Jan 16, 2012 9:57:36 AM (8 years ago)
Author:
bradbell
Message:
  1. Fix problem where multi_thread/test.sh required the openmp flags to be

specfied on the configure command line.

  1. In */makefile.in, update copyright data from corresponding makefile.am.
Location:
trunk
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/cppad_ipopt/example/makefile.in

    r2265 r2267  
    102102# $Id$
    103103# -----------------------------------------------------------------------------
    104 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     104# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    105105#
    106106# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/cppad_ipopt/speed/makefile.in

    r2265 r2267  
    103103# $Id$
    104104# -----------------------------------------------------------------------------
    105 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     105# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    106106#
    107107# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/cppad_ipopt/test/makefile.in

    r2265 r2267  
    9898# $Id$
    9999# -----------------------------------------------------------------------------
    100 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     100# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    101101#
    102102# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/example/makefile.in

    r2265 r2267  
    181181# $Id$
    182182# -----------------------------------------------------------------------------
    183 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     183# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    184184#
    185185# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/introduction/exp_apx/makefile.in

    r2265 r2267  
    102102# $Id$
    103103# -----------------------------------------------------------------------------
    104 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     104# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    105105#
    106106# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/introduction/get_started/makefile.in

    r2265 r2267  
    9292# $Id$
    9393# -----------------------------------------------------------------------------
    94 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     94# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    9595#
    9696# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/makefile.in

    r2265 r2267  
    264264# $Id$
    265265# -----------------------------------------------------------------------------
    266 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     266# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    267267#
    268268# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/multi_thread/test.sh

    r2252 r2267  
    1212# -----------------------------------------------------------------------------
    1313# script used by */makefile.am to run a default case for all the the tests
    14 #
    15 # cases that have failed in the past
    16 ./openmp_test multi_newton 1 1 100 700 1 true
    17 ./openmp_test multi_newton 1 2 3 12 1 true
    18 #
    19 # standard test cases
     14# --------------------------------------------------------------------------
     15# setup
     16next_program() {
     17        (( i_program = i_program + 1 ))
     18        if [ $i_program -ge $n_program ]
     19        then
     20                i_program='0'
     21        fi
     22        program=${program_list[$i_program]}
     23}
     24n_program='0'
     25for program in openmp_test pthread_test bthread_test
     26do
     27        if [ -e $program ]
     28        then
     29                program_list[$n_program]=$program
     30                (( n_program = n_program + 1 ))
     31        fi
     32done
     33if [ "$n_program" == '0' ]
     34then
     35        echo "multi_thread/test.sh: nothing to test"
     36        exit 0
     37fi
     38i_program='0'
     39next_program
     40# --------------------------------------------------------------------------
     41# test_time=1 max_thread=4, mega_sum=1
     42./$program harmonic 1 4 1
     43next_program
     44echo
     45# test_time= 2 max_thread=4, num_zero=20, num_sub=30, num_sum=500, use_ad=true
     46./$program multi_newton 2 4 20 30 500 true
     47next_program
     48echo
     49# case that failed in the past
     50./$program multi_newton 1 1 100 700 1 true
     51next_program
     52echo
     53# case that failed in the past
     54./$program multi_newton 1 2 3 12 1 true
     55next_program
     56echo
     57# fast cases, do all programs
    2058for program in openmp_test pthread_test bthread_test
    2159do
     
    2664                ./$program simple_ad
    2765                echo
    28                 # test_time=1 max_thread=4, mega_sum=1
    29                 ./$program harmonic 1 4 1
    30                 echo
    31                 # test_time= 2 max_thread=4,
    32                 # num_zero=20, num_sub=30, num_sum=500, use_ad=true
    33                 ./$program multi_newton 2 4 20 30 500 true
    3466        fi
    3567done
  • trunk/omh/whats_new_12.omh

    r2266 r2267  
    2929The purpose of this section is to
    3030assist you in learning about changes between various versions of CppAD.
     31
     32$head 01-16$$
     33The test program $code multi_thread/test.sh$$ failed if the
     34$cref/OpenmpFlags/InstallUnix/OpenmpFlags/$$ not present in the
     35$code configure$$ command.
     36This has been fixed.
     37In addition, this $code test.sh$$ has been made faster by cycling through
     38the available threading systems instead of doing every system for every
     39test.
    3140
    3241$head 01-15$$
  • trunk/print_for/makefile.in

    r2265 r2267  
    9292# $Id$
    9393# -----------------------------------------------------------------------------
    94 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     94# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    9595#
    9696# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/speed/adolc/makefile.in

    r2265 r2267  
    9595# $Id$
    9696# -----------------------------------------------------------------------------
    97 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     97# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    9898#
    9999# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/speed/cppad/makefile.in

    r2265 r2267  
    9595# $Id$
    9696# -----------------------------------------------------------------------------
    97 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     97# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    9898#
    9999# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/speed/double/makefile.in

    r2265 r2267  
    9696# $Id$
    9797# -----------------------------------------------------------------------------
    98 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     98# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    9999#
    100100# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/speed/example/makefile.in

    r2265 r2267  
    9797# $Id$
    9898# -----------------------------------------------------------------------------
    99 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     99# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    100100#
    101101# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/speed/fadbad/makefile.in

    r2265 r2267  
    9696# $Id$
    9797# -----------------------------------------------------------------------------
    98 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     98# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    9999#
    100100# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/speed/profile/makefile.in

    r2265 r2267  
    9696# $Id$
    9797# -----------------------------------------------------------------------------
    98 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     98# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    9999#
    100100# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/speed/sacado/makefile.in

    r2265 r2267  
    9696# $Id$
    9797# -----------------------------------------------------------------------------
    98 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     98# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    9999#
    100100# CppAD is distributed under multiple licenses. This distribution is under
  • trunk/test_more/makefile.in

    r2265 r2267  
    138138# $Id$
    139139# -----------------------------------------------------------------------------
    140 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     140# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
    141141#
    142142# CppAD is distributed under multiple licenses. This distribution is under
Note: See TracChangeset for help on using the changeset viewer.