Salome HOME
modules/kernel.git
8 months agoManagement of double foreach and management of proxyfile lifecycle
Anthony Geay [Mon, 12 Jun 2023 12:16:25 +0000 (14:16 +0200)]
Management of double foreach and management of proxyfile lifecycle

9 months agoMerge branch 'V9_11_BR'
jfa [Wed, 19 Jul 2023 14:13:09 +0000 (15:13 +0100)]
Merge branch 'V9_11_BR'

10 months agoupdated copyright message V9_11_BR V9_11_0
mbs [Mon, 19 Jun 2023 16:51:55 +0000 (17:51 +0100)]
updated copyright message

11 months agoupdated copyright message
mbs [Fri, 16 Jun 2023 18:57:05 +0000 (19:57 +0100)]
updated copyright message

11 months agoWIP agy/edf27816_2
Anthony Geay [Wed, 7 Jun 2023 13:07:23 +0000 (15:07 +0200)]
WIP

11 months ago[EDF27816] : management of proxy from/to Foreach
Anthony Geay [Wed, 7 Jun 2023 07:33:51 +0000 (09:33 +0200)]
[EDF27816] : management of proxy from/to Foreach

11 months ago[EDF27816] : management of proxy from/to Foreach
Anthony Geay [Tue, 6 Jun 2023 15:52:48 +0000 (17:52 +0200)]
[EDF27816] : management of proxy from/to Foreach

11 months ago[EDF27816] : management of proxy from/to Foreach
Anthony Geay [Tue, 6 Jun 2023 15:04:48 +0000 (17:04 +0200)]
[EDF27816] : management of proxy from/to Foreach

11 months ago[EDF27816] : management of SALOME_FILE_BIG_OBJ_DIR with var expansion + addition...
Anthony Geay [Mon, 5 Jun 2023 11:29:57 +0000 (13:29 +0200)]
[EDF27816] : management of SALOME_FILE_BIG_OBJ_DIR with var expansion + addition of PyScriptNode.removeAllVarsInContext to reduce memory footprint

11 months agoImplementation of proxy mecanism into KERNEL/YACS
Anthony Geay [Mon, 22 May 2023 11:39:40 +0000 (13:39 +0200)]
Implementation of proxy mecanism into KERNEL/YACS

11 months ago[EDF27562] : 2 new methods to simulate computation to ease test in charge YACS
Anthony Geay [Fri, 2 Jun 2023 09:28:02 +0000 (11:28 +0200)]
[EDF27562] : 2 new methods to simulate computation to ease test in charge YACS

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

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

11 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

11 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

11 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

11 months ago[EDF27562] : Management of remote container launch in no APPLI mode.
Anthony Geay [Wed, 31 May 2023 09:17:12 +0000 (11:17 +0200)]
[EDF27562] : Management of remote container launch in no APPLI mode.

11 months agoIncrement version: 9.11.0 V9_11_0rc1
jfa [Thu, 25 May 2023 13:54:56 +0000 (14:54 +0100)]
Increment version: 9.11.0

11 months ago[bos #35167][CEA] Salome process gets detached. Reverted commented import, added...
Konstantin Leontev [Mon, 22 May 2023 11:51:32 +0000 (12:51 +0100)]
[bos #35167][CEA] Salome process gets detached. Reverted commented import, added early return and debug message for not found session.

11 months ago[bos #35167][CEA] Salome process gets detached. Reverted commented import, added... kleontev/35167_salome_process_gets_detached 5/head
Konstantin Leontev [Mon, 22 May 2023 11:51:32 +0000 (12:51 +0100)]
[bos #35167][CEA] Salome process gets detached. Reverted commented import, added early return and debug message for not found session.

12 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

12 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

13 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

13 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())

13 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

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

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

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

16 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

16 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

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

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

17 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

18 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

18 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

18 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

19 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

20 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

20 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

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

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

23 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

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

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

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