[Gmsh] GMSH fails lot of tests after building

Oleg Kmechak ofcrashbash at gmail.com
Mon Oct 15 21:55:06 CEST 2018


Hello,

I builded up gmsh from gitlab repository, and a lot of tests failed. But on
another computer I builded it up and it passed all test. I can't figure out
what wrong is going on with this setup.
Minimal Cmake configuration(I tried to turn off as many as possible
options, cos I only care about mesh generation using c++ api):

BUILD_TESTING                    ON
 CGNS_LIB                         CGNS_LIB-NOTFOUND

 CMAKE_BUILD_TYPE                 RelWithDebInfo

 CMAKE_INSTALL_PREFIX             /usr/local/gmsh

 ENABLE_3M                        OFF

 ENABLE_ACIS                      ON

 ENABLE_ANN                       ON

 ENABLE_BAMG                      ON

 ENABLE_BFGS                      ON

 ENABLE_BLAS_LAPACK               ON

 ENABLE_BLOSSOM                   ON

 ENABLE_BUILD_ANDROID             OFF

 ENABLE_BUILD_DYNAMIC             OFF

 ENABLE_BUILD_IOS                 OFF

 ENABLE_BUILD_LIB                 ON

 ENABLE_BUILD_SHARED              ON

 ENABLE_C99                       ON

 ENABLE_CAIRO                     ON

 ENABLE_CGNS                      ON

 ENABLE_CXX11                     ON

 ENABLE_DINTEGRATION              ON

 ENABLE_FLTK                      OFF

 ENABLE_FOURIER_MODEL             OFF

 ENABLE_GETDP                     ON

 ENABLE_GMM                       OFF

 ENABLE_GMP                       ON

 ENABLE_GRAPHICS                  OFF

 ENABLE_HXT                       ON

 ENABLE_KBIPACK                   ON

 ENABLE_MATHEX                    ON

 ENABLE_MED                       ON

 ENABLE_MESH                      ON

 ENABLE_METIS                     ON

 ENABLE_MMG3D                     ON

 ENABLE_MPEG_ENCODE               ON

 ENABLE_MPI                       OFF

 ENABLE_MSVC_STATIC_RUNTIME       OFF

 ENABLE_MUMPS                     OFF

 ENABLE_NATIVE_FILE_CHOOSER       OFF

 ENABLE_NCURSES                   OFF

 ENABLE_NETGEN                    ON

 ENABLE_NUMPY                     OFF

 ENABLE_OCC                       OFF

 ENABLE_OCC_CAF                   OFF
ENABLE_ONELAB                    OFF
 ENABLE_ONELAB_METAMODEL          OFF

 ENABLE_OPENMP                    OFF

 ENABLE_OPTHOM                    ON

 ENABLE_OSMESA                    OFF

 ENABLE_OS_SPECIFIC_INSTALL       OFF

 ENABLE_PARSER                    ON

 ENABLE_PETSC                     OFF

 ENABLE_PETSC4PY                  OFF

 ENABLE_PLUGINS                   OFF

 ENABLE_POPPLER                   OFF

 ENABLE_POST                      OFF

 ENABLE_PRIVATE_API               OFF

 ENABLE_PROFILE                   OFF

 ENABLE_REVOROPT                  OFF

 ENABLE_SLEPC                     OFF

 ENABLE_SOLVER                    OFF

 ENABLE_SYSTEM_CONTRIB            OFF

 ENABLE_TCMALLOC                  OFF

 ENABLE_VISUDEV                   OFF

 ENABLE_VOROPP                    OFF

 ENABLE_WRAP_JAVA                 OFF

 ENABLE_WRAP_PYTHON               OFF

 ENABLE_ZIPPER                    OFF

 FLTK_BASE_LIBRARY                FLTK_BASE_LIBRARY-NOTFOUND

 FLTK_DIR                         FLTK_DIR-NOTFOUND

 FLTK_FLUID_EXECUTABLE            FLTK_FLUID_EXECUTABLE-NOTFOUND

 FLTK_FORMS_LIBRARY               FLTK_FORMS_LIBRARY-NOTFOUND

 FLTK_GL_LIBRARY                  FLTK_GL_LIBRARY-NOTFOUND

 FLTK_IMAGES_LIBRARY              FLTK_IMAGES_LIBRARY-NOTFOUND

 FLTK_INCLUDE_DIR                 FLTK_INCLUDE_DIR-NOTFOUND

 FLTK_MATH_LIBRARY

 GETDP_INC                        GETDP_INC-NOTFOUND

 GETDP_LIB                        GETDP_LIB-NOTFOUND

 GFORTRAN_LIB                     GFORTRAN_LIB-NOTFOUND

 GFORTRAN_STATIC                  GFORTRAN_STATIC-NOTFOUND

 HDF5_C_LIBRARY_dl

 HDF5_C_LIBRARY_hdf5

 HDF5_C_LIBRARY_m

 HDF5_C_LIBRARY_pthread

 HDF5_C_LIBRARY_rt

 HDF5_C_LIBRARY_z

 METIS_INC                        /usr/include

 METIS_LIB                        /usr/lib/x86_64-linux-gnu/libmetis.so
