[CppAD] Error Function

Peter Caspers pcaspers1973 at gmail.com
Wed Dec 24 15:33:22 EST 2014


Hi,

I am getting an error during the configuration

peter at peter-ThinkPad-W520:~/cppad-20141224/build$ cmake -G "Unix Makefiles" ..
-- cmake_install_datadir = share
-- cmake_install_docdir =
-- cmake_install_includedirs = /home/peter/boost_1_57_0
-- cmake_install_libdirs = lib
-- cmake_install_prefix = /usr
-- cmake_install_postfix = NOTFOUND
-- cppad_cxx_flags = -std=c++0x
-- cppad_documentation =
-- adolc_prefix = NOTFOUND
-- colpack_prefix = NOTFOUND
-- eigen_prefix = NOTFOUND
-- fadbad_prefix = NOTFOUND
-- ipopt_prefix = NOTFOUND
-- sacado_prefix = NOTFOUND
-- cppad_cxx_flags_sacado = -std=c++0x
-- cppad_cxx_flags_eigen = -std=c++0x
-- cppad_cxx_flags_fadbad = -std=c++0x
-- Could NOT find Boost
-- cppad_testvector = cppad
-- cppad_max_num_threads = 8
-- cppad_sparse_list = YES
-- cppad_tape_id_type = unsigned int
-- cppad_tape_addr_type = unsigned int
-- cppad_implicit_ctor_from_any_type_from_any_type = NO
-- cppad_internal_sparse_set = sparse_list
-- cppad_boostvector = 0
-- cppad_cppadvector = 1
-- cppad_eigenvector = 0
-- cppad_stdvector = 0
-- cppad_has_rvalue = 0
-- cppad_has_nullptr = 0
-- cppad_has_gettimeofday = 0
-- cppad_size_t_not_unsigned_int = 0
-- cppad_has_cstdint_8_to_64 = 0
-- has_error_function = cppad_compiler_has_erf = 0
CMake Error at cppad/CMakeLists.txt:283 (MESSAGE):
  cppad_max_num_threads is not an integer greater than or equal 4


-- Configuring incomplete, errors occurred!

What am I missing ?

Thanks a lot
Peter

On 24 December 2014 at 17:13, Brad Bell <bradbell at seanet.com> wrote:
> If the compiler supports the error function, it is now an atomic operation;
> see the heading 12-32 on
>     http://www.coin-or.org/CppAD/Doc/whats_new_14.xml#12-23
>
> Note that you have to use the cmake install
>     http://www.coin-or.org/CppAD/Doc/cmake.xml
> to get this feature, the auto-tools install
>      http://www.coin-or.org/CppAD/Doc/installunix.xml
> has been deprecated since 2012 and is far behind in detecting system
> features.
>
>
>
> On 12/20/2014 7:39 AM, Peter Caspers wrote:
>>
>> yes, sure, that would be fine.
>> thanks a lot for your help
>> Peter
>>
>> On 20 December 2014 at 14:31, Brad Bell <bradbell at seanet.com> wrote:
>>>
>>> I now see that the error function is part of the c++11 standard.
>>>      http://www.cplusplus.com/reference/cmath/erf/
>>> I will look into replacing the erf function by the compiler
>>> implementation
>>> in the case where the compile supports it. Would this work for you ?
>>>
>>>
>>> On 12/20/2014 3:13 AM, Peter Caspers wrote:
>>>>
>>>> Hi,
>>>>
>>>> is there any chance to add an error function to CppAD which is more
>>>> accurate than the existing one
>>>>
>>>> http://www.coin-or.org/CppAD/Doc/erf.xml
>>>>
>>>> In general, is it difficult to add functions to the library, i.e.
>>>> could I do it myself ? Is there any documentation on how to do that ?
>>>>
>>>> Thanks a lot
>>>> Peter
>>>> _______________________________________________
>>>> CppAD mailing list
>>>> CppAD at list.coin-or.org
>>>> http://list.coin-or.org/mailman/listinfo/cppad
>>>>
>>> _______________________________________________
>>> CppAD mailing list
>>> CppAD at list.coin-or.org
>>> http://list.coin-or.org/mailman/listinfo/cppad
>
>


More information about the CppAD mailing list