Salome HOME
modules/kernel.git
13 months agoUSER or LOGNAME is not defined in a Docker container: on Linux get username with... emc2_project emc2p/BR_V1_3_7 emc2p_1.3.7-rc1
Gilles DAVID [Thu, 30 Mar 2023 17:13:55 +0000 (19:13 +0200)]
USER or LOGNAME is not defined in a Docker container: on Linux get username with getpwuid(getuid())

13 months agoMerge branch 'gdd/edf37343_env_modules_try_load' into emc2_project
Gilles DAVID [Wed, 22 Mar 2023 12:07:48 +0000 (13:07 +0100)]
Merge branch 'gdd/edf37343_env_modules_try_load' into emc2_project

13 months agoComplete documentation with option --with-env-modules gdd/edf37343_env_modules_try_load
Gilles DAVID [Wed, 15 Mar 2023 12:33:53 +0000 (13:33 +0100)]
Complete documentation with option --with-env-modules

13 months agoUse module try-load do get environnement from lmod modules
Gilles DAVID [Mon, 13 Mar 2023 18:21:55 +0000 (19:21 +0100)]
Use module try-load do get environnement from lmod modules

try-load allows to have conflictual modules without failure.
The last module will be loaded.

13 months agoFix commit 1d03556: salome scripts must be copied, not add as symlinks
Gilles DAVID [Fri, 17 Mar 2023 14:50:18 +0000 (15:50 +0100)]
Fix commit 1d03556: salome scripts must be copied, not add as symlinks

13 months agoFix previous commit on salome_common.py which led to a bad applipath
Gilles DAVID [Wed, 15 Mar 2023 14:23:36 +0000 (15:23 +0100)]
Fix previous commit on salome_common.py which led to a bad applipath

13 months ago[EDF26936] : End of the 2GB limit.
Anthony Geay [Fri, 10 Feb 2023 16:06:55 +0000 (17:06 +0100)]
[EDF26936] : End of the 2GB limit.

16 months agoMerge branch 'master' into emc2_project
Gilles DAVID [Thu, 15 Dec 2022 14:23:40 +0000 (15:23 +0100)]
Merge branch 'master' into emc2_project

