Salome HOME
modules/kernel.git
9 years agoMerge branch 'omu/SalomeLauncher'
Ovidiu Mircescu [Mon, 9 Feb 2015 09:45:00 +0000 (10:45 +0100)]
Merge branch 'omu/SalomeLauncher'

9 years agoCopyrights update 2015.
akl [Fri, 6 Feb 2015 14:39:28 +0000 (18:39 +0400)]
Copyrights update 2015.

9 years ago0022739: [CEA 812] Create source plug-in to display a GEOM object via CORBA
vsr [Thu, 5 Feb 2015 14:41:25 +0000 (17:41 +0300)]
0022739: [CEA 812] Create source plug-in to display a GEOM object via CORBA
0022740: [CEA 1250] Create source plug-in to display a SMESH object via CORBA

Alternative solution via Python macro:
- Add getSelection() method to the SALOME::Session CORBA interface

9 years agoWindows compatibility
ana [Tue, 3 Feb 2015 16:10:32 +0000 (19:10 +0300)]
Windows compatibility

9 years agoMerge branch 'V7_5_BR'
vsr [Fri, 30 Jan 2015 06:46:29 +0000 (09:46 +0300)]
Merge branch 'V7_5_BR'

9 years agoMerge branch 'master' of https://git.salome-platform.org/git/modules/kernel
Anthony Geay [Thu, 29 Jan 2015 08:55:02 +0000 (09:55 +0100)]
Merge branch 'master' of https://git.salome-platform.org/git/modules/kernel

9 years agoBug correction. Regitry server must be thread safe ; When components are instanciated...
Anthony Geay [Thu, 29 Jan 2015 08:54:50 +0000 (09:54 +0100)]
Bug correction. Regitry server must be thread safe ; When components are instanciated and loaded simultaneously registry->add can be invoked simultaneously. POA of Registry::Components is now SINGLE_THREAD.

9 years agoFix compilation with parallel extensions (PaCO and MPI) V7_5_BR rbe/fix-contmanager-parallel V7_5_1 V7_5_1rc3
Renaud Barate [Wed, 28 Jan 2015 10:34:32 +0000 (11:34 +0100)]
Fix compilation with parallel extensions (PaCO and MPI)

9 years agoMerge branch 'V7_5_BR'
vsr [Mon, 26 Jan 2015 12:59:41 +0000 (15:59 +0300)]
Merge branch 'V7_5_BR'

9 years agoMerge branch 'V7_5_BR'
vsr [Mon, 26 Jan 2015 10:38:53 +0000 (13:38 +0300)]
Merge branch 'V7_5_BR'

9 years agorunning bash scripts in salome shell agr/fix9680_command_line_scripts V7_5_1rc2
Cédric Aguerre [Mon, 26 Jan 2015 09:17:37 +0000 (10:17 +0100)]
running bash scripts in salome shell

update salome shell usage

usage

9 years agoFix small bug introduced with commit 485e5e1d
vsr [Mon, 19 Jan 2015 14:35:35 +0000 (17:35 +0300)]
Fix small bug introduced with commit 485e5e1d

9 years agouse realpath to follow symbolic links agr/fix_realpath
Cédric Aguerre [Fri, 23 Jan 2015 14:29:04 +0000 (15:29 +0100)]
use realpath to follow symbolic links

9 years agoMerge branch 'V7_5_BR'
vsr [Fri, 23 Jan 2015 11:40:32 +0000 (14:40 +0300)]
Merge branch 'V7_5_BR'

9 years ago0022850: EDF PARAVIS: Save study does not work in ParaVis
vsr [Fri, 23 Jan 2015 11:27:59 +0000 (14:27 +0300)]
0022850: EDF PARAVIS: Save study does not work in ParaVis

9 years agoFirst version before plugging.
Anthony Geay [Mon, 27 Oct 2014 12:39:19 +0000 (13:39 +0100)]
First version before plugging.

LauncherServer hostes DataServerManager and default DataScopeServer.

Little correction.

First executable test.

ScopeServer launching.

Debug. Now scope server are correctly launched.

ScopeServer are correctly created and destroyed.

Small correction.

On the road for remote python evaluation of global vars.

Debuging done -> valgrind OK.

