Salome HOME
modules/kernel.git
11 months ago[CEA][Windows] if study from Most Recently Used studies is not present, SALOME crashes bos/35175 V9_11_0b1 4/head
Nabil Ghodbane [Wed, 10 May 2023 14:39:25 +0000 (16:39 +0200)]
[CEA][Windows] if study from Most Recently Used studies  is not present, SALOME crashes

11 months agospns #33658: in case environment variable does not exist, getenv returns nullptr... spns/33658 V9_11_0a1 V9_11_0a2 3/head
Nabil Ghodbane [Thu, 4 May 2023 14:45:45 +0000 (16:45 +0200)]
spns #33658: in case environment variable does not exist, getenv returns nullptr, which triggers an exception

Test rewrite parameter first, then check if environment variable is nullptr, and finally check if environment variable exists but is empty

Useful for setting MeshGems license

12 months agoDon't use LocalTraceCollector for BRIEF_INFOS so that it is always displayed (no... cbr/always_display_brief_info
Christophe Bourcier [Fri, 21 Apr 2023 14:07:33 +0000 (16:07 +0200)]
Don't use LocalTraceCollector for BRIEF_INFOS so that it is always displayed (no matter of the verbosity)

12 months agoMerge commit 'd954a12541411ce8b07378923b5f4145748ef4e6'
LEONTEV Konstantin [Thu, 20 Apr 2023 14:04:21 +0000 (16:04 +0200)]
Merge commit 'd954a12541411ce8b07378923b5f4145748ef4e6'

12 months agoKeep traceback in default SALOME logger sat/34094 2/head
Anthony Geay [Thu, 20 Apr 2023 05:22:25 +0000 (07:22 +0200)]
Keep traceback in default SALOME logger

12 months agoKeep traceback in default SALOME logger
Anthony Geay [Thu, 20 Apr 2023 05:22:25 +0000 (07:22 +0200)]
Keep traceback in default SALOME logger

12 months agoFirst integration of Salome On Demand
Konstantin Leontev [Tue, 29 Nov 2022 11:57:56 +0000 (14:57 +0300)]
First integration of Salome On Demand

12 months agoUSER or LOGNAME is not defined in a Docker container: on Linux get username with...
Ovidiu Mircescu [Fri, 14 Apr 2023 09:03:22 +0000 (11:03 +0200)]
USER or LOGNAME is not defined in a Docker container: on Linux get username with getpwuid(getuid())

12 months ago[bos #32519][EDF] (2022-T3)
Margarita KARPUNINA [Thu, 15 Dec 2022 17:27:47 +0000 (20:27 +0300)]
[bos #32519][EDF] (2022-T3)
Parametrize commands in KERNEL

12 months agoFirst integration of Salome On Demand duc/SALOME_on_Demand_integration
Konstantin Leontev [Tue, 29 Nov 2022 11:57:56 +0000 (14:57 +0300)]
First integration of Salome On Demand

12 months agoUSER or LOGNAME is not defined in a Docker container: on Linux get username with...
Ovidiu Mircescu [Fri, 14 Apr 2023 09:03:22 +0000 (11:03 +0200)]
USER or LOGNAME is not defined in a Docker container: on Linux get username with getpwuid(getuid())

12 months ago[bos #32519][EDF] (2022-T3)
Margarita KARPUNINA [Thu, 15 Dec 2022 17:27:47 +0000 (20:27 +0300)]
[bos #32519][EDF] (2022-T3)
Parametrize commands in KERNEL

13 months agoadd appendVariable method to SalomeContext
Nabil Ghodbane [Wed, 15 Mar 2023 15:22:02 +0000 (16:22 +0100)]
add appendVariable method to SalomeContext

14 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.

15 months agoReplace deprecated function time.clock.
Ovidiu Mircescu [Thu, 26 Jan 2023 10:13:22 +0000 (11:13 +0100)]
Replace deprecated function time.clock.

15 months agoSalome container initialization for embedded python.
Ovidiu Mircescu [Mon, 16 Jan 2023 11:48:31 +0000 (12:48 +0100)]
Salome container initialization for embedded python.

15 months agoA service to generate artificialy SIGSEGV to test robustness of high level layers
Anthony Geay [Fri, 6 Jan 2023 16:59:00 +0000 (17:59 +0100)]
A service to generate artificialy SIGSEGV to test robustness of high level layers

15 months agoLocalTraceCollector also sensible to SALOME_VERBOSE env var
Anthony Geay [Fri, 6 Jan 2023 16:19:02 +0000 (17:19 +0100)]
LocalTraceCollector also sensible to SALOME_VERBOSE env var

15 months agoAdd Engines.ResourcesManager.ListAllResourcesInCatalog method
Anthony Geay [Fri, 6 Jan 2023 08:25:18 +0000 (09:25 +0100)]
Add Engines.ResourcesManager.ListAllResourcesInCatalog method

15 months ago[EDF26673] : do not release the POA object returned by _the_root_poa.
Anthony Geay [Wed, 4 Jan 2023 08:45:57 +0000 (09:45 +0100)]
[EDF26673] : do not release the POA object returned by _the_root_poa.

16 months agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/kernel
Anthony Geay [Fri, 30 Dec 2022 14:42:37 +0000 (15:42 +0100)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/kernel

16 months agoGet ResourceManager easily accessible from the outside
Anthony Geay [Fri, 30 Dec 2022 14:42:27 +0000 (15:42 +0100)]
Get ResourceManager easily accessible from the outside

16 months ago[bos#32842][EDF 26412] parallelism and MeshGems licence
Yoann Audouin [Thu, 29 Dec 2022 07:15:20 +0000 (08:15 +0100)]
[bos#32842][EDF 26412] parallelism and MeshGems licence

Prefixing temporary folder with pid as if the function is called at the
same time (same ms) the same folder is created twice.

16 months agoMerge branch 'V9_10_BR'
jfa [Fri, 16 Dec 2022 07:44:03 +0000 (10:44 +0300)]
Merge branch 'V9_10_BR'

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 agoIncrement version: 9.10.0 V9_10_BR V9_10_0 V9_10_0rc1
jfa [Tue, 22 Nov 2022 11:19:01 +0000 (14:19 +0300)]
Increment version: 9.10.0

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 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