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

Sundials test fail. #14053

Closed
Hedilict opened this issue Jun 26, 2022 · 4 comments
Closed

Sundials test fail. #14053

Hedilict opened this issue Jun 26, 2022 · 4 comments

Comments

@Hedilict
Copy link

Hi, everyone, I just have installed the deal.II-v9.3.3 using the proposed candi project. Most of the issues in installing it have been solved and the install sees fine. However, when I do a quick test, the module sundials just failed. In particular, I do a full test of the sundials, and the log is as follow:

➜  sundials make test
Running tests...
Test project /home/hedilict/test/tests_for_installed_dealii/sundials
      Start  1: sundials/arkode_01.debug
 1/38 Test  #1: sundials/arkode_01.debug ...................   Passed    5.09 sec
      Start  2: sundials/arkode_01.release
 2/38 Test  #2: sundials/arkode_01.release .................   Passed    4.54 sec
      Start  3: sundials/arkode_02.debug
 3/38 Test  #3: sundials/arkode_02.debug ...................   Passed    5.19 sec
      Start  4: sundials/arkode_02.release
 4/38 Test  #4: sundials/arkode_02.release .................   Passed    4.62 sec
      Start  5: sundials/arkode_03.debug
 5/38 Test  #5: sundials/arkode_03.debug ...................***Failed    6.82 sec
      Start  6: sundials/arkode_03.release
 6/38 Test  #6: sundials/arkode_03.release .................***Failed    4.81 sec
      Start  7: sundials/arkode_06.debug
 7/38 Test  #7: sundials/arkode_06.debug ...................   Passed    6.69 sec
      Start  8: sundials/arkode_06.release
 8/38 Test  #8: sundials/arkode_06.release .................   Passed    6.48 sec
      Start  9: sundials/arkode_07.debug
 9/38 Test  #9: sundials/arkode_07.debug ...................   Passed    6.79 sec
      Start 10: sundials/arkode_07.release
10/38 Test #10: sundials/arkode_07.release .................   Passed    6.43 sec
      Start 11: sundials/arkode_08.debug
11/38 Test #11: sundials/arkode_08.debug ...................   Passed    6.30 sec
      Start 12: sundials/arkode_08.release
12/38 Test #12: sundials/arkode_08.release .................   Passed    5.96 sec
      Start 13: sundials/arkode_repeated_solve.debug
13/38 Test #13: sundials/arkode_repeated_solve.debug .......   Passed    5.16 sec
      Start 14: sundials/arkode_repeated_solve.release
14/38 Test #14: sundials/arkode_repeated_solve.release .....   Passed    4.40 sec
      Start 15: sundials/copy_01.mpirun=4.debug
15/38 Test #15: sundials/copy_01.mpirun=4.debug ............   Passed    4.68 sec
      Start 16: sundials/copy_01.mpirun=4.release
16/38 Test #16: sundials/copy_01.mpirun=4.release ..........   Passed    3.88 sec
      Start 17: sundials/kinsol_01.debug
17/38 Test #17: sundials/kinsol_01.debug ...................   Passed    4.73 sec
      Start 18: sundials/kinsol_01.release
18/38 Test #18: sundials/kinsol_01.release .................   Passed    3.85 sec
      Start 19: sundials/kinsol_02.debug
19/38 Test #19: sundials/kinsol_02.debug ...................   Passed    4.71 sec
      Start 20: sundials/kinsol_02.release
20/38 Test #20: sundials/kinsol_02.release .................   Passed    3.85 sec
      Start 21: sundials/kinsol_03.debug
21/38 Test #21: sundials/kinsol_03.debug ...................   Passed    4.68 sec
      Start 22: sundials/kinsol_03.release
22/38 Test #22: sundials/kinsol_03.release .................   Passed    3.89 sec
      Start 23: sundials/kinsol_03_new_interface.debug
23/38 Test #23: sundials/kinsol_03_new_interface.debug .....   Passed    4.69 sec
      Start 24: sundials/kinsol_03_new_interface.release
24/38 Test #24: sundials/kinsol_03_new_interface.release ...   Passed    3.92 sec
      Start 25: sundials/kinsol_04.debug
25/38 Test #25: sundials/kinsol_04.debug ...................   Passed    4.74 sec
      Start 26: sundials/kinsol_04.release
26/38 Test #26: sundials/kinsol_04.release .................   Passed    3.92 sec
      Start 27: sundials/kinsol_04_new_interface.debug
27/38 Test #27: sundials/kinsol_04_new_interface.debug .....   Passed    4.67 sec
      Start 28: sundials/kinsol_04_new_interface.release
28/38 Test #28: sundials/kinsol_04_new_interface.release ...   Passed    3.89 sec
      Start 29: sundials/kinsol_05.debug
29/38 Test #29: sundials/kinsol_05.debug ...................   Passed    4.71 sec
      Start 30: sundials/kinsol_05.release
30/38 Test #30: sundials/kinsol_05.release .................   Passed    3.90 sec
      Start 31: sundials/kinsol_05_new_interface.debug