string -> sequence<octet> to support the exchance via CORBA or pickled strings + addition of some useful methods.

A good version. TODO : 1 - multi levels management 2 - clean exception handling

Suppress AnyDataServer for the moment.

String -> PyObject + support of invocation of methods recursively.

A full use case is runnable. Remaining : raise management, float, string

Little Bug.

Imp

Exceptions management + clean DataScopes destruction.

on the road of read only and read ext. coming soon \!

End of preparation to move to RdExt instead of RdWr.

First impl of RdExt policy.

Almost ready to be used. Valgrind OK on TestSalomeSDS2.

OK. Only RdOnly and RdExt is now available.

9 years agoFix small bug introduced with commit 485e5e1d
vsr [Mon, 19 Jan 2015 14:35:35 +0000 (17:35 +0300)]
Fix small bug introduced with commit 485e5e1d

9 years agoSwitch DEV version marker to 1
vsr [Mon, 19 Jan 2015 14:19:11 +0000 (17:19 +0300)]
Switch DEV version marker to 1

9 years agoMerge branch V7_5_BR
vsr [Mon, 19 Jan 2015 14:17:06 +0000 (17:17 +0300)]
Merge branch V7_5_BR

9 years agoScript, template and documentation for the generation of default profile
CEA Support SALOME [Mon, 5 Jan 2015 15:17:23 +0000 (16:17 +0100)]
Script, template and documentation for the generation of default profile

9 years agoFixing TIMESTAMP mechanism for PY file compilation V7_5_1rc1
abn [Tue, 6 Jan 2015 14:33:22 +0000 (15:33 +0100)]
Fixing TIMESTAMP mechanism for PY file compilation

9 years ago22778: [CEA 1298] Python file compilation should be done at build time, not install...
eap [Tue, 30 Dec 2014 13:49:35 +0000 (16:49 +0300)]
22778: [CEA 1298] Python file compilation should be done at build time, not install time

9 years agoMerge remote branch 'origin/rbe/fix-resource-manager-thread-safe' into V7_5_BR
vsr [Mon, 12 Jan 2015 09:45:44 +0000 (12:45 +0300)]
Merge remote branch 'origin/rbe/fix-resource-manager-thread-safe' into V7_5_BR

9 years agoCode cleanup following previous fix rbe/fix-resource-manager-thread-safe
Renaud Barate [Thu, 8 Jan 2015 10:55:18 +0000 (11:55 +0100)]
Code cleanup following previous fix

9 years agoFix a bug causing concurrent access problems to the Resources Manager
Renaud Barate [Thu, 8 Jan 2015 09:44:06 +0000 (10:44 +0100)]
Fix a bug causing concurrent access problems to the Resources Manager

Since the development of parallel container launch, the container
manager is multi-threaded, but it used directly the resource manager
which is not thread safe. With this fix, all calls from the container
manager to the resource manager are done through CORBA, and since the
resource manager runs in a single-thread POA, thread-safety is ensured.

9 years agoFixing TIMESTAMP mechanism for PY file compilation
abn [Tue, 6 Jan 2015 14:33:22 +0000 (15:33 +0100)]
Fixing TIMESTAMP mechanism for PY file compilation

9 years agoFix bug preventing SALOME applications without GUI to launch properly rbe/fix-appli-wo-gui
Renaud Barate [Mon, 5 Jan 2015 10:31:27 +0000 (11:31 +0100)]
Fix bug preventing SALOME applications without GUI to launch properly

This bug was introduced by commit 33045b958bf590997b2765a5f0a17c2139d92b92

9 years ago22778: [CEA 1298] Python file compilation should be done at build time, not install...
eap [Tue, 30 Dec 2014 13:49:35 +0000 (16:49 +0300)]
22778: [CEA 1298] Python file compilation should be done at build time, not install time

9 years agoMinor doc updates. omu/SalomeLauncher
Ovidiu Mircescu [Thu, 18 Dec 2014 16:27:20 +0000 (17:27 +0100)]
Minor doc updates.

9 years agoSalomeLauncher - Use the current date in the name of the default working directory.
Ovidiu Mircescu [Thu, 18 Dec 2014 09:59:54 +0000 (10:59 +0100)]
SalomeLauncher - Use the current date in the name of the default working directory.

