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

spack test fails: potential issue with make flag recognition? #192

Closed
SamBosch77 opened this issue Aug 30, 2022 · 1 comment
Closed

spack test fails: potential issue with make flag recognition? #192

SamBosch77 opened this issue Aug 30, 2022 · 1 comment
Labels

Comments

@SamBosch77
Copy link

Summary:

Post-install with spack, the program fails the internal spack tests at runtime. Let me know if you need any additional information I could provide to help with this process.

Error Details:

Console output
==> Error: TestFailure: 1 tests failed.


Command exited with status 2:
    '/usr/bin/make'
O3 -DNDEBUG -O3 -DNDEBUG -I/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -c test_nvector.c
O3 -DNDEBUG -O3 -DNDEBUG -I/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -c test_nvector_serial.c
 -o test_nvector_serial test_nvector_serial.o test_nvector.o -O3 -DNDEBUG  -I/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -L/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/lib -lsundials_nvecserial -lsundials_nvecserial -lsundials_nvecmanyvector -lm -Wl,-rpath,/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/lib
sh: 1: O3: not found
make: [Makefile:90: test_nvector.o] Error 127 (ignored)
sh: 1: O3: not found
make: [Makefile:90: test_nvector_serial.o] Error 127 (ignored)
sh: 3: -o: not found
make: *** [Makefile:97: examples] Error 127



1 error found in test log:
     18     -o test_nvector_serial test_nvector_serial.o test_nvector.o -O3 -DNDEBUG  -I/storage/users/sbosch/spack/opt/spack/l
           inux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -L/storage/users/sbosch/sp
           ack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/lib -lsundials_nvec
           serial -lsundials_nvecserial -lsundials_nvecmanyvector -lm -Wl,-rpath,/storage/users/sbosch/spack/opt/spack/linux-ub
           untu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/lib
     19    sh: 1: O3: not found
     20    make: [Makefile:90: test_nvector.o] Error 127 (ignored)
     21    sh: 1: O3: not found
     22    make: [Makefile:90: test_nvector_serial.o] Error 127 (ignored)
     23    sh: 3: -o: not found
  >> 24    make: *** [Makefile:97: examples] Error 127
     25
     26      File "/home/users/sbosch/spack/bin/spack", line 98, in <module>



/storage/users/sbosch/spack/lib/spack/spack/build_environment.py:1076, in _setup_pkg_and_run:
       1073        tb_string = traceback.format_exc()
       1074
       1075        # build up some context from the offending package so we can
  >>   1076        # show that, too.
       1077        package_context = get_package_context(tb)
       1078
       1079        logfile = None

See test log for details:
  /home/users/sbosch/.spack/test/qwucitp3xji6qha7vpkstq476u5ryq5j/sundials-6.2.0-xv2uy7c-test-out.txt

==> Error: 1 test(s) in the suite failed.

--- ==> Spack test qwucitp3xji6qha7vpkstq476u5ryq5j
==> Testing package sundials-6.2.0-xv2uy7c
======================== 1 failed, 0 passed of 1 specs ========================= ---
sundials-test-out.txt
==> Testing package sundials-6.2.0-xv2uy7c
==> [2022-08-30-15:33:19.587498] Installing /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/.spack/test to /home/users/sbosch/.spack/test/qwucitp3xji6qha7vpkstq476u5ryq5j/sundials-6.2.0-xv2uy7c/cache/sundials
==> [2022-08-30-15:33:20.495317] test: make: expect command status in [0]
==> [2022-08-30-15:33:20.495832] '/usr/bin/make'
O3 -DNDEBUG -O3 -DNDEBUG -I/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -c test_nvector.c
O3 -DNDEBUG -O3 -DNDEBUG -I/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -c test_nvector_serial.c
 -o test_nvector_serial test_nvector_serial.o test_nvector.o -O3 -DNDEBUG  -I/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -L/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/lib -lsundials_nvecserial -lsundials_nvecserial -lsundials_nvecmanyvector -lm -Wl,-rpath,/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/lib
sh: 1: O3: not found
make: [Makefile:90: test_nvector.o] Error 127 (ignored)
sh: 1: O3: not found
make: [Makefile:90: test_nvector_serial.o] Error 127 (ignored)
sh: 3: -o: not found
make: *** [Makefile:97: examples] Error 127
FAILED: Command exited with status 2:
    '/usr/bin/make'