PETSC_INC
 VOROPP_INC

 VOROPP_LIB


*And test result:*

83% tests passed, 59 tests failed out of 352
Total Test time (real) = 336.62 sec
The following tests FAILED:
  8 - ../gmsh/tutorial/t16.geo (Failed)
16 - ../gmsh/tutorial/t8.geo (Failed)
18 - ../gmsh/demos/boolean/baffles.geo (Failed)
19 - ../gmsh/demos/boolean/boolean.geo (Failed)
20 - ../gmsh/demos/boolean/chamfer.geo (Failed)
21 - ../gmsh/demos/boolean/coherence.geo (Failed)
22 - ../gmsh/demos/boolean/compsolid.geo (Failed)
23 - ../gmsh/demos/boolean/compsolid2.geo (Failed)
24 - ../gmsh/demos/boolean/extrude.geo (Failed)
25 - ../gmsh/demos/boolean/extrude2.geo (Failed)
26 - ../gmsh/demos/boolean/fillet.geo (Failed)
27 - ../gmsh/demos/boolean/fillet2.geo (Failed)
28 - ../gmsh/demos/boolean/fillet3.geo (Failed)
29 - ../gmsh/demos/boolean/fillet4.geo (Failed)
30 - ../gmsh/demos/boolean/fillet_chamfer.geo (Failed)
31 - ../gmsh/demos/boolean/fragment_numbering.geo (Failed)
32 - ../gmsh/demos/boolean/import.geo (Failed)
33 - ../gmsh/demos/boolean/import2.geo (Failed)
34 - ../gmsh/demos/boolean/intersect_line_volume.geo (Failed)
35 - ../gmsh/demos/boolean/neuron.geo (Failed)
36 - ../gmsh/demos/boolean/periodic.geo (Failed)
37 - ../gmsh/demos/boolean/pipe.geo (Failed)
38 - ../gmsh/demos/boolean/primitives.geo (Failed)
39 - ../gmsh/demos/boolean/revolve.geo (Failed)
40 - ../gmsh/demos/boolean/revolve2.geo (Failed)
41 - ../gmsh/demos/boolean/simple.geo (Failed)
42 - ../gmsh/demos/boolean/simple2.geo (Failed)
43 - ../gmsh/demos/boolean/simple3.geo (Failed)
44 - ../gmsh/demos/boolean/simple4.geo (Failed)
45 - ../gmsh/demos/boolean/simple5.geo (Failed)
46 - ../gmsh/demos/boolean/simple6.geo (Failed)
47 - ../gmsh/demos/boolean/simple7.geo (Failed)
48 - ../gmsh/demos/boolean/spherical_surf.geo (Failed)
49 - ../gmsh/demos/boolean/spline.geo (Failed)
50 - ../gmsh/demos/boolean/surface_filling.geo (Failed)
51 - ../gmsh/demos/boolean/thicksolid.geo (Failed)
52 - ../gmsh/demos/boolean/thrusections.geo (Failed)
53 - ../gmsh/demos/boolean/transfinite.geo (Failed)
54 - ../gmsh/demos/boolean/transform.geo (Failed)
55 - ../gmsh/demos/boolean/twist.geo (Failed)
56 - ../gmsh/demos/post_processing/compute_area_volume.geo (Failed)
57 - ../gmsh/demos/post_processing/lowmem-anim.geo (Failed)
59 - ../gmsh/demos/post_processing/view_groups.geo (Failed)
337 - ../gmsh/benchmarks/occ/CylinderInnerLoopCrossingSeam.geo (Failed)
338 - ../gmsh/benchmarks/occ/CylinderWithEmbeddedPoints.geo (Failed)
339 - ../gmsh/benchmarks/occ/CylindricalSurface.geo (Failed)
340 - ../gmsh/benchmarks/occ/PeriodicFaceWithLargeTolerance.geo (Failed)
341 - ../gmsh/benchmarks/occ/TrimmedSurface.geo (Failed)
342 - ../gmsh/benchmarks/occ/cube-sphere-cube-compound.geo (Failed)
343 - ../gmsh/benchmarks/occ/cylinder_intersects.geo (Failed)
344 - ../gmsh/benchmarks/occ/duplicate_degenerated_edges.geo (Failed)
345 - ../gmsh/benchmarks/occ/extrude_lc.geo (Failed)
346 - ../gmsh/benchmarks/occ/hybrid_mesh.geo (Failed)
347 - ../gmsh/benchmarks/occ/large_radius_cylinder.geo (Failed)
348 - ../gmsh/benchmarks/occ/reorient_mesh.geo (Failed)
349 - ../gmsh/benchmarks/occ/sphere.geo (Failed)
350 - ../gmsh/benchmarks/occ/unable_to_recover_edge-2.geo (Failed)
351 - ../gmsh/benchmarks/occ/unable_to_recover_edge.geo (Failed)
352 - ../gmsh/benchmarks/occ/yoon3d.geo (Failed)