9 years agoAdd the possibility to retrieve one single file with SalomeLauncher.
Ovidiu Mircescu [Tue, 16 Dec 2014 15:33:15 +0000 (16:33 +0100)]
Add the possibility to retrieve one single file with SalomeLauncher.

EDF pleiade issue n° 9110.

9 years agoSalomeLauncher test uses all the available ressources now.
Ovidiu Mircescu [Thu, 11 Dec 2014 16:44:02 +0000 (17:44 +0100)]
SalomeLauncher test uses all the available ressources now.

9 years agoThe default value of the working directory of a job is set to the one of the ressourc...
Ovidiu Mircescu [Thu, 11 Dec 2014 16:22:52 +0000 (17:22 +0100)]
The default value of the working directory of a job is set to the one of the ressource used.

If neither the job nor the ressource defines a working directory, we use the previous rule
to define a working directory, based on $HOME.
There was a bug in the previous version because $HOME was not considered an absolute path.
A temporary fix is to use "/$HOME" instead of "$HOME".

9 years agoWin32 compatibility V7_5_1b1
vsr [Wed, 10 Dec 2014 08:40:11 +0000 (11:40 +0300)]
Win32 compatibility

9 years agoMerge branch 'master' into omu/SalomeLauncher
Ovidiu Mircescu [Tue, 9 Dec 2014 16:21:10 +0000 (17:21 +0100)]
Merge branch 'master' into omu/SalomeLauncher

9 years agoIncrement version: 7.5.1
vsr [Tue, 9 Dec 2014 08:44:47 +0000 (11:44 +0300)]
Increment version: 7.5.1

9 years agoMerge remote branch 'origin/agr/python_refactoring' into V7_5_BR
vsr [Tue, 9 Dec 2014 06:46:16 +0000 (09:46 +0300)]
Merge remote branch 'origin/agr/python_refactoring' into V7_5_BR

9 years agoAdd more documentation and fix on testing yacs_file jobs
Ovidiu Mircescu [Thu, 4 Dec 2014 17:00:08 +0000 (18:00 +0100)]
Add more documentation and fix on testing yacs_file jobs

9 years agoupdate usage info
Cédric Aguerre [Wed, 26 Nov 2014 14:45:03 +0000 (15:45 +0100)]
update usage info

9 years agoremove hard-coded paths
Cédric Aguerre [Mon, 24 Nov 2014 13:40:35 +0000 (14:40 +0100)]
remove hard-coded paths

remove hard-coded paths

9 years agoRecover previously removed line
Gilles DAVID [Mon, 24 Nov 2014 16:41:50 +0000 (17:41 +0100)]
Recover previously removed line

The previously removed "import" command is specifically tested in
the try except block.

9 years agoSome Python refactoring and use argparse instead of optparse
Gilles DAVID [Fri, 21 Nov 2014 18:18:12 +0000 (19:18 +0100)]
Some Python refactoring and use argparse instead of optparse

9 years agoAdd tests for SalomeLauncher
Ovidiu Mircescu [Wed, 26 Nov 2014 17:39:54 +0000 (18:39 +0100)]
Add tests for SalomeLauncher

9 years agoupdate usage info agr/python_refactoring
Cédric Aguerre [Wed, 26 Nov 2014 14:45:03 +0000 (15:45 +0100)]
update usage info

9 years agocalling YACS driver
Cédric Aguerre [Tue, 25 Nov 2014 11:04:52 +0000 (12:04 +0100)]
calling YACS driver

9 years agoremove hard-coded paths
Cédric Aguerre [Mon, 24 Nov 2014 13:40:35 +0000 (14:40 +0100)]
remove hard-coded paths

remove hard-coded paths

9 years agocalling YACS driver
Cédric Aguerre [Tue, 25 Nov 2014 11:04:52 +0000 (12:04 +0100)]
calling YACS driver

9 years agoRecover previously removed line gdd/python_refactoring
Gilles DAVID [Mon, 24 Nov 2014 16:41:50 +0000 (17:41 +0100)]
Recover previously removed line

The previously removed "import" command is specifically tested in
the try except block.

