From: Afeef Date: Tue, 22 Jun 2021 14:40:26 +0000 (+0200) Subject: Correct gmsh option to avoid error due to Gmshfinilize() X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=90857f2b04ebbb37ab01a50dcc672cabd28ec095;p=tools%2Fsat_salome.git Correct gmsh option to avoid error due to Gmshfinilize() In salome we do not use post-processing of Gmsh hence the option -DENABLE_PLUGINS=0 --- diff --git a/products/compil_scripts/gmsh-4.8.4.sh b/products/compil_scripts/gmsh-4.8.4.sh index dc7a95c..fc0a0e9 100755 --- a/products/compil_scripts/gmsh-4.8.4.sh +++ b/products/compil_scripts/gmsh-4.8.4.sh @@ -25,7 +25,8 @@ CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_PRIVATE_API=ON" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_CGNS=OFF" # default value is set to ON in release 4.1.4 CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_INSTALL_LIBDIR=${PRODUCT_INSTALL}/lib" # strangely on Ubuntu GMSH installs the .so in lib instead of lib/lib64 - so force to lib64 CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_PREFIX_PATH=${LAPACK_ROOT_DIR}" # set path of third libraries to our associated internal products -CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_OPENMP=1" +CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_OPENMP=ON" # get OpenMP based parallelism working +CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_PLUGINS=OFF" # needed for correct GmshFinalize() after version 4.3.0 if [[ $DIST_NAME == "FD" && $DIST_VERSION == "32" ]] then CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_MMG3D=OFF" # removed anyhow in GMS 4.6