Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost-test-adolc Fails with absolute value exceeding tolerance #56

Open
raisin opened this issue Feb 28, 2024 · 1 comment
Open

boost-test-adolc Fails with absolute value exceeding tolerance #56

raisin opened this issue Feb 28, 2024 · 1 comment

Comments

@raisin
Copy link

raisin commented Feb 28, 2024

ADOL-C was built and installed on a Debian 12.5 system. Afterwards, boost-test-adolc was built and run. The shell output from the last two steps is provided below:

debianuser@debian: ~/ADOL-C/ADOL-C/boost-test/build$ make boost-test-adolc
[ 9%] Building CXX object CMakeFiles/boost-test-adolc.dir/adouble.cpp.o
[ 18%] Building CXX object CMakeFiles/boost-test-adolc.dir/main.cpp.o
[ 27%] Building CXX object CMakeFiles/boost-test-adolc.dir/traceCompositeTests.cpp.o
[ 36%] Building CXX object CMakeFiles/boost-test-adolc.dir/tracelessCompositeTests.cpp.o
[ 45%] Building CXX object CMakeFiles/boost-test-adolc.dir/tracelessOperatorScalar.cpp.o
[ 54%] Building CXX object CMakeFiles/boost-test-adolc.dir/tracelessOperatorVector.cpp.o
[ 63%] Building CXX object CMakeFiles/boost-test-adolc.dir/traceOperatorScalar.cpp.o
[ 72%] Building CXX object CMakeFiles/boost-test-adolc.dir/traceOperatorVector.cpp.o
[ 81%] Building CXX object CMakeFiles/boost-test-adolc.dir/traceSecOrderScalar.cpp.o
[ 90%] Building CXX object CMakeFiles/boost-test-adolc.dir/traceSecOrderVector.cpp.o
[100%] Linking CXX executable boost-test-adolc
[100%] Built target boost-test-adolc
debianuser@debian: ~/ADOL-C/ADOL-C/boost-test/build$ ./boost-test-adolc
Running 470 test cases...
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
/home/debianuser/ADOL-C/ADOL-C/boost-test/traceOperatorVector.cpp(2989): error: in "trace_vector/FminOperator_FOV_Forward_1": check yd[0][1] == bDerivative has failed [0 != -3.7000000000000002]: absolute value exceeds tolerance [|-3.7| > 1e-08]
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.
ADOL-C warning: fmin/fmax used with equal arguments, adjoints might be incorrect.

*** 1 failure is detected in the test module "boost-adolc-test"

@awalther1
Copy link
Contributor

Hi, thanks for the hint. there is actutally a bug in the example to test the min/max. We are working on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants