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

Error running tests with external PETSc installation #83

Closed
principejavier opened this issue Jul 12, 2022 · 1 comment
Closed

Error running tests with external PETSc installation #83

principejavier opened this issue Jul 12, 2022 · 1 comment

Comments

@principejavier
Copy link
Member

When installing GridapPETSc with external libraries, i.e. with non-empty JULIA_MPI_BINARY and JULIA_PETSC_LIBRARY, executing the whole set of tests fails even if separate execution of serial and parallel tests succeeds.

In other words,

julia --project=. --color=yes --check-bounds=yes test/sequential/runtests.jl
julia --project=. --color=yes --check-bounds=yes test/mpi/runtests.jl

are both successful but

julia --project=. --color=yes --check-bounds=yes test/runtests.jl

fails to exectute the parallel tests with a message

...
PartitionedArrays: Error During Test at /home/jprincipe/Prog/GridapPETSc.jl/test/mpi/runtests.jl:3
  Got exception outside of a @test
  LoadError: failed process: Process(`mpiexec -n 3 --allow-run-as-root --oversubscribe /home/jprincipe/System/bin/julia-1.7.2/bin/julia -Cnative -J/home/jprincipe/System/bin/julia-1.7.2/lib/julia/sys.so --check-bounds=yes -g1 --color=yes --project=/home/jprincipe/Prog/GridapPETSc.jl/test/mpi/../.. /home/jprincipe/Prog/GridapPETSc.jl/test/mpi/PartitionedArraysTests.jl`, ProcessExited(1)) [1]
...

The execution of the whole set of test is successful when the default installation is used, that is with empty JULIA_MPI_BINARY and JULIA_PETSC_LIBRARY.

@amartinhuertas , @fverdugo any thoughts?

@principejavier
Copy link
Member Author

Fixed at #84

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

1 participant