9 years agoSome Python refactoring and use argparse instead of optparse
Gilles DAVID [Fri, 21 Nov 2014 18:18:12 +0000 (19:18 +0100)]
Some Python refactoring and use argparse instead of optparse

9 years agoMerge branch 'master' into V7_5_BR V7_5_0 V7_5_0rc1
vsr [Mon, 17 Nov 2014 14:06:24 +0000 (17:06 +0300)]
Merge branch 'master' into V7_5_BR

9 years agoBug fix: the command "salome shell" was broken on some machines.
abn [Mon, 17 Nov 2014 08:43:35 +0000 (09:43 +0100)]
Bug fix: the command "salome shell" was broken on some machines.

9 years agoMerge branch 'master' into V7_5_BR
vsr [Thu, 13 Nov 2014 16:04:17 +0000 (19:04 +0300)]
Merge branch 'master' into V7_5_BR

9 years agoAdd some documentation for SalomeLauncher
Ovidiu Mircescu [Thu, 13 Nov 2014 14:47:54 +0000 (15:47 +0100)]
Add some documentation for SalomeLauncher

9 years agoFix SalomeLauncher::getJobResults when the directory is specified.
Ovidiu Mircescu [Thu, 13 Nov 2014 14:34:19 +0000 (15:34 +0100)]
Fix SalomeLauncher::getJobResults when the directory is specified.

There was a case where SalomeLauncher::getJobResults would have
copied the remote files to another directory than the one chosen
in the parameters of the function.

9 years agoAdd short option -w for --shutdown-servers occ/shape_reparation_2
Christophe Bourcier local [Wed, 12 Nov 2014 17:09:46 +0000 (18:09 +0100)]
Add short option -w for --shutdown-servers

9 years agoFix problem with saving/loading data of modules with incorrectly implemented persiste...
vsr [Thu, 6 Nov 2014 09:24:21 +0000 (12:24 +0300)]
Fix problem with saving/loading data of modules with incorrectly implemented persistence mechanism

9 years agoIncrement version: 7.5.0
vsr [Wed, 5 Nov 2014 15:21:42 +0000 (18:21 +0300)]
Increment version: 7.5.0

9 years agoBug fix: running scripts in embedded python console V7_5_0b1
Cédric Aguerre [Mon, 27 Oct 2014 11:09:02 +0000 (12:09 +0100)]
Bug fix: running scripts in embedded python console

9 years agousing the new salome command is even better
Cédric Aguerre [Fri, 24 Oct 2014 14:35:29 +0000 (16:35 +0200)]
using the new salome command is even better

9 years agorun scripts on remote machines (substitute for runSalomeScript)
Cédric Aguerre [Fri, 24 Oct 2014 12:51:29 +0000 (14:51 +0200)]
run scripts on remote machines (substitute for runSalomeScript)

9 years agoFix a bug that salome does not start if launched with --port option
eap [Wed, 22 Oct 2014 11:22:50 +0000 (15:22 +0400)]
Fix a bug that salome does not start if launched with --port option

9 years agouse os.pathsep
Cédric Aguerre [Wed, 22 Oct 2014 08:26:31 +0000 (10:26 +0200)]
use os.pathsep

9 years ago[PortManager] create lock file in temporary folder, with 0666 permissions
Cédric Aguerre [Tue, 21 Oct 2014 08:21:34 +0000 (10:21 +0200)]
[PortManager] create lock file in temporary folder, with 0666 permissions

9 years agoAdapted salome_test to new PARAVIS architecture.
abn [Fri, 17 Oct 2014 07:53:10 +0000 (09:53 +0200)]
Adapted salome_test to new PARAVIS architecture.

9 years agoMerge branch 'master' of ssh://git.salome-platform.org/modules/kernel
abn [Tue, 14 Oct 2014 14:20:03 +0000 (16:20 +0200)]
Merge branch 'master' of ssh://git.salome-platform.org/modules/kernel

9 years agoMinor bug fix: IN_SALOME_GUI should not be reset if already set.
abn [Tue, 14 Oct 2014 14:19:39 +0000 (16:19 +0200)]
Minor bug fix: IN_SALOME_GUI should not be reset if already set.

9 years agoMerge branch 'omu/graphviz238' V7_5_0a1
vsr [Fri, 10 Oct 2014 06:18:58 +0000 (10:18 +0400)]
Merge branch 'omu/graphviz238'

9 years agoDetect version of graphviz, to set preprocessor definitions properly; for backward... omu/graphviz238
vsr [Fri, 10 Oct 2014 06:15:43 +0000 (10:15 +0400)]
Detect version of graphviz, to set preprocessor definitions properly; for backward compatibility with graphviz < 2.36.

9 years agoMerge remote branch 'origin/omu/graphviz238'
vsr [Thu, 9 Oct 2014 15:07:04 +0000 (19:07 +0400)]
Merge remote branch 'origin/omu/graphviz238'

9 years agoSince SALOME 7.5.0 Port Manager is switched ON by default
vsr [Thu, 9 Oct 2014 07:34:09 +0000 (11:34 +0400)]
Since SALOME 7.5.0 Port Manager is switched ON by default

9 years agoMerge branch 'rbe/evol-job-newparams'
Renaud Barate [Wed, 8 Oct 2014 15:56:04 +0000 (17:56 +0200)]
Merge branch 'rbe/evol-job-newparams'

* rbe/evol-job-newparams:
  Fix bug when creating JobParameters in Python (due to previous evolutions)
  SALOME Launcher: add possibility to specify extra parameters
  Add batch parameter wckey to SALOME Launcher

9 years agoIncrease ORB parameter maxGIOPConnectionPerServer to 50
Renaud Barate [Wed, 8 Oct 2014 09:38:38 +0000 (11:38 +0200)]
Increase ORB parameter maxGIOPConnectionPerServer to 50

The default parameter (5) restricts the launch of containers in parallel.
This value (50) seems a good tradeoff on current machines. It might be
necessary to increase it further in the future.

9 years agoFix bug when creating JobParameters in Python (due to previous evolutions) rbe/evol-job-newparams
Renaud Barate [Wed, 8 Oct 2014 08:36:15 +0000 (10:36 +0200)]
Fix bug when creating JobParameters in Python (due to previous evolutions)

9 years agoSALOME Launcher: add possibility to specify extra parameters
Renaud Barate [Tue, 7 Oct 2014 15:24:47 +0000 (17:24 +0200)]
SALOME Launcher: add possibility to specify extra parameters

9 years agoTest Graphviz 2.38
Ovidiu Mircescu [Mon, 6 Oct 2014 09:46:38 +0000 (11:46 +0200)]
Test Graphviz 2.38

9 years agoAdd batch parameter wckey to SALOME Launcher
Renaud Barate [Mon, 6 Oct 2014 16:03:07 +0000 (18:03 +0200)]
Add batch parameter wckey to SALOME Launcher

9 years agoMerge branch 'agy/ParallelContainerLaunch'
Anthony Geay [Mon, 6 Oct 2014 15:28:26 +0000 (17:28 +0200)]
Merge branch 'agy/ParallelContainerLaunch'

9 years agoMulti-study support removal: finalization
akl [Tue, 23 Sep 2014 08:21:50 +0000 (12:21 +0400)]
Multi-study support removal: finalization

9 years agoCorrection of bug for HPContainers shared by different scripts. agy/ParallelContainerLaunch
Anthony Geay [Tue, 16 Sep 2014 08:56:02 +0000 (10:56 +0200)]
Correction of bug for HPContainers shared by different scripts.

9 years agoAdding explicit ORB destruction function.
abn [Mon, 15 Sep 2014 12:24:16 +0000 (14:24 +0200)]
Adding explicit ORB destruction function.

9 years agoMinor: adding sphinx-apidoc tool to the Sphinx detection.
abn [Wed, 10 Sep 2014 06:53:57 +0000 (08:53 +0200)]
Minor: adding sphinx-apidoc tool to the Sphinx detection.

9 years agoSwitch on dev version flag
vsr [Thu, 28 Aug 2014 09:09:38 +0000 (13:09 +0400)]
Switch on dev version flag

9 years agoMerge remote branch 'origin/V7_4_BR'
vsr [Thu, 28 Aug 2014 09:05:41 +0000 (13:05 +0400)]
Merge remote branch 'origin/V7_4_BR'

