[CppAD] test error
Brad Bell
bradbell at seanet.com
Thu Nov 12 10:54:01 EST 2015
Peter:
Below I will describe how to build an executable called test_one.exe,
for debugging a single test. If you can do this on your system, it will
make it easier to track down the problem. (This is only supposed to
work on development systems which need to have a bash shell.) If you are
successful in this step, then you will be able to run test_one.exe in
the debugger and find out exactly which correctness check is failing.
I checked out cppad.git and did
cppad.git>git branch
* master
cppad.git>git show-ref master
3f7008b477fdb967404fd2bf37f15dde076fd074 refs/heads/master
3f7008b477fdb967404fd2bf37f15dde076fd074 refs/remotes/origin/master
so I am running the same version as you.
I then executed the command
bin/run_cmake.sh
to make sure that I have a copy of
test_more/test_one.sh
I then executed the commands
cd test_more
cppad.git>cd test_more
test_more>./test_one.sh forward.cpp
resulting in
g++ test_one.cpp forward.cpp ../cppad/local/cppad_colpack.cpp -o
test_one.exe -Wall -pedantic-errors -std=c++11 -Wshadow -g -fopenmp
-DCPPAD_ADOLC_TEST -DCPPAD_OPENMP_TEST -I..
-I/home/bradbell/prefix/adolc/include
-I/home/bradbell/prefix/colpack/include
-I/home/bradbell/prefix/eigen/include
-L/home/bradbell/prefix/adolc/lib64 -ladolc -lColPack
-L/home/bradbell/prefix/colpack/lib64 -lColPack
-I/home/bradbell/prefix/ipopt/include
-I/home/bradbell/prefix/ipopt/include/coin/ThirdParty
-L/home/bradbell/prefix/ipopt/lib64
-L/usr/lib/gcc/x86_64-redhat-linux/5.1.1
-L/usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../..
-L/home/bradbell/prefix/ipopt/lib64 -lipopt -llapack -lblas -lm -ldl
-lcoinmumps -lblas -lgfortran -lm -lquadmath -lcoinmetis
./test_one.exe
Forward OK
OK: No memory leak detected
All 2 tests passed.
On 11/11/2015 9:50 AM, Peter Caspers wrote:
> Hi,
>
> on the current git master (3f7008b4) I get the following error when
> doing make check. Can you help ? Anything I could provide to help
> analyzing this ?
>
> Thanks
> Peter
>
> inking CXX executable test_more
> [ 92%] Built target test_more
> Scanning dependencies of target check_test_more
> abs OK
> acos OK
> acosh OK
> adfun_copy OK
> Add OK
> AddEq OK
> AddZero OK
> asin OK
> asinh OK
> assign OK
> atan OK
> atanh OK
> atan2 OK
> azmul OK
> check_simple_vector OK
> checkpoint OK
> Compare OK
> compare_change OK
> CondExp OK
> CondExpAD OK
> cond_exp_rev OK
> copy OK
> Cos OK
> Cosh OK
> dbl_epsilon OK
> Div OK
> DivEq OK
> DivZeroOne OK
> erf OK
> Exp OK
> expm1 OK
> ForHess OK
> for_sparse_jac OK
> Forward Error
> forward_dir OK
> forward_order OK
> FromBase OK
> FunCheck OK
> jacobian OK
> log OK
> log10 OK
> log1p OK
> Mul OK
> mul_level OK
> mul_cond_rev OK
> Mul_cskip OK
> MulEq OK
> mul_zdouble OK
> MulZeroOne OK
> NearEqualExt OK
> Neg OK
> num_limits OK
> ode_err_control OK
> old_mat_mul OK
> old_reciprocal OK
> old_tan OK
> old_usead_1 OK
> old_usead_2 OK
> omp_alloc OK
> optimize OK
> parameter OK
> Poly OK
> Pow OK
> PowInt OK
> print_for OK
> reverse OK
> rev_sparse_hes OK
> rev_sparse_jac OK
> RevTwo OK
> RombergOne OK
> Rosen34 OK
> Runge45 OK
> SimpleVector OK
> Sin OK
> SinCos OK
> Sinh OK
> sparse_hessian OK
> sparse_jacobian OK
> sparse_vec_ad OK
> Sqrt OK
> std_math OK
> Sub OK
> SubEq OK
> SubZero OK
> tan OK
> track_new_del OK
> Value OK
> VecAD OK
> VecADPar OK
> VecUnary OK
> zdouble OK
> test_vector OK
> OK: No memory leak detected
> base_alloc OK
> 1 tests failed.
> test_more/CMakeFiles/check_test_more.dir/build.make:49: recipe for
> target 'test_more/CMakeFiles/check_test_more' failed
> make[3]: *** [test_more/CMakeFiles/check_test_more] Error 1
> CMakeFiles/Makefile2:761: recipe for target
> 'test_more/CMakeFiles/check_test_more.dir/all' failed
> make[2]: *** [test_more/CMakeFiles/check_test_more.dir/all] Error 2
> CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/check.dir/rule' failed
> make[1]: *** [CMakeFiles/check.dir/rule] Error 2
> Makefile:140: recipe for target 'check' failed
> make: *** [check] Error 2
> _______________________________________________
> CppAD mailing list
> CppAD at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cppad
>
More information about the CppAD
mailing list