From: Bernard Sécherà Date: Mon, 5 Oct 2020 06:39:07 +0000 (+0200) Subject: set environment for tests X-Git-Tag: V9_6_0~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aff6b3f69d0166e323d1eb399622271e7a34d5c8;p=tools%2Fsolverlab.git set environment for tests --- diff --git a/CDMATH/tests/examples/TransportEquation1DUpwindImplicit/CMakeLists.txt b/CDMATH/tests/examples/TransportEquation1DUpwindImplicit/CMakeLists.txt index 1daa0c6..de2b44d 100755 --- a/CDMATH/tests/examples/TransportEquation1DUpwindImplicit/CMakeLists.txt +++ b/CDMATH/tests/examples/TransportEquation1DUpwindImplicit/CMakeLists.txt @@ -9,6 +9,7 @@ if (CDMATH_WITH_PYTHON ) SET_PROPERTY(TEST ExampleTransportEquation_1DFV_Upwind_Implicit_CFL1 PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib:${MEDCOUPLING_ROOT_DIR}/lib:${MEDFILE_ROOT_DIR}/lib:${CMAKE_INSTALL_PREFIX}/lib/medcoupling:${CMAKE_INSTALL_PREFIX}/lib/med:${PETSC_DIR}/${PETSC_ARCH}/lib:${HDF5_ROOT_DIR}/lib:${PV_LIB_DIR}:${Python_ROOT_DIR}/lib") SET_PROPERTY(TEST ExampleTransportEquation_1DFV_Upwind_Implicit_CFL1 APPEND PROPERTY ENVIRONMENT "PYTHONPATH=${CMAKE_INSTALL_PREFIX}/lib/cdmath:${CMAKE_INSTALL_PREFIX}/bin/cdmath:${CMAKE_INSTALL_PREFIX}/bin/cdmath/postprocessing:${CMAKE_INSTALL_PREFIX}/${MEDCOUPLING_INSTALL_PYTHON}:${MATPLOTLIB_ROOT_DIR}/lib/python3.6/site-packages:${PV_PYTHON_DIR}") + SET(CFL 2 )#Courant Friedrichs Lewy number ADD_TEST(ExampleTransportEquation_1DFV_Upwind_Implicit_CFL2 ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/1DTransportEquationUpwindImplicit.py ${NX} ${CFL}) diff --git a/CMakeLists.txt b/CMakeLists.txt index da05161..8360df7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,6 @@ set(PARAVIEW_ROOT_DIR $ENV{PARAVIEW_ROOT_DIR} ) set(MATPLOTLIB_ROOT_DIR $ENV{MATPLOTLIB_ROOT_DIR} ) set(HDF5_ROOT_DIR $ENV{HDF5_ROOT_DIR} ) - ###################################################### # Detection or compilation of PETSc+SLEPc+HDF5 # ######################################################