From d8e3fdc427a2f8ba8eb5cbd4c1f40dbb75e0bf22 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 31 Jan 2022 16:56:48 +0100 Subject: [PATCH] rm_products cannot be used twice --- applications/SALOME-master.pyconf | 20 ++++++++++++-------- products/GUI.pyconf | 4 ++-- products/compil_scripts/ParaView-5.9.0.sh | 1 + 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/applications/SALOME-master.pyconf b/applications/SALOME-master.pyconf index 99f3783..7abca22 100644 --- a/applications/SALOME-master.pyconf +++ b/applications/SALOME-master.pyconf @@ -196,15 +196,12 @@ __overwrite__ : __condition__ : "VARS.dist in ['FD32']" # https://github.com/scipy/scipy/issues/11611 'APPLICATION.products.scipy' : '1.5.2' + 'APPLICATION.rm_products' : ['gcc', 'gmp', 'mpc', 'mpfr', 'openmpi', 'mpi4py'] } { __condition__ : "VARS.dist in ['FD30']" - # https://github.com/scipy/scipy/issues/11611 'APPLICATION.products.gcc' : '9.3.0' - } - { - __condition__ : "VARS.dist not in ['DB08','DB09', 'FD30']" - 'APPLICATION.rm_products' : ['gcc', 'gmp', 'mpc', 'mpfr'] + 'APPLICATION.rm_products' : ['openmpi', 'mpi4py'] } { __condition__ : "VARS.dist in ['DB09']" @@ -213,8 +210,15 @@ __overwrite__ : 'APPLICATION.products.MEDCOUPLING' : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'} } { - __condition__ : "VARS.dist not in ['DB09']" - 'APPLICATION.rm_products' : ['openmpi', 'mpi4py'] + __condition__ : "VARS.dist in ['CO7']" + 'APPLICATION.rm_products' : ['openmpi', 'mpi4py', 'gcc', 'gmp', 'mpc', 'mpfr'] + } + { + __condition__ : "VARS.dist in ['CO8']" + 'APPLICATION.rm_products' : ['openmpi', 'mpi4py', 'gcc', 'gmp', 'mpc', 'mpfr'] + } + { + __condition__ : "VARS.dist in ['DB10']" + 'APPLICATION.rm_products' : ['openmpi', 'mpi4py', 'gcc', 'gmp', 'mpc', 'mpfr'] } - ] diff --git a/products/GUI.pyconf b/products/GUI.pyconf index a760b64..ba7e7ac 100644 --- a/products/GUI.pyconf +++ b/products/GUI.pyconf @@ -30,7 +30,7 @@ default : "libxml2", "sphinxintl" ] - opt_depend : ["sphinx_rtd_theme"] + opt_depend : ["sphinx_rtd_theme", "openmpi"] build_depend : ["cmake", "swig", "doxygen", "cppunit"] source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name @@ -168,7 +168,7 @@ version_7_8_0_to_8_4_0 : { name : "GUI" build_source : "cmake" - cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig" + cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig " get_source : "git" git_info: { diff --git a/products/compil_scripts/ParaView-5.9.0.sh b/products/compil_scripts/ParaView-5.9.0.sh index f782c2d..bbea36a 100755 --- a/products/compil_scripts/ParaView-5.9.0.sh +++ b/products/compil_scripts/ParaView-5.9.0.sh @@ -118,6 +118,7 @@ then CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPARAVIEW_USE_MPI:BOOL=ON" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_CXX_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpic++" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_C_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpicc" + CMAKE_OPTIONS="${CMAKE_OPTIONS} -DMPI_C_FOUND=${MPI_ROOT_DIR}/lib/libmpi.so" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP -DVTKm_ENABLE_OPENMP=ON" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_MODULE_ENABLE_VTK_FiltersParallelMPI=YES" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_MODULE_ENABLE_VTK_ParallelMPI=YES" -- 2.39.2