9 years agoImplementation of 0022617: [CEA 1060] In OCC view, add "Show vertices" in the context...
akl [Thu, 28 Aug 2014 08:16:43 +0000 (12:16 +0400)]
Implementation of 0022617: [CEA 1060] In OCC view, add "Show vertices" in the contextual menu.

9 years agoRemove use of mutable as default parameter value
Gilles DAVID [Wed, 27 Aug 2014 13:33:14 +0000 (15:33 +0200)]
Remove use of mutable as default parameter value

Usually the use of a mutable as a default parameter value is not
advised.
This is well explained in http://effbot.org/zone/default-values.htm

9 years agoMake ContainerManager::GiveContainer threadsafe to allow // launch of containers.
Anthony Geay [Wed, 20 Aug 2014 07:22:54 +0000 (09:22 +0200)]
Make ContainerManager::GiveContainer threadsafe to allow // launch of containers.

9 years agoDeal with ref count server side.
Anthony Geay [Thu, 14 Aug 2014 06:53:33 +0000 (08:53 +0200)]
Deal with ref count server side.

9 years agoMakes the remote interpretor or Salome accessible for both PyScriptNode and PyNode.
Anthony Geay [Wed, 13 Aug 2014 13:09:05 +0000 (15:09 +0200)]
Makes the remote interpretor or Salome accessible for both PyScriptNode and PyNode.

9 years agoTrying to fix Paco++/MPI optional compilation.
Anthony Geay [Fri, 8 Aug 2014 09:52:46 +0000 (11:52 +0200)]
Trying to fix Paco++/MPI optional compilation.

9 years agoMerge branch 'master' of https://git.salome-platform.org/git/modules/kernel
Anthony Geay [Thu, 7 Aug 2014 13:15:26 +0000 (15:15 +0200)]
Merge branch 'master' of https://git.salome-platform.org/git/modules/kernel

9 years agoAdd some useful method in containers to extend the services to execute remotely pytho...
Anthony Geay [Thu, 7 Aug 2014 13:15:19 +0000 (15:15 +0200)]
Add some useful method in containers to extend the services to execute remotely python scripts.

9 years agoRevert "Synchronize adm files"
vsr [Thu, 7 Aug 2014 09:20:46 +0000 (13:20 +0400)]
Revert "Synchronize adm files"

This reverts commit 641929d327319a80b4fc6f6157605a21f46413c4.

9 years agoSynchronize adm files
Maintenance team (INV) [Wed, 6 Aug 2014 19:16:30 +0000 (23:16 +0400)]
Synchronize adm files

9 years agoMerge remote-tracking branch 'origin/rnv/py_win_fix'
rnv [Tue, 15 Jul 2014 12:07:52 +0000 (16:07 +0400)]
Merge remote-tracking branch 'origin/rnv/py_win_fix'

9 years agoImprove Unicode support in class StudyEditor
Renaud Barate [Thu, 10 Jul 2014 10:06:45 +0000 (12:06 +0200)]
Improve Unicode support in class StudyEditor

9 years agoFixing of 0022619: [CEA 1094] Dump study in utf8:
akl [Wed, 9 Jul 2014 13:57:38 +0000 (17:57 +0400)]
Fixing of 0022619: [CEA 1094] Dump study in utf8:
replacement
# -*- coding: iso-8859-1 -*-
by
# -*- coding: utf-8 -*-

9 years agoFix problem with the python initialization on windows. rnv/py_win_fix
rnv [Wed, 9 Jul 2014 11:02:11 +0000 (15:02 +0400)]
Fix problem with the python initialization on windows.

9 years agoFix bug with Python warning messages not redirected when sys.stderr is redirected
Renaud Barate [Tue, 8 Jul 2014 14:48:00 +0000 (16:48 +0200)]
Fix bug with Python warning messages not redirected when sys.stderr is redirected

9 years agoUse UTF-8 encoding when setting parameters of the study objects
Renaud Barate [Mon, 7 Jul 2014 15:22:48 +0000 (17:22 +0200)]
Use UTF-8 encoding when setting parameters of the study objects

9 years agoVersion update: 7.4.1 V7_4_BR V7_4_1 V7_4_1rc1
vsr [Fri, 27 Jun 2014 10:11:13 +0000 (14:11 +0400)]
Version update: 7.4.1