31/38 Test #31: sundials/kinsol_05_new_interface.debug .....   Passed    4.72 sec
      Start 32: sundials/kinsol_05_new_interface.release
32/38 Test #32: sundials/kinsol_05_new_interface.release ...   Passed    3.92 sec
      Start 33: sundials/n_vector.mpirun=2.debug
33/38 Test #33: sundials/n_vector.mpirun=2.debug ...........***Failed    8.64 sec
      Start 34: sundials/n_vector.mpirun=2.release
34/38 Test #34: sundials/n_vector.mpirun=2.release .........***Failed    9.79 sec
      Start 35: sundials/n_vector.debug
35/38 Test #35: sundials/n_vector.debug ....................***Failed    0.44 sec
      Start 36: sundials/n_vector.release
36/38 Test #36: sundials/n_vector.release ..................***Failed    0.39 sec
      Start 37: sundials/serial_sundials.debug
37/38 Test #37: sundials/serial_sundials.debug .............   Passed    4.22 sec
      Start 38: sundials/serial_sundials.release
38/38 Test #38: sundials/serial_sundials.release ...........   Passed    3.50 sec

84% tests passed, 6 tests failed out of 38

Total Test time (real) = 183.62 sec

The following tests FAILED:
          5 - sundials/arkode_03.debug (Failed)
          6 - sundials/arkode_03.release (Failed)
         33 - sundials/n_vector.mpirun=2.debug (Failed)
         34 - sundials/n_vector.mpirun=2.release (Failed)
         35 - sundials/n_vector.debug (Failed)
         36 - sundials/n_vector.release (Failed)
Errors while running CTest
Output from these tests are in: /home/hedilict/test/tests_for_installed_dealii/sundials/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
make: *** [Makefile:71: test] Error 8
➜  sundials cat /home/hedilict/test/tests_for_installed_dealii/sundials/Testing/Temporary/LastTest.log
Start testing: Jun 26 14:28 CST
----------------------------------------------------------
1/38 Testing: sundials/arkode_01.debug

I have check the error detailly, it seems that there exists a typename error:

/home/hedilict/opt/tmp/unpack/deal.II-v9.3.3/tests/quick_tests/sundials-ida.cc:130:3: error: ‘SUNDIALS’ does not name a type
  130 |   SUNDIALS::IDA<Vector<double>> time_stepper;
      |   ^~~~~~~~
/home/hedilict/opt/tmp/unpack/deal.II-v9.3.3/tests/quick_tests/sundials-ida.cc: In constructor ‘HarmonicOscillator::HarmonicOscillator(double)’:
/home/hedilict/opt/tmp/unpack/deal.II-v9.3.3/tests/quick_tests/sundials-ida.cc:71:5: error: ‘time_stepper’ was not declared in this scope
   71 |     time_stepper.reinit_vector = [&](Vector<double> &v) { v.reinit(2); };
      |     ^~~~~~~~~~~~
/home/hedilict/opt/tmp/unpack/deal.II-v9.3.3/tests/quick_tests/sundials-ida.cc: In member function ‘void HarmonicOscillator::run()’:
/home/hedilict/opt/tmp/unpack/deal.II-v9.3.3/tests/quick_tests/sundials-ida.cc:128:5: error: ‘time_stepper’ was not declared in this scope
  128 |     time_stepper.solve_dae(y, y_dot);
      |     ^~~~~~~~~~~~
make[7]: *** [tests/quick_tests/CMakeFiles/sundials-ida.debug.dir/build.make:76: tests/quick_tests/CMakeFiles/sundials-ida.debug.dir/sundials-ida.cc.o] Error 1
make[6]: *** [CMakeFiles/Makefile2:12963: tests/quick_tests/CMakeFiles/sundials-ida.debug.dir/all] Error 2
make[5]: *** [CMakeFiles/Makefile2:12996: tests/quick_tests/CMakeFiles/sundials-ida.debug.run.dir/rule] Error 2
make[4]: *** [Makefile:5785: sundials-ida.debug.run] Error 2
Test sundials-ida.debug: BUILD

I am wondering how to address this issue, thanks a lot!!!

@drwells
Copy link
Member

drwells commented Jun 26, 2022

Thanks for reporting this. I suspect this bug has already been fixed by one of the many patches to SUNDIALS since 9.3. Could you give this another try with 9.4 once candi is updated to support it?

@Hedilict
Copy link
Author

Thanks for reporting this. I suspect this bug has already been fixed by one of the many patches to SUNDIALS since 9.3. Could you give this another try with 9.4 once candi is updated to support it?

Ok, I will try the new version 9.4 later.

@Hedilict
Copy link
Author

Hedilict commented Jul 1, 2022

This issue has been solved in deal.II-v9.4.0. Thanks a lot!

@drwells
Copy link
Member

drwells commented Jul 3, 2022

Thanks for checking!

@drwells drwells closed this as completed Jul 3, 2022
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