Hello,
I get the following error when running make test on compiling deal.II with
petsc.
step-petsc.debug: RUN failed. Output:
----------------------------------------------------
Exception on processing:
--------------------------------------------------------
An error occurred in line <162> of file
</home/obashp19/Third_Party/dealII/dealii-9.4.2/tests/quick_tests/step-petsc.cc>
in function
void LaplaceProblem::solve()
The violated condition was:
res.l2_norm() < 1e-3
Additional information:
This exception -- which is used in many places in the library --
usually indicates that some condition which the author of the code
thought must be satisfied at a certain point in an algorithm, is not
fulfilled. An example would be that the first part of an algorithm
sorts elements of an array in ascending order, and a second part of
the algorithm later encounters an element that is not larger than the
previous one.
There is usually not very much you can do if you encounter such an
exception since it indicates an error in deal.II, not in your own
program. Try to come up with the smallest possible program that still
demonstrates the error and contact the deal.II mailing lists with it
to obtain help.
Stacktrace:
-----------
#0
/home/obashp19/Third_Party/dealII/dealii-9.4.2/build/tests/quick_tests/step-petsc.debug:
LaplaceProblem::solve()
#1
/home/obashp19/Third_Party/dealII/dealii-9.4.2/build/tests/quick_tests/step-petsc.debug:
LaplaceProblem::run()
#2
/home/obashp19/Third_Party/dealII/dealii-9.4.2/build/tests/quick_tests/step-petsc.debug:
main
--------------------------------------------------------
Aborting!
----------------------------------------------------
^[[0m
^[[0m^[[0m
^[[0mstep-petsc.debug: ****** RUN failed *******^[[0m
^[[0m^[[0m
^[[0m=============================== OUTPUT END
===============================^[[0m
^[[0mExpected stage PASSED - aborting^[[0m
^[[31mCMake Error at
/home/obashp19/Third_Party/dealII/dealii-9.4.2/cmake/scripts/run_test.cmake:144
(MESSAGE):
*** abort
I'm looking for suggestions on where the compilation might have been wrong.
I used the following command to run my Cmake based configuration.
cmake -DCMAKE_INSTALL_PREFIX=$HOME/Third_Party/dealII/dealii-9.4.2/dealII
-DDEAL_II_WITH_MPI=ON -DDEAL_II_WITH_LAPACK=ON
-DLAPACK_DIR=$HOME/Third_Party/dealII/lapack/lapack-3.11.0
-DMETIS_DIR=$HOME/Third_Party/dealII/metis/metis-5.1.0/
-DDEAL_II_WITH_PETSC=ON
-DPETSC_DIR=$HOME/Third_Party/dealII/petsc/petsc-3.16.6
-DPETSC_ARCH=$PETSC_ARCH
-DZLIB_DIR=$HOME/Third_Party/dealII/zlib/zlib-1.3.1 ../
Regards,
Nihar
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/0281aaa9-c182-4f4c-9e5e-59e837adb4c0n%40googlegroups.com.