]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Correct gmsh option to avoid error due to Gmshfinilize() spns/24411
authorAfeef <afeef.badri@gmail.com>
Tue, 22 Jun 2021 14:40:26 +0000 (16:40 +0200)
committerAfeef <afeef.badri@gmail.com>
Tue, 22 Jun 2021 14:40:26 +0000 (16:40 +0200)
In salome we do not use post-processing of Gmsh hence the option -DENABLE_PLUGINS=0

products/compil_scripts/gmsh-4.8.4.sh

index dc7a95c3fdc74dfb49784d53e64e5768baf06c74..fc0a0e9822975e7023c4220d6268be1fd8073e61 100755 (executable)
@@ -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