-
Notifications
You must be signed in to change notification settings - Fork 2.4k
spack test run slepc (missing symbols) #27983
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingstand-alone-testsStand-alone (or smoke) tests for installed packagesStand-alone (or smoke) tests for installed packages
Description
$ spack test run slepc
==> Spack test ymnscun24aqzhygqntg2n75zqvib4qoq
==> Testing package slepc-3.16.1-qwcpcez
==> Error: TestFailure: 2 tests failed.
Command exited with status 1:
'/home/vanessa/Desktop/Code/spack-vsoch/lib/spack/env/gcc/gcc' '-I/home/vanessa/Desktop/Code/spack-vsoch/opt/spack/linux-ubuntu20.04-skylake/gcc-9.3.0/slepc-3.16.1-qwcpcez5ie2touquxvyfeda3dsqf3772/include' '-L' '/home/vanessa/Desktop/Code/spack-vsoch/opt/spack/linux-ubuntu20.04-skylake/gcc-9.3.0/slepc-3.16.1-qwcpcez5ie2touquxvyfeda3dsqf3772/lib' '-l' 'slepc' '-L' '/home/vanessa/Desktop/Code/spack-vsoch/opt/spack/linux-ubuntu20.04-skylake/gcc-9.3.0/petsc-3.16.1-z7i77eh3fhfv5ztn7rezf5bufe4hmi4r/lib' '-l' 'petsc' '-L' '/home/vanessa/Desktop/Code/spack-vsoch/opt/spack/linux-ubuntu20.04-skylake/gcc-9.3.0/openmpi-4.1.2-dbbo72yb7ys57hq625tytdzczn4s2fym/lib' '-l' 'mpi' '-o' 'hello' '/home/vanessa/.spack/test/ymnscun24aqzhygqntg2n75zqvib4qoq/slepc-3.16.1-qwcpcez/data/slepc/hello.c'
/usr/bin/ld: /tmp/cc5RRj30.o: in function `main':
hello.c:(.text+0x2b): undefined reference to `SlepcInitialize'
/usr/bin/ld: hello.c:(.text+0x32): undefined reference to `PETSC_COMM_WORLD'
/usr/bin/ld: hello.c:(.text+0x46): undefined reference to `PetscPrintf'
collect2: error: ld returned 1 exit status
1 error found in test log:
9 FAILED: Command exited with status 1:
10 '/home/vanessa/Desktop/Code/spack-vsoch/lib/spack/env/gcc/gcc' '-I/home/vanessa/Desktop/Code/spack-vsoch/opt/spack/linux-ubuntu20.04-skylak
e/gcc-9.3.0/slepc-3.16.1-qwcpcez5ie2touquxvyfeda3dsqf3772/include' '-L' '/home/vanessa/Desktop/Code/spack-vsoch/opt/spack/linux-ubuntu20.04-sky
lake/gcc-9.3.0/slepc-3.16.1-qwcpcez5ie2touquxvyfeda3dsqf3772/lib' '-l' 'slepc' '-L' '/home/vanessa/Desktop/Code/spack-vsoch/opt/spack/linux-ubu
ntu20.04-skylake/gcc-9.3.0/petsc-3.16.1-z7i77eh3fhfv5ztn7rezf5bufe4hmi4r/lib' '-l' 'petsc' '-L' '/home/vanessa/Desktop/Code/spack-vsoch/opt/spa
ck/linux-ubuntu20.04-skylake/gcc-9.3.0/openmpi-4.1.2-dbbo72yb7ys57hq625tytdzczn4s2fym/lib' '-l' 'mpi' '-o' 'hello' '/home/vanessa/.spack/test/y
mnscun24aqzhygqntg2n75zqvib4qoq/slepc-3.16.1-qwcpcez/data/slepc/hello.c'
11 /usr/bin/ld: /tmp/cc5RRj30.o: in function `main':
12 hello.c:(.text+0x2b): undefined reference to `SlepcInitialize'
13 /usr/bin/ld: hello.c:(.text+0x32): undefined reference to `PETSC_COMM_WORLD'
14 /usr/bin/ld: hello.c:(.text+0x46): undefined reference to `PetscPrintf'
>> 15 collect2: error: ld returned 1 exit status
16
17 File "/home/vanessa/Desktop/Code/spack-vsoch/bin/spack", line 98, in <module>
Failed to find executable 'hello'
/home/vanessa/Desktop/Code/spack-vsoch/lib/spack/spack/package.py:1882, in run_test:
1879 # stack instead of from traceback.
1880 # The traceback is truncated here, so we can't use it to
1881 # traverse the stack.
>> 1882 m = '\n'.join(
1883 spack.build_environment.get_package_context(tb)
1884 )
1885
/home/vanessa/Desktop/Code/spack-vsoch/lib/spack/spack/build_environment.py:1051, in _setup_pkg_and_run:
1048 tb_string = traceback.format_exc()
1049
1050 # build up some context from the offending package so we can
>> 1051 # show that, too.
1052 package_context = get_package_context(tb)
1053
1054 logfile = None
See test log for details:
/home/vanessa/.spack/test/ymnscun24aqzhygqntg2n75zqvib4qoq/slepc-3.16.1-qwcpcez-test-out.txt
==> Error: 1 test(s) in the suite failed.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstand-alone-testsStand-alone (or smoke) tests for installed packagesStand-alone (or smoke) tests for installed packages