Also it fails with automatic setup of cmake options(with BUILD_LIB,
BUILD_SHARED turned on, petsc option should be off, when it on mpi.h error
occurs. Probably I have to configure mpicxx compiler in this situation):

BUILD_TESTING                   *ON
 CGNS_LIB                        *CGNS_LIB-NOTFOUND

 CMAKE_BUILD_TYPE                *RelWithDebInfo

 CMAKE_INSTALL_PREFIX            */usr/local

 ENABLE_3M                       *OFF

 ENABLE_ACIS                     *ON

 ENABLE_ANN                      *ON

 ENABLE_BAMG                     *ON

 ENABLE_BFGS                     *ON

 ENABLE_BLAS_LAPACK              *ON

 ENABLE_BLOSSOM                  *ON

 ENABLE_BUILD_ANDROID            *OFF

 ENABLE_BUILD_DYNAMIC            *OFF

 ENABLE_BUILD_IOS                *OFF

 ENABLE_BUILD_LIB                *ON

 ENABLE_BUILD_SHARED             *ON

 ENABLE_C99                      *ON

 ENABLE_CAIRO                    *ON

 ENABLE_CGNS                     *ON

 ENABLE_CXX11                    *ON

 ENABLE_DINTEGRATION             *ON

 ENABLE_FLTK                     *ON

 ENABLE_FOURIER_MODEL            *OFF

 ENABLE_GETDP                    *ON

 ENABLE_GMM                      *ON

 ENABLE_GMP                      *ON

 ENABLE_GRAPHICS                 *OFF

 ENABLE_HXT                      *ON

 ENABLE_KBIPACK                  *ON

 ENABLE_MATHEX                   *ON

 ENABLE_MED                      *ON

 ENABLE_MESH                     *ON

 ENABLE_METIS                    *ON

 ENABLE_MMG3D                    *ON

 ENABLE_MPEG_ENCODE              *ON

 ENABLE_MPI                      *OFF

 ENABLE_MSVC_STATIC_RUNTIME      *OFF

 ENABLE_MUMPS                    *OFF

 ENABLE_NATIVE_FILE_CHOOSER      *ON

 ENABLE_NCURSES                  *OFF

 ENABLE_NETGEN                   *ON

 ENABLE_NUMPY                    *OFF

 ENABLE_OCC                      *ON

 ENABLE_OCC_CAF                  *OFF