17 months ago[bos #32960] mkarpuni/32960_wrong_permissions_of_logs_directory
Margarita KARPUNINA [Thu, 24 Nov 2022 12:50:58 +0000 (15:50 +0300)]
[bos #32960]
Wrong permissions of logs directory created on tests running
Fixed by using makeDir function from salome_utils package

17 months agoMerge branch 'master' into emc2_project
Gilles DAVID [Thu, 17 Nov 2022 10:09:59 +0000 (11:09 +0100)]
Merge branch 'master' into emc2_project

17 months agoThe list of env_modules is stored in a json file
Gilles DAVID [Thu, 17 Nov 2022 09:22:49 +0000 (10:22 +0100)]
The list of env_modules is stored in a json file

17 months agoMerge branch 'master' into emc2_project
Gilles DAVID [Thu, 17 Nov 2022 09:25:48 +0000 (10:25 +0100)]
Merge branch 'master' into emc2_project

17 months ago[bos #32517][EDF] Dynamic log messages: fix compile error because of printing std... V9_10_0b1
Konstantin LEONTEV [Thu, 17 Nov 2022 08:42:32 +0000 (11:42 +0300)]
[bos #32517][EDF] Dynamic log messages: fix compile error because of printing std::pair to cout on Fedora 36

17 months ago[bos #32189][CEA] SALOME README file: updated links to salome site
Konstantin LEONTEV [Wed, 16 Nov 2022 11:04:22 +0000 (14:04 +0300)]
[bos #32189][CEA] SALOME README file: updated links to salome site

17 months ago[bos #32517][EDF] Dynamic log messages switched on and off by SALOME_VERBOSE environm...
Konstantin LEONTEV [Fri, 7 Oct 2022 11:09:44 +0000 (14:09 +0300)]
[bos #32517][EDF] Dynamic log messages switched on and off by SALOME_VERBOSE environment variable

18 months agogetAppliPath does not provide relpath: we can use the os.path.relpath function emc2p/BR_V1_3_6
Gilles DAVID [Wed, 5 Oct 2022 09:26:50 +0000 (11:26 +0200)]
getAppliPath does not provide relpath: we can use the os.path.relpath function

18 months ago[bos #32189][CEA] SALOME README file: updated links to salome site. V9_10_0a1 V9_10_0a2
Konstantin LEONTEV [Tue, 4 Oct 2022 15:20:07 +0000 (18:20 +0300)]
[bos #32189][CEA] SALOME README file: updated links to salome site.

19 months agoMerge branch 'emc2p/BR_V1_3_6'
Ovidiu Mircescu [Thu, 22 Sep 2022 14:46:49 +0000 (16:46 +0200)]
Merge branch 'emc2p/BR_V1_3_6'

19 months agoRemove useless import EMC2P_V_1_3_6 EMC2P_V_1_3_6-rc6
Gilles DAVID [Tue, 20 Sep 2022 13:19:14 +0000 (15:19 +0200)]
Remove useless import

19 months agoAlways close opened file
Gilles DAVID [Tue, 20 Sep 2022 12:43:51 +0000 (14:43 +0200)]
Always close opened file

19 months agoFix for Fiche 26063 Pleiade - seen with Anthony
NATHALIE GORE [Fri, 16 Sep 2022 07:51:04 +0000 (09:51 +0200)]
Fix for Fiche 26063 Pleiade - seen with Anthony

19 months agoIncrease time let to SALOME_Session_Server process to startup and retrieve its PID...
Anthony Geay [Mon, 5 Sep 2022 07:58:40 +0000 (09:58 +0200)]
Increase time let to SALOME_Session_Server process to startup and retrieve its PID from runSalome process

19 months agoCall site in the log message as in C++
Anthony Geay [Mon, 5 Sep 2022 07:57:31 +0000 (09:57 +0200)]
Call site in the log message as in C++

19 months agoKeep track of datetime of configuration
Anthony Geay [Fri, 2 Sep 2022 09:38:25 +0000 (11:38 +0200)]
Keep track of datetime of configuration

20 months ago[EDF25951] : fix useless message at salome startup
Anthony Geay [Wed, 31 Aug 2022 12:52:06 +0000 (14:52 +0200)]
[EDF25951] : fix useless message at salome startup

20 months ago[EDF25951] : fix useless message at salome startup
Anthony Geay [Wed, 31 Aug 2022 09:48:05 +0000 (11:48 +0200)]
[EDF25951] : fix useless message at salome startup

22 months agoUse importlib instead of imp and __import__ EMC2P-1.3.6-rc4 EMC2P-1.3.6-rc5
Gilles DAVID [Thu, 30 Jun 2022 20:59:05 +0000 (22:59 +0200)]
Use importlib instead of imp and __import__

22 months agoFix venv directory in config files to point to appli symlink 'venv'
Gilles DAVID [Fri, 25 Mar 2022 10:46:58 +0000 (11:46 +0100)]
Fix venv directory in config files to point to appli symlink 'venv'

22 months agobos #29865 [CEA 29586] salome.myStudyName returns None V9_9_1b1
vsr [Thu, 16 Jun 2022 12:47:32 +0000 (15:47 +0300)]
bos #29865 [CEA 29586] salome.myStudyName returns None
- Attempt 2

23 months agoMerge branch 'V9_9_BR'
vsr [Tue, 31 May 2022 08:07:53 +0000 (11:07 +0300)]
Merge branch 'V9_9_BR'

23 months agoFix compilation of Persalys with YACS activated
Anthony Geay [Mon, 23 May 2022 15:49:23 +0000 (17:49 +0200)]
Fix compilation of Persalys with YACS activated

23 months agobos #29865 [CEA 29586] salome.myStudyName returns None V9_9_BR V9_9_0 V9_9_0rc1 V9_9_0rc2
vsr [Thu, 12 May 2022 10:09:45 +0000 (13:09 +0300)]
bos #29865 [CEA 29586] salome.myStudyName returns None

23 months agoCopyright update 2022
vsr [Thu, 5 May 2022 11:39:07 +0000 (14:39 +0300)]
Copyright update 2022

23 months agoIncrement version: 9.9.0
vsr [Thu, 5 May 2022 07:36:53 +0000 (10:36 +0300)]
Increment version: 9.9.0

2 years agoSame as before for 2 last remaining tests : KERNEL_LifeCycleCORBA and KERNEL_NamingSe... V9_9_0a2 V9_9_0b1
Anthony Geay [Fri, 1 Apr 2022 07:32:47 +0000 (09:32 +0200)]
Same as before for 2 last remaining tests : KERNEL_LifeCycleCORBA and KERNEL_NamingService

2 years agoFix KERNEL_UnitTests in O3 mode. TEST_SUITE in CPPUNIT does not respect order.
Anthony Geay [Fri, 1 Apr 2022 07:18:16 +0000 (09:18 +0200)]
Fix KERNEL_UnitTests in O3 mode. TEST_SUITE in CPPUNIT does not respect order.

2 years agoFix SHAPER_HDF_BearingSeparator test after 520aea
Anthony Geay [Tue, 29 Mar 2022 12:49:27 +0000 (14:49 +0200)]
Fix SHAPER_HDF_BearingSeparator test after 520aea

2 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/kernel
Anthony Geay [Mon, 28 Mar 2022 08:06:54 +0000 (10:06 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/kernel

2 years ago[tuleap29134] : allow py GEOM script import after new study request in GUI ( after...
Anthony Geay [Mon, 28 Mar 2022 08:06:44 +0000 (10:06 +0200)]
[tuleap29134] : allow py GEOM script import after new study request in GUI ( after salome_close invokation )

2 years agoFix remote containers for mode SSL & CEA & SAT.
Ovidiu Mircescu [Fri, 25 Mar 2022 13:16:11 +0000 (14:16 +0100)]
Fix remote containers for mode SSL & CEA & SAT.

2 years agoFix usage of concurrent execution of GEOM/SMESH scripts inside YACS
Anthony Geay [Fri, 18 Mar 2022 15:25:46 +0000 (16:25 +0100)]
Fix usage of concurrent execution of GEOM/SMESH scripts inside YACS

2 years agoFix a problem with "import salome_test": incorrect address of ModuleCatalog in naming...
vsr [Fri, 18 Mar 2022 07:38:13 +0000 (10:38 +0300)]
Fix a problem with "import salome_test": incorrect address of ModuleCatalog in naming service

2 years ago[tuleap29134] : fix for runSalomeOld.py the defaut SSL mode in -t context V9_9_0a1
Anthony Geay [Thu, 3 Mar 2022 10:16:22 +0000 (11:16 +0100)]
[tuleap29134] : fix for runSalomeOld.py the defaut SSL mode in -t context

2 years agoAvoid to kill all sessions when shutting down only one
Anthony Geay [Tue, 1 Mar 2022 08:44:08 +0000 (09:44 +0100)]
Avoid to kill all sessions when shutting down only one
Allow to pass path to study to subprocess launching script with : -t <path_study> <path_to_py_script>

2 years agoAvoid FileNotFound exception
vsr [Mon, 28 Feb 2022 08:14:15 +0000 (11:14 +0300)]
Avoid FileNotFound exception

2 years agoManagement of :
Anthony Geay [Wed, 23 Feb 2022 09:45:52 +0000 (10:45 +0100)]
Management of :

- salome -t <script.py>
- salome -l
- fix problem of KERNEL_UnitTest

2 years agoDft SSL : salome command is now in blocking as before
Anthony Geay [Wed, 23 Feb 2022 08:38:24 +0000 (09:38 +0100)]
Dft SSL : salome command is now in blocking as before

2 years agoCompilation under Windows.
rnv [Mon, 21 Feb 2022 16:03:29 +0000 (19:03 +0300)]
Compilation under Windows.

2 years agoFix runSalome.py --logger
Anthony Geay [Fri, 18 Feb 2022 16:04:44 +0000 (17:04 +0100)]
Fix runSalome.py --logger
Fix runSalome.py --forground=1 [dft]

2 years agoFix from Nathalie to prevent psutil module dependancy
Anthony Geay [Fri, 18 Feb 2022 13:40:42 +0000 (14:40 +0100)]
Fix from Nathalie to prevent psutil module dependancy

2 years agoFix YacsLoaderTest::foreachs test
Anthony Geay [Fri, 18 Feb 2022 12:14:29 +0000 (13:14 +0100)]
Fix YacsLoaderTest::foreachs test

2 years agoSSL mode by default mode
Anthony Geay [Tue, 15 Feb 2022 10:32:47 +0000 (11:32 +0100)]
SSL mode by default mode

2 years agoSmall memory leak in kernel TOOLSDS/SALOMEDS_Tool.cxx EMC2P_V_1_3_5-rc1
eap [Tue, 15 Feb 2022 15:09:34 +0000 (18:09 +0300)]
Small memory leak in kernel TOOLSDS/SALOMEDS_Tool.cxx

The fix comes from
https://discourse.salome-platform.org/t/small-memory-leak-in-kernel-toolsds-salomeds-tool-cxx/41

2 years agoFix compilation under Windows.
rnv [Wed, 26 Jan 2022 08:33:28 +0000 (11:33 +0300)]
Fix compilation under Windows.

2 years agoFix error in EDF NRT test Bug9100_DumpComputePosition.py
Anthony Geay [Tue, 25 Jan 2022 13:15:07 +0000 (14:15 +0100)]
Fix error in EDF NRT test Bug9100_DumpComputePosition.py

2 years ago[tuleap28734] : Fix in SSL agy/vadim_review
Anthony Geay [Mon, 24 Jan 2022 16:25:33 +0000 (17:25 +0100)]
[tuleap28734] : Fix in SSL

2 years agoRemove StandaloneLifecyle to reduce code divergence between SSL and classical. It...
Anthony Geay [Mon, 24 Jan 2022 15:25:14 +0000 (16:25 +0100)]
Remove StandaloneLifecyle to reduce code divergence between SSL and classical. It allows GEOM and SMESH component to appear into the NS

2 years agoCreate FactoryServer Container servant into the current process
Anthony Geay [Mon, 24 Jan 2022 14:34:46 +0000 (15:34 +0100)]
Create FactoryServer Container servant into the current process

2 years agovenv directory is configured in config_appli.xml file
Gilles DAVID [Fri, 28 May 2021 09:54:44 +0000 (11:54 +0200)]
venv directory is configured in config_appli.xml file

Update appli_clean command

Getting rid of old stuff

getUserName now uses the standard getpass module

Do not use bare "except:" instruction

We are in python3: no more need to inherite classes from object.

cPickle does not exist anymore in python 3

Detect psutil Python module

2 years agoFix modules order in sessionless mode
vsr [Wed, 19 Jan 2022 16:23:14 +0000 (19:23 +0300)]
Fix modules order in sessionless mode

2 years ago[tuleap26946] : SSL - Fix inconsistency between C++ and Python components
Anthony Geay [Mon, 17 Jan 2022 09:20:38 +0000 (10:20 +0100)]
[tuleap26946] : SSL - Fix inconsistency between C++ and Python components

2 years ago#26945 [CEA][Windows] Kernel compilation failure
rnv [Mon, 10 Jan 2022 14:20:36 +0000 (17:20 +0300)]
#26945 [CEA][Windows] Kernel compilation failure

2 years agoPadder smesh plugin in SSL mode
Anthony Geay [Mon, 20 Dec 2021 16:27:51 +0000 (17:27 +0100)]
Padder smesh plugin in SSL mode

2 years agoSessionless mode for calcium.
Ovidiu Mircescu [Mon, 20 Dec 2021 15:37:08 +0000 (16:37 +0100)]
Sessionless mode for calcium.

2 years agoMerge branch 'V9_8_BR'
vsr [Fri, 10 Dec 2021 09:35:41 +0000 (12:35 +0300)]
Merge branch 'V9_8_BR'

2 years agoMerge branch 'vsr/26457'
vsr [Sat, 27 Nov 2021 11:30:55 +0000 (14:30 +0300)]
Merge branch 'vsr/26457'

2 years agobos #26457 Factorization of ORB initialization
Viktor UZLOV [Wed, 13 Oct 2021 06:58:50 +0000 (09:58 +0300)]
bos #26457 Factorization of ORB initialization

2 years agoIncrement version: 9.8.0 V9_8_BR V9_8_0 V9_8_0rc1
vsr [Fri, 26 Nov 2021 10:38:11 +0000 (13:38 +0300)]
Increment version: 9.8.0

2 years agopythonpath_reduction: Corrections
DUC ANH HOANG [Tue, 12 Oct 2021 13:10:35 +0000 (15:10 +0200)]
pythonpath_reduction: Corrections

- Minor correction. Actually, we don't need the prerequisites install dir

- Upgrade pythonpath_reduction.py script
  Using argparse, add options to customize :
  * salome-install-dir
  * context-file name
  * env-file name

- Backup of files is done. These backups are used at start if they exist.
  This allows to use this script several times.

  On linux, in the python_modules directory, symlinks are created instead of copies.

- Fix remove link and add ignore option

- Only one directory is mandatory

- Install site-patch.py from setuptools

- Minor correction; get absolute path of salome_install_dir, embed paraview pythonpath into python_modules

2 years agoAvoid aborting if module is not registered yet
vsr [Thu, 11 Nov 2021 09:31:08 +0000 (12:31 +0300)]
Avoid aborting if module is not registered yet

2 years agoFix Salome launcher in ssl mode to SINGLE_THREAD_MODEL. V9_8_0b1
Ovidiu Mircescu [Fri, 5 Nov 2021 14:36:57 +0000 (15:36 +0100)]
Fix Salome launcher in ssl mode to SINGLE_THREAD_MODEL.

2 years agoFix bug in test on 24 cores CPU test
Anthony Geay [Tue, 19 Oct 2021 05:13:40 +0000 (07:13 +0200)]
Fix bug in test on 24 cores CPU test

2 years agobos #26455 Alternative solution to get traceback V9_8_0a1 V9_8_0a2
vsr [Thu, 14 Oct 2021 16:44:14 +0000 (19:44 +0300)]
bos #26455 Alternative solution to get traceback

2 years agobos #26520 Remove dependency on boost::python
vsr [Thu, 14 Oct 2021 11:48:44 +0000 (14:48 +0300)]
bos #26520 Remove dependency on boost::python

2 years agobos #26520 Boost::python library is incorrectly treated
vsr [Wed, 13 Oct 2021 07:04:37 +0000 (10:04 +0300)]
bos #26520 Boost::python library is incorrectly treated

2 years agopythonpath_reduction.py: initiate; this script allow us to resolve the perf problem...
DUC ANH HOANG [Tue, 5 Oct 2021 13:21:15 +0000 (15:21 +0200)]
pythonpath_reduction.py: initiate; this script allow us to resolve the perf problem on hpc

2 years agoMerge branch 'vuzlov/26455'
vsr [Mon, 11 Oct 2021 15:08:03 +0000 (18:08 +0300)]
Merge branch 'vuzlov/26455'

2 years agobos #26455 Introduce service to obtain calculation node's load
Viktor UZLOV [Fri, 8 Oct 2021 11:21:51 +0000 (14:21 +0300)]
bos #26455 Introduce service to obtain calculation node's load

2 years agobos #26429 [CEA] Can't load meshs from hdf if its size is too big
eap [Mon, 11 Oct 2021 13:57:37 +0000 (16:57 +0300)]
bos #26429 [CEA] Can't load meshs from hdf if its size is too big

2 years agobos #24412 Add missing failback for UpdateView() method
vsr [Thu, 7 Oct 2021 12:19:49 +0000 (15:19 +0300)]
bos #24412 Add missing failback for UpdateView() method

2 years agoMerge branch 'vsr/26458'
vsr [Mon, 4 Oct 2021 17:43:12 +0000 (20:43 +0300)]
Merge branch 'vsr/26458'

2 years agobos #26458 Versioning of sources via git commit id (sha1)
vsr [Sat, 2 Oct 2021 12:19:54 +0000 (15:19 +0300)]
bos #26458 Versioning of sources via git commit id (sha1)

2 years agoNo more complaints with deb9 native python3.5
Anthony Geay [Fri, 1 Oct 2021 09:40:17 +0000 (11:40 +0200)]
No more complaints with deb9 native python3.5

2 years agoDSM in multithread mode.
Ovidiu Mircescu [Thu, 30 Sep 2021 12:37:01 +0000 (14:37 +0200)]
DSM in multithread mode.

2 years agoEnd of moving Odyssee in SSL mode
Anthony Geay [Wed, 15 Sep 2021 06:06:27 +0000 (08:06 +0200)]
End of moving Odyssee in SSL mode

2 years agoFix bug switch to SSL mode for Odyssee
Anthony Geay [Sun, 12 Sep 2021 05:14:56 +0000 (07:14 +0200)]
Fix bug switch to SSL mode for Odyssee

2 years agoFix error on following use case in SSL. Open Shaper - Load a new HDF study file ...
Anthony Geay [Thu, 9 Sep 2021 06:44:31 +0000 (08:44 +0200)]
Fix error on following use case in SSL. Open Shaper - Load a new HDF study file - Switch to GEOM

2 years agoMerge branch 'duc/fix_symlink_for_appli'
Anthony Geay [Tue, 7 Sep 2021 11:29:29 +0000 (13:29 +0200)]
Merge branch 'duc/fix_symlink_for_appli'

2 years agoFix SDS non regression test. Tested 30 times on integration machine.
Anthony Geay [Tue, 7 Sep 2021 11:15:53 +0000 (13:15 +0200)]
Fix SDS non regression test. Tested 30 times on integration machine.

2 years agousing relative symbolic link to create virtual appli duc/fix_symlink_for_appli
DUC ANH HOANG [Tue, 7 Sep 2021 08:56:55 +0000 (10:56 +0200)]
using relative symbolic link to create virtual appli

2 years agoin session_attached mode synchronize local NS with content of salome.[cm,rm,esm,dsm]
Anthony Geay [Thu, 2 Sep 2021 06:51:53 +0000 (08:51 +0200)]
in session_attached mode synchronize local NS with content of salome.[cm,rm,esm,dsm]

2 years agoImplementation of SALOME_Fake_NamingService::list_directory_recurs
Ovidiu Mircescu [Thu, 26 Aug 2021 09:04:13 +0000 (11:04 +0200)]
Implementation of SALOME_Fake_NamingService::list_directory_recurs

This is needed by ShutdownContainers.

2 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/kernel
Anthony Geay [Tue, 24 Aug 2021 14:43:27 +0000 (16:43 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/kernel

2 years agoFix error in SALOME_ExternalServerLauncher in SSL mode
Anthony Geay [Tue, 24 Aug 2021 14:43:12 +0000 (16:43 +0200)]
Fix error in SALOME_ExternalServerLauncher in SSL mode

2 years agoMerge branch 'omu/launcher_ssl'
Ovidiu Mircescu [Tue, 24 Aug 2021 14:10:28 +0000 (16:10 +0200)]
Merge branch 'omu/launcher_ssl'

2 years agotuleap24729 : Make the BearingSeparator test OK in SSL
Anthony Geay [Tue, 24 Aug 2021 06:01:49 +0000 (08:01 +0200)]
tuleap24729 : Make the BearingSeparator test OK in SSL

2 years agorunSalomeSL.py is OK now
Anthony Geay [Mon, 23 Aug 2021 15:21:02 +0000 (17:21 +0200)]
runSalomeSL.py is OK now

2 years agoFix for salome_init called from embedded python. omu/launcher_ssl
Ovidiu Mircescu [Mon, 23 Aug 2021 15:13:30 +0000 (17:13 +0200)]
Fix for salome_init called from embedded python.

2 years agotry of a runSalome.py in SSL mode for SHAPER tests
Anthony Geay [Mon, 23 Aug 2021 13:03:47 +0000 (15:03 +0200)]
try of a runSalome.py in SSL mode for SHAPER tests

2 years agoAdd TestSSLAttached.py to test that rm,cm,esm and dsm are retrieved properly in SSL...
Anthony Geay [Mon, 23 Aug 2021 11:43:48 +0000 (13:43 +0200)]
Add TestSSLAttached.py to test that rm,cm,esm and dsm are retrieved properly in SSL mode in new container server process context