O3 -DNDEBUG -O3 -DNDEBUG -I/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -c test_nvector.c
O3 -DNDEBUG -O3 -DNDEBUG -I/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -c test_nvector_serial.c
 -o test_nvector_serial test_nvector_serial.o test_nvector.o -O3 -DNDEBUG  -I/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include -L/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/lib -lsundials_nvecserial -lsundials_nvecserial -lsundials_nvecmanyvector -lm -Wl,-rpath,/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/lib
sh: 1: O3: not found
make: [Makefile:90: test_nvector.o] Error 127 (ignored)
sh: 1: O3: not found
make: [Makefile:90: test_nvector_serial.o] Error 127 (ignored)
sh: 3: -o: not found
make: *** [Makefile:97: examples] Error 127

  File "/home/users/sbosch/spack/bin/spack", line 98, in <module>
    sys.exit(spack.main.main())
  File "/storage/users/sbosch/spack/lib/spack/spack/main.py", line 893, in main
    return _main(argv)
  File "/storage/users/sbosch/spack/lib/spack/spack/main.py", line 848, in _main
    return finish_parse_and_run(parser, cmd_name, env_format_error)
  File "/storage/users/sbosch/spack/lib/spack/spack/main.py", line 876, in finish_parse_and_run
    return _invoke_command(command, parser, args, unknown)
  File "/storage/users/sbosch/spack/lib/spack/spack/main.py", line 533, in _invoke_command
    return_val = command(parser, args)
  File "/storage/users/sbosch/spack/lib/spack/spack/cmd/test.py", line 439, in test
    globals()['test_%s' % args.test_command](args)
  File "/storage/users/sbosch/spack/lib/spack/spack/cmd/test.py", line 208, in test_run
    test_suite(remove_directory=not args.keep_stage,
  File "/storage/users/sbosch/spack/lib/spack/spack/install_test.py", line 164, in __call__
    spec.package.do_test(dirty=dirty, externals=externals)
  File "/storage/users/sbosch/spack/lib/spack/spack/package.py", line 2006, in do_test
    spack.build_environment.start_build_process(
  File "/storage/users/sbosch/spack/lib/spack/spack/build_environment.py", line 1171, in start_build_process
    p.start()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/usr/lib/python3.8/multiprocessing/context.py", line 277, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 75, in _launch
    code = process_obj._bootstrap(parent_sentinel=child_r)
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/storage/users/sbosch/spack/lib/spack/spack/build_environment.py", line 1060, in _setup_pkg_and_run
    return_value = function(pkg, kwargs)
  File "/storage/users/sbosch/spack/lib/spack/spack/package.py", line 2905, in test_process
    test_fn(pkg)
  File "/storage/users/sbosch/spack/var/spack/repos/builtin/packages/sundials/package.py", line 715, in test
    self.build_smoke_tests()
  File "/storage/users/sbosch/spack/var/spack/repos/builtin/packages/sundials/package.py", line 700, in build_smoke_tests
    self.run_test(exe='make')
==> [2022-08-30-15:33:20.545100] test: cmake: expect command status in [0]
==> [2022-08-30-15:33:20.545553] '/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/cmake-3.23.1-y3d2cjiwv2qcy65ljekhm5h6ljw5kj2n/bin/cmake' '.'
-- Configuring done
-- Generating done
-- Build files have been written to: /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial
PASSED
==> [2022-08-30-15:33:20.938514] test: make: expect command status in [0]
==> [2022-08-30-15:33:20.939168] '/usr/bin/make'
[  3%] Building C object CMakeFiles/cvAdvDiff_bnd.dir/cvAdvDiff_bnd.c.o
[  7%] Linking C executable cvAdvDiff_bnd
[  7%] Built target cvAdvDiff_bnd
[ 10%] Building C object CMakeFiles/cvAnalytic_mels.dir/cvAnalytic_mels.c.o
[ 14%] Linking C executable cvAnalytic_mels
[ 14%] Built target cvAnalytic_mels
[ 17%] Building C object CMakeFiles/cvDirectDemo_ls.dir/cvDirectDemo_ls.c.o
[ 21%] Linking C executable cvDirectDemo_ls
[ 21%] Built target cvDirectDemo_ls
[ 25%] Building C object CMakeFiles/cvDisc_dns.dir/cvDisc_dns.c.o
[ 28%] Linking C executable cvDisc_dns
[ 28%] Built target cvDisc_dns
[ 32%] Building C object CMakeFiles/cvDiurnal_kry_bp.dir/cvDiurnal_kry_bp.c.o
[ 35%] Linking C executable cvDiurnal_kry_bp
[ 35%] Built target cvDiurnal_kry_bp
[ 39%] Building C object CMakeFiles/cvDiurnal_kry.dir/cvDiurnal_kry.c.o
[ 42%] Linking C executable cvDiurnal_kry
[ 42%] Built target cvDiurnal_kry
[ 46%] Building C object CMakeFiles/cvKrylovDemo_ls.dir/cvKrylovDemo_ls.c.o
[ 50%] Linking C executable cvKrylovDemo_ls
[ 50%] Built target cvKrylovDemo_ls
[ 53%] Building C object CMakeFiles/cvKrylovDemo_prec.dir/cvKrylovDemo_prec.c.o
[ 57%] Linking C executable cvKrylovDemo_prec
[ 57%] Built target cvKrylovDemo_prec
[ 60%] Building C object CMakeFiles/cvParticle_dns.dir/cvParticle_dns.c.o
[ 64%] Linking C executable cvParticle_dns
[ 64%] Built target cvParticle_dns
[ 67%] Building C object CMakeFiles/cvPendulum_dns.dir/cvPendulum_dns.c.o
[ 71%] Linking C executable cvPendulum_dns
[ 71%] Built target cvPendulum_dns
[ 75%] Building C object CMakeFiles/cvRoberts_dns.dir/cvRoberts_dns.c.o
[ 78%] Linking C executable cvRoberts_dns
[ 78%] Built target cvRoberts_dns
[ 82%] Building C object CMakeFiles/cvRoberts_dns_constraints.dir/cvRoberts_dns_constraints.c.o
[ 85%] Linking C executable cvRoberts_dns_constraints
[ 85%] Built target cvRoberts_dns_constraints
[ 89%] Building C object CMakeFiles/cvRoberts_dns_negsol.dir/cvRoberts_dns_negsol.c.o
[ 92%] Linking C executable cvRoberts_dns_negsol
[ 92%] Built target cvRoberts_dns_negsol
[ 96%] Building C object CMakeFiles/cvRoberts_dns_uw.dir/cvRoberts_dns_uw.c.o
[100%] Linking C executable cvRoberts_dns_uw
[100%] Built target cvRoberts_dns_uw
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c: In function 'main':
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:271:5: warning: 'SUNNonlinSolSetPrintLevel_Newton' is deprecated: Use SUNLogger interface instead [-Wdeprecated-declarations]
  271 |     retval = SUNNonlinSolSetPrintLevel_Newton(NLS, 1);
      |     ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:52:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunnonlinsol/sunnonlinsol_newton.h:121:21: note: declared here
  121 | SUNDIALS_EXPORT int SUNNonlinSolSetPrintLevel_Newton(SUNNonlinearSolver NLS,
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:273:5: warning: 'SUNNonlinSolSetInfoFile_Newton' is deprecated: Use SUNLogger_SetInfoFilename instead [-Wdeprecated-declarations]
  273 |     retval = SUNNonlinSolSetInfoFile_Newton(NLS, infofp);
      |     ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:52:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunnonlinsol/sunnonlinsol_newton.h:117:5: note: declared here
  117 | int SUNNonlinSolSetInfoFile_Newton(SUNNonlinearSolver NLS,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:323:9: warning: 'SUNLinSolSetPrintLevel_SPGMR' is deprecated: Use SUNLogger interface instead [-Wdeprecated-declarations]
  323 |         retval = SUNLinSolSetPrintLevel_SPGMR(LS, 1);
      |         ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:48:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunlinsol/sunlinsol_spgmr.h:128:5: note: declared here
  128 | int SUNLinSolSetPrintLevel_SPGMR(SUNLinearSolver LS, int print_level);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:325:9: warning: 'SUNLinSolSetInfoFile_SPGMR' is deprecated: Use SUNLogger_SetInfoFilename instead [-Wdeprecated-declarations]
  325 |         retval = SUNLinSolSetInfoFile_SPGMR(LS, infofp);
      |         ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:48:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunlinsol/sunlinsol_spgmr.h:125:5: note: declared here
  125 | int SUNLinSolSetInfoFile_SPGMR(SUNLinearSolver LS,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:351:9: warning: 'SUNLinSolSetPrintLevel_SPFGMR' is deprecated: Use SUNLogger interface instead [-Wdeprecated-declarations]
  351 |         retval = SUNLinSolSetPrintLevel_SPFGMR(LS, 1);
      |         ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:49:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunlinsol/sunlinsol_spfgmr.h:126:5: note: declared here
  126 | int SUNLinSolSetPrintLevel_SPFGMR(SUNLinearSolver LS, int print_level);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:353:9: warning: 'SUNLinSolSetInfoFile_SPFGMR' is deprecated: Use SUNLogger_SetInfoFilename instead [-Wdeprecated-declarations]
  353 |         retval = SUNLinSolSetInfoFile_SPFGMR(LS, infofp);
      |         ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:49:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunlinsol/sunlinsol_spfgmr.h:123:5: note: declared here
  123 | int SUNLinSolSetInfoFile_SPFGMR(SUNLinearSolver LS,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:379:9: warning: 'SUNLinSolSetPrintLevel_SPBCGS' is deprecated: Use SUNLogger interface instead [-Wdeprecated-declarations]
  379 |         retval = SUNLinSolSetPrintLevel_SPBCGS(LS, 1);
      |         ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:50:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunlinsol/sunlinsol_spbcgs.h:119:5: note: declared here
  119 | int SUNLinSolSetPrintLevel_SPBCGS(SUNLinearSolver LS, int print_level);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:381:9: warning: 'SUNLinSolSetInfoFile_SPBCGS' is deprecated: Use SUNLogger_SetInfoFilename instead [-Wdeprecated-declarations]
  381 |         retval = SUNLinSolSetInfoFile_SPBCGS(LS, infofp);
      |         ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:50:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunlinsol/sunlinsol_spbcgs.h:116:5: note: declared here
  116 | int SUNLinSolSetInfoFile_SPBCGS(SUNLinearSolver LS,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:407:9: warning: 'SUNLinSolSetPrintLevel_SPTFQMR' is deprecated: Use SUNLogger interface instead [-Wdeprecated-declarations]
  407 |         retval = SUNLinSolSetPrintLevel_SPTFQMR(LS, 1);
      |         ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:51:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunlinsol/sunlinsol_sptfqmr.h:119:5: note: declared here
  119 | int SUNLinSolSetPrintLevel_SPTFQMR(SUNLinearSolver LS, int print_level);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:409:9: warning: 'SUNLinSolSetInfoFile_SPTFQMR' is deprecated: Use SUNLogger_SetInfoFilename instead [-Wdeprecated-declarations]
  409 |         retval = SUNLinSolSetInfoFile_SPTFQMR(LS, infofp);
      |         ^~~~~~
In file included from /storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvKrylovDemo_ls.c:51:
/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/include/sunlinsol/sunlinsol_sptfqmr.h:116:5: note: declared here
  116 | int SUNLinSolSetInfoFile_SPTFQMR(SUNLinearSolver LS,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
PASSED
==> [2022-08-30-15:33:26.894884] Test CVODE
==> [2022-08-30-15:33:26.895600] '/storage/users/sbosch/spack/opt/spack/linux-ubuntu20.04-x86_64/gcc-9.4.0/sundials-6.2.0-xv2uy7coj44mgpcjhzgkn7ctqc7hphg7/examples/cvode/serial/cvAdvDiff_bnd'

2-D Advection-Diffusion Equation
Mesh dimensions = 10 X 5
Total system size = 50
Tolerance parameters: reltol = 0   abstol = 1e-05

At t = 0      max.norm(u) =  8.954716e+01
At t = 0.10   max.norm(u) =  4.132889e+00   nst =   85
At t = 0.20   max.norm(u) =  1.039294e+00   nst =  103
At t = 0.30   max.norm(u) =  2.979829e-01   nst =  113
At t = 0.40   max.norm(u) =  8.765774e-02   nst =  120
At t = 0.50   max.norm(u) =  2.625637e-02   nst =  126
At t = 0.60   max.norm(u) =  7.830425e-03   nst =  130
At t = 0.70   max.norm(u) =  2.329387e-03   nst =  134
At t = 0.80   max.norm(u) =  6.953434e-04   nst =  137
At t = 0.90   max.norm(u) =  2.115983e-04   nst =  140
At t = 1.00   max.norm(u) =  6.556853e-05   nst =  142

Final Statistics:
nst = 142    nfe  = 173    nsetups = 23     nfeLS = 0      nje = 3
nni = 170    ncfn = 0      netf = 3
PASSED
==> [2022-08-30-15:33:26.912733] test: make: expect command status in [0]
==> [2022-08-30-15:33:26.913176] '/usr/bin/make' 'clean'
rm -f test_nvector.o
rm -f test_nvector_serial.o
rm -f test_nvector_serial
PASSED
==> [2022-08-30-15:33:26.945071] test: make: expect command status in [0]
==> [2022-08-30-15:33:26.945656] '/usr/bin/make' 'clean'
PASSED

System and Build Info:

spack debug report
  • Spack: 0.18.1 (13e6f87ef6527954b152eaea303841978e83b992)
  • Python: 3.8.10
  • Platform: linux-ubuntu20.04-broadwell
  • Concretizer: clingo
spack find -dvl sundials
==> 1 installed package
-- linux-ubuntu20.04-x86_64 / gcc@9.4.0 -------------------------
xv2uy7c sundials@6.2.0+ARKODE+CVODE+CVODES+IDA+IDAS+KINSOL~cuda+examples+examples-install~f2003~fcmix+generic-math~hypre~int64~ipo~klu~lapack~magma~monitoring+mpi~openmp~petsc~profiling~pthread~raja~rocm+shared+static~superlu-dist~superlu-mt~sycl~trilinos build_type=RelWithDebInfo cstd=99 cxxstd=14 logging-level=0 precision=double
y3d2cji     cmake@3.23.1~doc+ncurses+ownlibs~qt build_type=Release
7ofkj5g         ncurses@6.2~symlinks+termlib abi=none
tgufarn             pkgconf@1.8.0
del3f6o         openssl@1.1.1o~docs~shared certs=system
xjse77e             perl@5.34.1+cpanm+shared+threads
bmmadng                 berkeley-db@18.1.40+cxx~docs+stl patches=b231fcc
ehf5627                 bzip2@1.0.8~debug~pic+shared
p5ebbuy                     diffutils@3.8
qnzwa5k                         libiconv@1.16 libs=shared,static
ovdf2pq                 gdbm@1.19
hse57kg                     readline@8.1
cvc7wjl                 zlib@1.2.12+optimize+pic+shared patches=0d38234
rxj536c     mpich@4.0.2~argobots~cuda+fortran+hwloc+hydra+libxml2+pci~rocm+romio~slurm~two_level_namespace~vci~verbs~wrapperrpath datatype-engine=auto device=ch4 netmod=ofi pmi=pmi
icrjbgb         findutils@4.9.0 patches=440b954
c3rwxom         hwloc@2.7.1~cairo~cuda~gl~libudev+libxml2~netloc~nvml~opencl+pci~rocm+shared
iwj5wuv             libpciaccess@0.16
tueb4ra                 libtool@2.4.7
kcj4z36                     m4@1.4.19+sigsegv patches=9dc5fbd,bfdffa7
c4hxteu                         libsigsegv@2.13
f3hyg4w                 util-macros@1.19.3
x6fwxii             libxml2@2.9.13~python
22jgjfa                 xz@5.2.5+pic libs=shared,static
xwapafs         libfabric@1.14.1~debug~kdreg fabrics=rxm,sockets,tcp,udp
qaanq7e         yaksa@0.2~cuda~rocm
d33hbbr             autoconf@2.69 patches=35c4492,7793209,a49dd5b
kc2f75p             automake@1.16.5
eqvhpoq             python@3.8.13+bz2+ctypes+dbm~debug+ensurepip+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib patches=0d98e93,4c24573,f2fd060
poaz426                 expat@2.4.8+libbsd
cv3ofog                     libbsd@0.11.5
deksstr                         libmd@1.0.4
rc7lfsx                 gettext@0.21+bzip2+curses+git~libunistring+libxml2+tar+xz
mkwelay                     tar@1.34 zip=pigz
5v6qbpo                         pigz@2.7
iz2z5mz                         zstd@1.5.2+programs compression=none libs=shared,static
dpfg22g                 libffi@3.4.2
nam6ocr                 sqlite@3.38.5+column_metadata+dynamic_extensions+fts~functions+rtree
j4isjhe                 util-linux-uuid@2.37.4

Spack Maintainers and Others:

@balos1
@cswoodward
@gardner48
@wspear

@balos1 balos1 added the spack label Sep 1, 2022
@balos1
Copy link
Member

balos1 commented Oct 20, 2023

Closing as obsolete. If this is still an issue with the current release of sundials and spack, please re-open.

@balos1 balos1 closed this as completed Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants