caremoli [Tue, 1 Jun 2010 07:39:57 +0000 (07:39 +0000)]
CCAR: add the Container Manager pid to the name of container log file to separate
log files from different sessions with same user on same resource and same container name
adam [Fri, 30 Apr 2010 09:56:52 +0000 (09:56 +0000)]
If you launch two salome sessions and try to execute a
YACS graph in each one, you have to start a container, the
traces are redirected in a log file with the same name ...
The file is overwritten on linux whereas on windows it
generates an error since the file is locked ...
On windows, I complete the file with the pid ...
CCAR: improvement to the component loading mechanism of SALOME (issue 20675)
Main modifications are:
- add an out string argument to container methods (load_component_Library and create_component_instance_env)
to report reason when load or create fails (INTERFACE CHANGE)
- try to detect if the implementation is C++, python or executable based on intermediate errors (dlopen, dlsym,
import, ...)
- some refactoring to put specific parts in separate methods
- minimal update of MPIContainer and ParallelContainer
- keep LifeCycle unchanged
caremoli [Mon, 22 Mar 2010 09:23:39 +0000 (09:23 +0000)]
CCAR: improve the shutdown process
1- use salome_kernel.py module instead of salome.py in shutdownSalome.py to avoid calling Study
2- disconnect all connections in the connection manager
3- change the order of servers shutdown :
- connection manager
- study
- module catalog
- registry
- launcher
- logger
and add some waiting time between each shutdown because it is asynchronous.
caremoli [Mon, 22 Mar 2010 09:15:41 +0000 (09:15 +0000)]
CCAR: add a new parameter (resources) to configuration of SALOME Application
It is a new entry in config_appli.xml file (tag resources) that gives the path of a user resources catalog
It is added to the SALOME Application as the USER_CATALOG_RESOURCES_FILE environment variable in env.d/configSalome.sh
caremoli [Fri, 19 Mar 2010 16:57:56 +0000 (16:57 +0000)]
CCAR: add two requests to CALCIUM API (CPEFFI and CPEFFT)
These requests remove all dataid before a given time (cpefft) or iteration number (cpeffi)
C, Fortran and Python API are implemented
caremoli [Tue, 16 Mar 2010 17:15:30 +0000 (17:15 +0000)]
CCAR: add a method to Container idl (create_component_instance_env) to be able
to create a standalone component (executable) with predefined environment variables.
It's mainly the same method as create_component_instance with a third argument that is
a dict(string,Any) to pass in the environment variables.
create_component_instance has been reimplemented by calling create_component_instance_env with an empty dict (for compatibility with 5.1.3)
MPIContainer and ParallelContainer have been updated
ribes [Wed, 20 Jan 2010 16:05:16 +0000 (16:05 +0000)]
- Adding a new method to SALOME_ResourceManager:
//! Add a new resource to the resource_manager
/*!
write -> true, resource manager will add it into a xml_file
xml_file -> could be empty, in this case if write is true, resource manager will write
the resource in its first ResourceCatalog file
*/
void AddResourceDefinition(in ResourceDefinition new_resource, in boolean write, in string xml_file)
raises (SALOME::SALOME_Exception);
vsr [Thu, 17 Dec 2009 11:57:56 +0000 (11:57 +0000)]
Fix a problem of RTTI data initialization in the libraries loaded by Python (SWIG-modules, etc). Additional fix: dl module can be unavaiable in Python.
vsr [Wed, 16 Dec 2009 13:24:29 +0000 (13:24 +0000)]
Fix a problem of RTTI data initialization in the libraries loaded by Python (SWIG-modules, etc). Without this change, dynamic_cast<..> operator does not work that can cause runtime error (like crash or incorrect operating of some functionality).