Hi Romin,
That error means that the quicktest for gmsh failed - in particular, deal.II
was not able to successfully run your gmsh executable. This usually means that
there is something wrong with your gmsh installation.
Unless you plan on using gmsh from inside deal.II (i.e., calling gmsh to
generate a mesh, not reading a mesh that already exists) you can ignore this
error.
Do you want to use gmsh in this way? If so, can you try running gmsh outside of
deal.II to try and isolate the problem?
Best,
David
From: dealii@googlegroups.com on behalf of Romin
Chittettu
Sent: Tuesday, December 29, 2020 7:55 AM
To: deal.II User Group
Subject: [deal.II] Unable to run 'make test'
Hi all,
I am new to deal.ii and have tried my best to get a solution to this error.
Couldnt find any. Hope someone could help me out. The installation was done
following the steps mentioned on the website. on an Ubuntu environment
the previous steps of installation work perfectly fine. I get an error in 'make
test' which is as follows:
[100%] Running quicktests...
Test project /home/romin/dealii-9.2.0/build/tests/quick_tests
Start 6: gmsh.debug
Start 1: step.debug
Start 2: step.release
Start 3: affinity.debug
1/6 Test #3: affinity.debug ... Passed1.06 sec
Start 4: tbb.debug
2/6 Test #2: step.release . Passed1.21 sec
Start 5: boost_zlib.debug
3/6 Test #6: gmsh.debug ...***Failed1.34 sec
make[7]: *** [tests/quick_tests/CMakeFiles/gmsh.debug.run.dir/build.make:76:
tests/quick_tests/CMakeFiles/gmsh.debug.run] Error 1
make[6]: *** [CMakeFiles/Makefile2:5883:
tests/quick_tests/CMakeFiles/gmsh.debug.run.dir/all] Error 2
make[5]: *** [CMakeFiles/Makefile2:5890:
tests/quick_tests/CMakeFiles/gmsh.debug.run.dir/rule] Error 2
make[4]: *** [Makefile:2393: gmsh.debug.run] Error 2
Test gmsh.debug: RUN
=== OUTPUT BEGIN ===
[ 0%] Built target kill-gmsh.debug-OK
[ 0%] Built target obj_sundials_inst
[ 0%] Built target obj_sundials_debug
[ 5%] Built target obj_tbb_debug
[ 7%] Built target obj_muparser_debug
[ 13%] Built target expand_instantiations_exe
[ 21%] Built target obj_numerics_inst
[ 28%] Built target obj_numerics_debug
[ 36%] Built target obj_fe_inst
[ 55%] Built target obj_fe_debug
[ 57%] Built target obj_dofs_inst
[ 69%] Built target obj_dofs_debug
[ 71%] Built target obj_lac_inst
[ 78%] Built target obj_lac_debug
[ 82%] Built target obj_base_inst
[103%] Built target obj_base_debug
[103%] Built target obj_gmsh_inst
[103%] Built target obj_gmsh_debug
[107%] Built target obj_grid_inst
[123%] Built target obj_grid_debug
[125%] Built target obj_hp_inst
[125%] Built target obj_hp_debug
[125%] Built target obj_multigrid_inst
[130%] Built target obj_multigrid_debug
[132%] Built target obj_distributed_inst
[136%] Built target obj_distributed_debug
[136%] Built target obj_algorithms_inst
[138%] Built target obj_algorithms_debug
[138%] Built target obj_matrix_free_inst
[140%] Built target obj_matrix_free_debug
[142%] Built target obj_meshworker_inst
[142%] Built target obj_meshworker_debug
[142%] Built target obj_opencascade_inst
[142%] Built target obj_opencascade_debug
[144%] Built target obj_particle_inst
[146%] Built target obj_particle_debug
[148%] Built target obj_differentiation_ad_inst
[150%] Built target obj_differentiation_ad_debug
[153%] Built target obj_differentiation_sd_inst
[153%] Built target obj_differentiation_sd_debug
[153%] Built target obj_physics_inst
[155%] Built target obj_physics_debug
[155%] Built target obj_physics_elasticity_inst
[157%] Built target obj_physics_elasticity_debug
[157%] Built target obj_non_matching_inst
[157%] Built target obj_non_matching_debug
[159%] Built target deal_II.g
[161%] Built target gmsh.debug
gmsh.debug: RUN failed. Output:
An error occurred in line <54> of file
in function
int main()
The violated condition was:
ierr == 0
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/romin/dealii-9.2.0/build/tests/quick_tests/gmsh.debug: main