ENABLE_ONELAB                   *ON
 ENABLE_ONELAB_METAMODEL         *ON

 ENABLE_OPENMP                   *OFF

 ENABLE_OPTHOM                   *ON

 ENABLE_OSMESA                   *OFF

 ENABLE_OS_SPECIFIC_INSTALL      *OFF

 ENABLE_PARSER                   *ON

 ENABLE_PETSC                    *OFF

 ENABLE_PETSC4PY                 *OFF

 ENABLE_PLUGINS                  *ON

 ENABLE_POPPLER                  *OFF

 ENABLE_POST                     *ON

 ENABLE_PRIVATE_API              *OFF

 ENABLE_PROFILE                  *OFF

 ENABLE_REVOROPT                 *OFF

 ENABLE_SLEPC                    *OFF

 ENABLE_SOLVER                   *ON

 ENABLE_SYSTEM_CONTRIB           *OFF

 ENABLE_TCMALLOC                 *OFF

 ENABLE_VISUDEV                  *OFF

 ENABLE_VOROPP                   *ON

 ENABLE_WRAP_JAVA                *OFF

 ENABLE_WRAP_PYTHON              *OFF

 ENABLE_ZIPPER                   *OFF

 FLTK_BASE_LIBRARY               *FLTK_BASE_LIBRARY-NOTFOUND

 FLTK_DIR                        *FLTK_DIR-NOTFOUND

 FLTK_FLUID_EXECUTABLE           *FLTK_FLUID_EXECUTABLE-NOTFOUND

 FLTK_FORMS_LIBRARY              *FLTK_FORMS_LIBRARY-NOTFOUND

 FLTK_GL_LIBRARY                 *FLTK_GL_LIBRARY-NOTFOUND

 FLTK_IMAGES_LIBRARY             *FLTK_IMAGES_LIBRARY-NOTFOUND

 FLTK_INCLUDE_DIR                *FLTK_INCLUDE_DIR-NOTFOUND

 FLTK_MATH_LIBRARY               */usr/lib/x86_64-linux-gnu/libm.so

 GETDP_INC                       *GETDP_INC-NOTFOUND

 GETDP_LIB                       *GETDP_LIB-NOTFOUND

 GFORTRAN_LIB                    *GFORTRAN_LIB-NOTFOUND

 GFORTRAN_STATIC                 *GFORTRAN_STATIC-NOTFOUND

 HDF5_C_LIBRARY_dl               */usr/lib/x86_64-linux-gnu/libdl.so

 HDF5_C_LIBRARY_hdf5
 */home/oleg/Programs/anaconda/lib/libhdf5.so
 HDF5_C_LIBRARY_m                */usr/lib/x86_64-linux-gnu/libm.so

 HDF5_C_LIBRARY_pthread          */usr/lib/x86_64-linux-gnu/libpthread.so

 HDF5_C_LIBRARY_rt               */usr/lib/x86_64-linux-gnu/librt.so

 HDF5_C_LIBRARY_z                */home/oleg/Programs/anaconda/lib/libz.so

 METIS_INC                       */usr/include

 METIS_LIB                       */usr/lib/x86_64-linux-gnu/libmetis.so
PETSC_INC                       */usr/include/petsc
 VOROPP_INC                      *VOROPP_INC-NOTFOUND

 VOROPP_LIB                      *VOROPP_LIB-NOTFOUND


It fails in propably 23% of tests. BUt i don't have at the moment this log.

PS: To workaround building and reconfiguring everytime is it possible to
copy from repo only gmsh.h file and install from Ubuntu packages
libgmsh-dev and combine those by cmake? Package itself doen't include
gmsh.h.

With regards,
Oleg Kmechak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20181015/3f4a099c/attachment-0001.html>


More information about the gmsh mailing list