From 682fea04218f0367b2b7dc0dd3c6fe3d9bd99c18 Mon Sep 17 00:00:00 2001 From: Afeef Date: Tue, 22 Jun 2021 16:40:26 +0200 Subject: [PATCH] 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 --- products/compil_scripts/gmsh-4.8.4.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2