Salome HOME
ParaView requires qt >= 5.12
[tools/sat_salome.git] / applications / SALOME-master-native.pyconf
index cda71bc09a1902358fe65ec1fbcbfd443e78c82c..8452987e6e5de69b1d9f0f96022b152905894728 100644 (file)
@@ -15,31 +15,37 @@ APPLICATION :
     {
         build :
         {
-           CONFIGURATION_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "CONFIGURATION"
-           RESTRICTED_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "RESTRICTED"
-           SALOME_USE_64BIT_IDS : '1'
-           VTK_SMP_IMPLEMENTATION_TYPE : 'OpenMP' # OpenMP # choose among: sequential / OpenMP / TBB switches
+            CONFIGURATION_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "CONFIGURATION"
+            RESTRICTED_ROOT_DIR : $workdir + $VARS.sep + "SOURCES" + $VARS.sep + "RESTRICTED"
+            SALOME_USE_64BIT_IDS : '1'
+            VTK_SMP_IMPLEMENTATION_TYPE : OpenMP # OpenMP # choose among: sequential / OpenMP / TBB switches
+            SALOME_GMSH_HEADERS_STD : '1'
+        }
+        launch :
+        {
+            PYTHONIOENCODING:"UTF_8",
+            SALOME_MODULES_ORDER:"SHAPER:SHAPERSTUDY:GEOM:SMESH"
+            ROOT_SALOME_INSTALL: '$PRODUCT_ROOT_DIR'
         }
-        launch : {PYTHONIOENCODING:"UTF_8"} # alternative is to encode every accentued string with .encode('utf-8')
         SALOME_trace : "local" # local/file:.../with_logger
         SALOME_MODULES : "SHAPER,SHAPERSTUDY,GEOM,SMESH,PARAVIS,YACS,JOBMANAGER"  # specify the first modules to display in gui
-        SALOME_ACTOR_DELEGATE_TO_VTK : '1'
-    }
+   }
     products :
     {
         # PREREQUISITES :
         alabaster : 'native'
         Babel : 'native'
         boost : 'native'
-        CAS : {tag: 'V7_5_0p1', section: 'version_V7_5_0'}
+        #CAS : 'CR753-SALOME-PATCH'
+        CAS : {tag : 'cfcbf4e', section: 'version_CR753_SALOME_PATCH', base: 'no'}
+        C3PO: 'v2.0'
         certifi : 'native'
-        # Standalone native cgns works well. Unfortunately, it's directly linked to native hdf which uses a higher version than us.
-        # Rollback to embedded version to avoid versions mismatch between both of them (see imp_1538_cgns_export_import.py)
-        cgns : '4.1.1'
+        cgns : '4.2.0'
         chardet : 'native'
         click : 'native'
         cmake : 'native'
         cppunit : 'native'
+        cminpack: '1.3.6'
         cycler : 'native'
         Cython : 'native'
         dateutil : 'native'
@@ -47,16 +53,17 @@ APPLICATION :
         doxygen : 'native'
         eigen : 'native'
         embree : '3.12.2'
+        FMILibrary : '2.0.3'
+        fftw : 'native'
         freeimage : 'native'
         freetype : 'native'
         gl2ps : 'native'
-        # 'native' too difficult here : need python-pip package (gmsh-sdk) besides system packages
+        gdal : 'native'
         gmsh : '4.8.4'
         graphviz : 'native'
         hdf5 : '1.10.3'
         idna : 'native'
         imagesize : 'native'
-        # 'native' not exists (only available on Fedora platform)
         ispc : '1.15.0'
         Jinja2 : 'native'
         kiwisolver : 'native'
@@ -65,26 +72,35 @@ APPLICATION :
         llvm : 'native'
         markupsafe : 'native'
         matplotlib : 'native'
-        medfile : {section: 'default_Autotools', tag: '4.1.1rc1'}
-        mesa : 'native'
-        MeshGems : '2.13-1'
+        medfile : '4.1.1'
+        mesa : {tag : '19.0.8', base: 'no', section: 'version_19_0_8_x86_64'}
+        MeshGems : '2.14-4'
         metis : 'native'
+        mpi4py: 'native'
         netgen : '5.3.1_with_CAS_7.2'
+        # comment out line above and uncomment the line below to use Netgen 6.
+        #netgen : '6.2.2101'
+        netcdf : 'native'
         nlopt : '2.4.2'
+        nose: 'native'
         numpy : 'native'
-        omniORB : '4.2.3'
-        omniORBpy : '4.2.3'
+        numpydoc : 'native'
+        omniORB : '4.2.5'
+        omniORBpy : '4.2.5'
         opencv : 'native'
+        openmpi: 'native'
         openVKL : '0.11.0'
-        openturns: '1.16'
+        openturns: '1.19'
         ospray : '2.4.0'
         packaging : 'native'
-        ParaView : '5.9.0'
-        petsc : {tag : '3.15.0', section: 'version_3_15_0'}
+        pandas : 'native'
+        ParaView : {tag:'08c5d057a8', base: 'no',  section: 'version_5_11_0_MPI', hpc: 'yes'}
+        PERSALYS: 'v12.0'
+        petsc : {tag : '3.16.0', section: 'version_3_16_0'}
         Pillow : 'native'
-        # 'native' not exists : freeCAD part but not delivered with it from package handler
         planegcs : '0.18-3cb6890'
         psutil : 'native'
+        PyFMI : '2.6'
         Pygments : 'native'
         pyparsing : 'native'
         PyQt : 'native'
@@ -97,7 +113,7 @@ APPLICATION :
         rkCommon : '1.5.1'
         root: '6.22.02'
         scipy : 'native'
-        scotch : 'native'
+        scotch : {tag: '6.1.2', section: 'version_6_1_2_MPI', hpc: 'yes', base: 'no'}
         setuptools : 'native'
         sip : 'native'
         six : 'native'
@@ -107,12 +123,14 @@ APPLICATION :
         sphinxintl: 'native'
         sphinx_rtd_theme : 'native'
         StaticMeshPlugin: '5.8.0'
+        statsmodels : 'native'
         swig : 'native'
         salome_system : 'native'
         tbb : 'native'
         tcl : 'native'
         tk : 'native'
         urllib3 : 'native'
+        zeromq: '4.3.1'
         URANIE : '4.5.0'
 
         # SALOME MODULES :
@@ -121,9 +139,9 @@ APPLICATION :
         'SHAPER'
         'SHAPERSTUDY'
         'RESTRICTED'
-        'LIBBATCH' : {tag :'V2_4_5'}
+        'LIBBATCH' : {tag : 'V2_4_5'}
         'KERNEL'
-        'MEDCOUPLING'
+        'MEDCOUPLING' : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
         'GUI'
         'GEOM'
         'SMESH'
@@ -138,11 +156,10 @@ APPLICATION :
         'HEXABLOCKPLUGIN'
         'HOMARD'
         'FIELDS'
-        'PARAVIS'
+        'PARAVIS': {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
         'JOBMANAGER'
         'YACS'
         'YACSGEN'
-        'SOLVERLAB'
         'DOCUMENTATION'
         'SAMPLES'
         'COMPONENT'
@@ -152,21 +169,22 @@ APPLICATION :
         'PYHELLO'
         'EFICAS'
         'EFICAS_TOOLS'
-       'PY2CPP'
-       'ADAO'
-       'ADAO_INTERFACE'
+        'PY2CPP'
+        'ADAO'
+        'ADAO_INTERFACE'
         'PARAVISADDONS'
-        'CEATESTBASE' : {tag: 'SalomeV9'}
+        'OPENTURNS_SALOME'
+        'YDEFX'
+        'pmml'
+        'SOLVERLAB'
+        'TopIIVolMesh'
+        #'TESTBASE'
+        'CEATESTBASE' : 'SalomeV9'
     }
     profile :
     {
         launcher_name : "salome"
     }
-    virtual_app:
-    {
-        name : "salome"
-        application_name : "APPLI"
-    }
     test_base :
     {
         name : "SALOME"
@@ -183,61 +201,95 @@ APPLICATION :
 }
 __overwrite__ :
 [
-   {
-      # Although recent adaptations of GEOM CMake procedure to be compliant with openCV 4.X, some
-      # deeper investigations need to be done in its sources. Use embedded openCV product where
-      # native one is 4.X.
-      __condition__ : "VARS.dist in ['FD32', 'UB20.04', 'FD34']"
-      'APPLICATION.products.opencv' : '3.2.0'
-   }
-   {
-      #
-      __condition__ : "VARS.dist in ['UB20.04', 'CO8', 'FD32']"
-      'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
-                                                   'paraview.0005-ParaView_find_cgns.patch',
-                                                   'paraview.0010-ParaView_CATALYST_cmake.patch',
-                                                   'paraview.0008-ParaView_coincident_rendering.patch',
-                                                   'paraview.0017-ParaView_protobuf_crash.patch',
-                                                   'paraview.0015-Paraview_VTKM_ioss.patch'
-                                                   'paraview.0018-spns-26351-autoconvert.patch',
-                                                   'paraview.0019-spns-26344-VTK-OpenMP.patch'
-                                                  ]
-   }
-   {
-      # On DB10, ParaView fails to find xmlpatterns executable : ParaViewClient.cmake try to find it
-      # from Qt5_DIR, going back from it in filesystem (hardcoded).
-      # The standard patch is also needed to be able to build PARAVIS (same kind of issue).
-      # What is more, ParaView 5.9 CMake procedure requires Qt 5.12 as minimum version (5.11 here).
-      # As this version is compliant too, let's force it as the new minimum needed version.
-      __condition__ : "VARS.dist in ['DB10']"
-      'PRODUCTS.ParaView.version_5_9_0.patches' : ['paraview.0003-ParaViewClient.patch',
-                                                   'paraview.0005-ParaView_find_cgns.patch',
-                                                   'paraview-5.9_qt-minimum-version.patch',
-                                                   'paraview.0003-ParaViewClient_native.patch',
-                                                   'paraview.0010-ParaView_CATALYST_cmake.patch',
-                                                   'paraview.0008-ParaView_coincident_rendering.patch',
-                                                   'paraview.0017-ParaView_protobuf_crash.patch',
-                                                   'paraview.0015-Paraview_VTKM_ioss.patch'
-                                                   'paraview.0018-spns-26351-autoconvert.patch',
-                                                   'paraview.0019-spns-26344-VTK-OpenMP.patch'
-                                                  ]
-   }
-   {
-      # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
-      # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
-      __condition__ : "VARS.dist in ['CO8']"
-      'APPLICATION.products.sphinxintl' : '0.9.10'
-      'PRODUCTS.sphinxintl.default.properties.pip' : "no"
-      'APPLICATION.products.cmake' : '3.12.1'
-   }
-   {
-      # FD 34 qt5 package is qt5-qtbase-devel.
-      
-      __condition__ : "VARS.dist in ['FD34']"
-      'APPLICATION.products.omniORB'  : '4.2.4'
-      'APPLICATION.products.omniORBpy': '4.2.4'
-      'PRODUCTS.root.version_6_22_02.patches' : ['root-6.22.02.patch', 'root-6.22.02-gcc-11.0.patch']
-      'PRODUCTS.qt.default.system_info.rpm' : []
-      'PRODUCTS.qt.default.system_info.rpm_dev' : ["qt5-qtbase-devel"]
-   }
+    {
+        __condition__ : "VARS.dist not in ['DB09','DB10', 'DB11']"
+        'APPLICATION.products.MeshGems' : {tag : '2.13-1', hpc : 'yes', base: 'no'}
+    }
+    {
+        #
+        __condition__ : "VARS.dist in ['UB20.04']"
+        'APPLICATION.products.opencv'  : '3.2.0'
+        'APPLICATION.products.cminpack': 'native'
+        'APPLICATION.products.PyFMI'   : {tag: '2.6',   base: 'no', section: 'version_2_6_no_pip'           }
+        'APPLICATION.products.netcdf'  : '4.6.2'
+    }
+    {
+        #
+        __condition__ : "VARS.dist in ['UB22.04']"
+        'APPLICATION.products.opencv'      : '3.2.0'
+        'APPLICATION.products.nlopt'       : '2.5.0'
+        'APPLICATION.products.cminpack'    : 'native'
+        'APPLICATION.products.netcdf'      : '4.6.2'
+        'APPLICATION.products.omniORB'     : '4.2.5'
+        'APPLICATION.products.omniORBpy'   : '4.2.5'
+        'APPLICATION.products.PyFMI'       : {tag: '2.6',       base: 'no', section: 'version_2_6_no_pip'                     }
+        'APPLICATION.products.root'        : {tag: '6.22.02',   base: 'no', section: 'version_6_22_02_UB22_04'                }
+        'APPLICATION.products.medfile'     : {tag: '4.1.1',     base: 'no', section: 'version_4_1_1_UB22_04'                  }
+        'APPLICATION.products.MEDCOUPLING' : {tag:'master',     base: 'no', section: 'version_V9_9_0_MPI_UB22_04', hpc: 'yes' }
+        'APPLICATION.products.HEXABLOCK'   : {tag:'master',     base: 'no', section: 'version_V9_9_0_UB22_04',     hpc: 'no'  }
+        'APPLICATION.products.SHAPER'      : {tag:'master',     base: 'no', section: 'version_V9_9_0_UB22_04',     hpc: 'no'  }
+    }
+    {
+        # DB10:
+        #   - Qt minimal version 5.12
+        #   - xmlpatterns executable
+        __condition__ : "VARS.dist in ['DB10']"
+        'APPLICATION.products.opencv': '3.2.0'
+        'APPLICATION.products.cminpack': 'native'
+        'APPLICATION.products.PyFMI'   : {tag:'2.6',        base: 'no',  section: 'version_2_6_no_pip'             }
+        'APPLICATION.products.qt'      : '5.12.10'
+        'APPLICATION.products.PyQt'    : '5.15.3'
+    }
+    {
+        __condition__ : "VARS.dist in ['DB11']"
+        'APPLICATION.products.opencv' : '3.2.0'
+        'APPLICATION.products.cminpack': 'native'
+        'APPLICATION.products.PyFMI'    : {tag:'2.6',    base: 'no',  section: 'version_2_6_no_pip'                 }
+    }
+    {
+        # CentOS 8 repositories don't include sphinxintl package which must be installed through pip.
+        # To avoid its missing (system_info pyconf key doesn't handle this use case), we embed it.
+        __condition__ : "VARS.dist in ['CO8']"
+        'APPLICATION.products.sphinxintl'  : {tag: '0.9.10', base: 'no', section: 'version_0_9_10_no_pip'          }
+        'APPLICATION.products.cminpack'    : '1.3.6'
+        'APPLICATION.products.PyFMI'       : {tag: '2.6',    base: 'no', section: 'version_2_6_no_pip'             }
+        'APPLICATION.products.statsmodels' : {tag: '0.6.1',  base: 'no', section: 'version_0_6_1_no_pip'           }
+        'APPLICATION.products.gdal'        : {tag:'2.4.0',   base: 'no', section: 'version_2_4_0_CO8'              } # spns #29324
+    }
+    {
+        __condition__ : "VARS.dist in ['FD32']"
+        'APPLICATION.products.opencv'    : '3.2.0'
+        'APPLICATION.products.qwt'       : '6.1.4'
+        'APPLICATION.products.PyFMI'     : {tag: '2.6',   base: 'no', section: 'version_2_6_no_pip'              }
+        'APPLICATION.products.openturns' : {tag: '1.19',  base: 'no', section: 'version_1_19_FD32'               }
+        'APPLICATION.products.Sphinx'    : {tag: '1.7.6', base: 'no', section: 'version_1_7_6_no_pip'            }
+        'APPLICATION.products.gdal'      : {tag:'2.4.0',  base: 'no', section: 'version_2_4_0_FD32'              } # spns #29324
+    }
+    {
+        __condition__ : "VARS.dist in ['FD34']"
+        'APPLICATION.products.opencv'    : '3.2.0'
+        'APPLICATION.products.qwt'       : '6.1.6'
+        'APPLICATION.products.omniORB'   : '4.2.4'
+        'APPLICATION.products.omniORBpy' : '4.2.4'
+        'APPLICATION.products.PyFMI'     : {tag: '2.6',    base: 'no', section: 'version_2_6_no_pip'             }
+        'APPLICATION.products.openturns' : {tag: '1.19',   base: 'no', section: 'version_1_19_FD34'              }
+        'APPLICATION.products.root'      : {tag:'6.22.02', base: 'no', section: 'version_6_22_02_FD34'           }
+        'APPLICATION.products.gdal'      : {tag:'2.4.0',   base: 'no', section: 'version_2_4_0_FD34'             } # spns #29324
+    }
+    {
+        __condition__ : "VARS.dist in ['FD36']"
+        'APPLICATION.products.opencv'      : '3.2.0'
+        'APPLICATION.products.omniORB'     : '4.2.5'
+        'APPLICATION.products.omniORBpy'   : '4.2.5'
+        'APPLICATION.products.qwt'         : '6.1.6'
+        'APPLICATION.products.nlopt'       : '2.6.0'
+        'APPLICATION.products.netcdf'      : '4.6.2'
+        'APPLICATION.products.numpy'       : {tag: '1.22.2',    base: 'no', section: 'version_1_22_2'                      }
+        'APPLICATION.products.PyFMI'       : {tag: '2.6',       base: 'no', section: 'version_2_6_no_pip'                  }
+        'APPLICATION.products.root'        : {tag: '6.22.02',   base: 'no', section: 'version_6_22_02_FD36'                }
+        'APPLICATION.products.medfile'     : {tag: '4.1.1',     base: 'no', section: 'version_4_1_1_FD36'                  }
+        'APPLICATION.products.MEDCOUPLING' : {tag:'master',     base: 'no', section: 'version_V9_9_0_MPI_FD36', hpc: 'yes' }
+        'APPLICATION.products.HEXABLOCK'   : {tag:'master',     base: 'no', section: 'version_V9_9_0_FD36',     hpc: 'no'  }
+        'APPLICATION.products.SHAPER'      : {tag:'master',     base: 'no', section: 'version_V9_9_0_FD36',     hpc: 'no'  }
+    }
 ]