Closed wspear closed 1 year ago
Not sure what the issue is.
Presumably the PETSc test builds and runs fine?
Can you change the slpec makefile to the following - and see if it makes a difference? [mpi/arpack should already be setup in default targets - shouldn't need to be respecified..]
include ${SLEPC_ROOT}/lib/slepc/conf/slepc_common
Also - if you replace slepc test cde with petsc test code [in slepc test dir] - does it build/run?
And I see:
#!/bin/bash
. ../../setup.sh
spackLoadUnique slepc
export SLEPC_DIR=$SLEPC_ROOT
Can you also set PETSC_DIR env variable to the correct location here? [was it not needed before?]
It looks like this was caused by a poisoned runtime environment. This error doesn't appear on a fresh run node.
I think it would still be good to fix the makefile as mentioned above
@balay PETSC_DIR didn't seem to make a difference, though I have added it now.
I only see a dash for your suggested change to the makefile.
Is this what it should look like? This seems to work, anyway.
hello: hello.o
-${CLINKER} -o hello hello.o ${SLEPC_SYS_LIB}
${RM} hello.o
include ${SLEPC_ROOT}/lib/slepc/conf/slepc_common
The suggested change is the single include
line - as the default targets can handle compile/link any single source file to a binary.
For ex: https://gitlab.com/slepc/slepc/-/blob/main/src/eps/tutorials/makefile
BTW: What you have now is also fine (one of the supported usages). I guess its more descriptive then the current default usage
But would replace ${SLEPC_SYS_LIB}
with ${SLEPC_LIB}
- for this usage..
I hadn't realized slepc_common would automatically find the source files. I'll just go with that. Thanks!
@balay @joseeroman
The slepc test defined here: https://github.com/E4S-Project/testsuite/tree/master/validation_tests/slepc
Fails for the e4s 22.11 deployment of slepc on perlmutter with this variant:
With this console output: