Salome HOME
modules/yacs.git
4 years agoIncrement version: 9.4.0 V9_4_BR V9_4_0 V9_4_0rc1 V9_4_0rc2 V9_4_0rc3
rnv [Wed, 6 Nov 2019 06:53:26 +0000 (09:53 +0300)]
Increment version: 9.4.0

4 years agoFor python 3.7 V9_4_0b1
Ovidiu Mircescu [Wed, 16 Oct 2019 11:04:59 +0000 (13:04 +0200)]
For python 3.7

4 years ago[EDF20032] : Algorithm is less strict to support new configuration V9_4_0a2
Anthony Geay [Tue, 8 Oct 2019 15:51:12 +0000 (17:51 +0200)]
[EDF20032] : Algorithm is less strict to support new configuration

4 years ago[EDF20032] : Useful tool for debugging
Anthony Geay [Tue, 8 Oct 2019 13:05:50 +0000 (15:05 +0200)]
[EDF20032] : Useful tool for debugging

4 years agoError management in py2yacs.
Ovidiu Mircescu [Wed, 2 Oct 2019 15:04:18 +0000 (17:04 +0200)]
Error management in py2yacs.

4 years agoFix issue when there are two optimizer loops. V9_4_0a1
Ovidiu Mircescu [Mon, 29 Jul 2019 14:14:40 +0000 (16:14 +0200)]
Fix issue when there are two optimizer loops.

4 years agoSqueeze memory of process hosting YACS graph
Anthony Geay [Fri, 25 Jan 2019 09:00:54 +0000 (10:00 +0100)]
Squeeze memory of process hosting YACS graph

4 years agoUse /tmp for temporary files needed by salome tests.
Ovidiu Mircescu [Wed, 24 Jul 2019 13:51:21 +0000 (15:51 +0200)]
Use /tmp for temporary files needed by salome tests.

4 years ago[EDF19803] : Correction for test15 of testSaveLoadRun.py
Anthony Geay [Tue, 9 Jul 2019 08:46:01 +0000 (10:46 +0200)]
[EDF19803] : Correction for test15 of testSaveLoadRun.py

4 years ago[EDF19803] : Free memory for reused PyScriptNode node name. PyScriptNode_ptr ref...
Anthony Geay [Mon, 8 Jul 2019 13:59:40 +0000 (15:59 +0200)]
[EDF19803] : Free memory for reused PyScriptNode node name. PyScriptNode_ptr ref counting is set to 1 on creation instead of 2.

4 years agoTest to check YACS capacity to deal with old XML files EMC2P_V1_1_0
Anthony Geay [Thu, 6 Jun 2019 12:47:14 +0000 (14:47 +0200)]
Test to check YACS capacity to deal with old XML files

4 years agoAdd a test for base64 conversion
Anthony Geay [Thu, 6 Jun 2019 05:56:12 +0000 (07:56 +0200)]
Add a test for base64 conversion

4 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/yacs
Anthony Geay [Wed, 5 Jun 2019 14:44:29 +0000 (16:44 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/yacs

4 years agoOn the fly
Anthony Geay [Wed, 5 Jun 2019 14:44:11 +0000 (16:44 +0200)]
On the fly

4 years agoRemove QT4 compatibility.
rnv [Thu, 30 May 2019 12:12:59 +0000 (15:12 +0300)]
Remove QT4 compatibility.

4 years agoBuild YACS module on Windows platform.
rnv [Thu, 30 May 2019 11:49:56 +0000 (14:49 +0300)]
Build YACS module on Windows platform.

5 years agoAlgorithm of level of parallelism has been extended to more complex cases.
Anthony Geay [Thu, 16 May 2019 15:01:24 +0000 (17:01 +0200)]
Algorithm of level of parallelism has been extended to more complex cases.

5 years agobase64 is used to store pickelized objects into XML
Anthony Geay [Tue, 14 May 2019 11:58:36 +0000 (13:58 +0200)]
base64 is used to store pickelized objects into XML

5 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/yacs
Anthony Geay [Thu, 9 May 2019 15:07:35 +0000 (17:07 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/yacs

5 years agoQuick and dirty fix. test14 disabled
Anthony Geay [Thu, 9 May 2019 15:07:27 +0000 (17:07 +0200)]
Quick and dirty fix. test14 disabled

5 years agoUpdate tests with new naming convention
Anthony Geay [Thu, 9 May 2019 07:24:55 +0000 (09:24 +0200)]
Update tests with new naming convention

5 years agoPut the default protocol to 4 (python3.4) to support new style objects
Anthony Geay [Thu, 9 May 2019 05:59:53 +0000 (07:59 +0200)]
Put the default protocol to 4 (python3.4) to support new style objects

5 years agoYACS does not support Node names with . So now an exception is thrown when attempting...
Anthony Geay [Tue, 7 May 2019 12:15:50 +0000 (14:15 +0200)]
YACS does not support Node names with . So now an exception is thrown when attempting to set a name with .

5 years agoAvoid crash with getErrorReport when cloning process failed in ForEachLoop
Anthony Geay [Tue, 7 May 2019 07:56:30 +0000 (09:56 +0200)]
Avoid crash with getErrorReport when cloning process failed in ForEachLoop

5 years agoMerge branch 'V9_3_BR'
vsr [Mon, 6 May 2019 11:11:35 +0000 (14:11 +0300)]
Merge branch 'V9_3_BR'

5 years agoIncrement version: 9.3.0 V9_3_BR V9_3_0 V9_3_0b2 V9_3_0rc1 V9_3_0rc2
vsr [Thu, 28 Mar 2019 06:58:51 +0000 (09:58 +0300)]
Increment version: 9.3.0

5 years ago[EDF19168] : Uninitialized value that leads to unpredictable behavior
Anthony Geay [Fri, 22 Mar 2019 10:32:15 +0000 (11:32 +0100)]
[EDF19168] : Uninitialized value that leads to unpredictable behavior

5 years agoBuild on Windows platform. V9_3_0a2 V9_3_0b1
rnv [Wed, 6 Mar 2019 13:27:13 +0000 (16:27 +0300)]
Build on Windows platform.

5 years agoMerge branch 'V9_2_2_BR'
vsr [Tue, 5 Mar 2019 07:24:52 +0000 (10:24 +0300)]
Merge branch 'V9_2_2_BR'

5 years agoAdd setScriptText to Py2YacsDialog.
Ovidiu Mircescu [Fri, 1 Mar 2019 15:18:49 +0000 (16:18 +0100)]
Add setScriptText to Py2YacsDialog.

5 years agoPy2YacsDialog for future use in OTGUI
Ovidiu Mircescu [Tue, 26 Feb 2019 15:48:17 +0000 (16:48 +0100)]
Py2YacsDialog for future use in OTGUI

Add an option to Py2YacsDialog in order to avoid the creation of the yacs file.
The dialog box can be used to edit a python file and verify that it respects
the format for py2yacs.

5 years agoIncrement version: 9.2.2 V9_2_2_BR V9_2_BR vsr/v9_2_2_br V9_2_2
vsr [Mon, 25 Feb 2019 12:58:00 +0000 (15:58 +0300)]
Increment version: 9.2.2

5 years agoUpdate copyrights V9_3_0a1
vsr [Fri, 15 Feb 2019 10:53:25 +0000 (13:53 +0300)]
Update copyrights

5 years agoIncrement version: 9.2.1 V9_2_1_BR V9_2_1
vsr [Fri, 8 Feb 2019 11:26:20 +0000 (14:26 +0300)]
Increment version: 9.2.1

5 years ago[EDF17963] : Non regression test on truncated pickelized object containing byte 0
Anthony Geay [Mon, 31 Dec 2018 14:04:23 +0000 (15:04 +0100)]
[EDF17963] : Non regression test on truncated pickelized object containing byte 0

5 years ago[EDF17413] : Non regression test on truncated pickelized object containing byte 0
Anthony Geay [Mon, 31 Dec 2018 14:01:01 +0000 (15:01 +0100)]
[EDF17413] : Non regression test on truncated pickelized object containing byte 0

5 years agoUse of : PyEval_SaveThread and PyEval_RestoreThread is needed for python >= 3.4
Anthony Geay [Wed, 12 Dec 2018 08:50:18 +0000 (09:50 +0100)]
Use of : PyEval_SaveThread and PyEval_RestoreThread is needed for python >= 3.4

5 years agoCorrection of bug revealed by multi invokation of plugins. Bug was due to lack of...
Anthony Geay [Tue, 11 Dec 2018 07:40:09 +0000 (08:40 +0100)]
Correction of bug revealed by multi invokation of plugins. Bug was due to lack of observer removal.

5 years agoSwitch development flag to 1
vsr [Mon, 10 Dec 2018 14:36:00 +0000 (17:36 +0300)]
Switch development flag to 1

5 years agoIncrement version: 9.2.0 V9_2_0 V9_2_0rc1 V9_2_0rc2
vsr [Fri, 16 Nov 2018 08:15:05 +0000 (11:15 +0300)]
Increment version: 9.2.0

5 years agoAdd documentation fallbacksAdd documentation fallbacks V9_2_0a2 V9_2_0b1
vsr [Thu, 1 Nov 2018 13:26:51 +0000 (16:26 +0300)]
Add documentation fallbacksAdd documentation fallbacks

5 years agoUse more default values for job submissions with idefix.
Ovidiu Mircescu [Fri, 26 Oct 2018 11:28:25 +0000 (13:28 +0200)]
Use more default values for job submissions with idefix.

5 years ago0023571: EDF 17413 - PMMLBasicsTest and PmmlExeTest tests fail
vsr [Fri, 19 Oct 2018 06:44:54 +0000 (09:44 +0300)]
0023571: EDF 17413 - PMMLBasicsTest and PmmlExeTest tests fail
- Additional minor fix of test: start salome in terminal mode

5 years ago0023583: [CEA 2267] : YACS_YacsLoaderTest_swig test failed
vsr [Wed, 17 Oct 2018 11:31:43 +0000 (14:31 +0300)]
0023583: [CEA 2267] : YACS_YacsLoaderTest_swig test failed

5 years ago0023571: EDF 17413 - PMMLBasicsTest and PmmlExeTest tests fail
vsr [Wed, 17 Oct 2018 11:31:16 +0000 (14:31 +0300)]
0023571: EDF 17413 - PMMLBasicsTest and PmmlExeTest tests fail

5 years ago[EDF17963] : synchronize entypemaps.i regarding bytes.
Anthony Geay [Tue, 16 Oct 2018 11:35:09 +0000 (13:35 +0200)]
[EDF17963] : synchronize entypemaps.i regarding bytes.

5 years ago[EDF17963] : Convertion from PyBytes To AnyString badly ported into py3
Anthony Geay [Fri, 12 Oct 2018 12:25:46 +0000 (14:25 +0200)]
[EDF17963] : Convertion from PyBytes To AnyString badly ported into py3

5 years ago[EDF17963] : Pickelization of Py3 introduces \0 in vector<char>. AtomAny has to manag... agy/edf17963
Anthony Geay [Mon, 8 Oct 2018 13:35:38 +0000 (15:35 +0200)]
[EDF17963] : Pickelization of Py3 introduces \0 in vector<char>. AtomAny has to manage this to avoid to loose data during Py<->Neutral conversion.

5 years agoImprovement to idefix porting to py3.
Ovidiu Mircescu [Wed, 3 Oct 2018 13:16:57 +0000 (15:16 +0200)]
Improvement to idefix porting to py3.

5 years agoIdefix ported to py3.
Ovidiu Mircescu [Fri, 28 Sep 2018 08:04:12 +0000 (10:04 +0200)]
Idefix ported to py3.

5 years ago'/usr/bin/env python' -> '/usr/bin/env python3' V9_2_0a1
rnv [Wed, 19 Sep 2018 15:33:15 +0000 (18:33 +0300)]
'/usr/bin/env python' -> '/usr/bin/env python3'

5 years agofix testExec test in yacsloader_swig test: random bug difficult to reproduce outside...
Paul RASCLE [Fri, 14 Sep 2018 13:30:58 +0000 (15:30 +0200)]
fix testExec test in yacsloader_swig test: random bug difficult to reproduce outside salome test context.
Trace gives abort on Py_XDECREF(_data), in InputPyPort::exRestoreInit() (src/runtime/PythonPorts.cxx:244)
Seems related to partial execution of the schema with stopOnError set.
The fix consists in resume the execution after save state.

5 years agoIncrement version: 9.1.0 V9_1_0
rnv [Tue, 11 Sep 2018 14:47:26 +0000 (17:47 +0300)]
Increment version: 9.1.0

5 years agoOoops
Anthony Geay [Mon, 10 Sep 2018 13:43:07 +0000 (15:43 +0200)]
Ooops

5 years agocmake3.12 ready
Anthony Geay [Mon, 10 Sep 2018 13:27:43 +0000 (15:27 +0200)]
cmake3.12 ready

5 years agoWindows porting: additional changes.
rnv [Mon, 10 Sep 2018 11:11:04 +0000 (14:11 +0300)]
Windows porting: additional changes.

5 years agoSALOME 9.1.0 Windows version
rnv [Wed, 29 Aug 2018 11:48:12 +0000 (14:48 +0300)]
SALOME 9.1.0 Windows version

5 years agoFix for GEOM - SMESH test
Ovidiu Mircescu [Fri, 7 Sep 2018 08:17:37 +0000 (10:17 +0200)]
Fix for GEOM - SMESH test

The test testExecForEachGeoMesh.py needs GEOM and SMESH modules and it cannot be
passed in the build environment. Therefore, it is no longer passed in the build
environment (make test), but it is still passed with "salome test".

5 years agoPython test of Plugin using generated libExampleOfObserversPluginForDriver.so
Anthony Geay [Wed, 5 Sep 2018 14:58:15 +0000 (16:58 +0200)]
Python test of Plugin using generated libExampleOfObserversPluginForDriver.so

5 years agoObserver using plugins through python
Anthony Geay [Wed, 5 Sep 2018 14:53:06 +0000 (16:53 +0200)]
Observer using plugins through python

5 years agoadd a test of parallel geometry and meshing in a foreachloop SHAPER_V9_1_0RC1
Paul RASCLE [Wed, 29 Aug 2018 14:47:48 +0000 (16:47 +0200)]
add a test of parallel geometry and meshing in a foreachloop

5 years agoreplace execfile by its python3 equivalent
Paul RASCLE [Wed, 22 Aug 2018 12:28:27 +0000 (14:28 +0200)]
replace execfile by its python3 equivalent

5 years agoRevert 011a564 -- 0023581: [CEA 2262] : Syntax error in XML tag
eap [Tue, 21 Aug 2018 13:53:47 +0000 (16:53 +0300)]
Revert 011a564 -- 0023581: [CEA 2262] : Syntax error in XML tag

The error in XML tag is intentional, to check that an exception is raised

5 years agoDetect sphinx theme directly in conf.py.in file
rnv [Thu, 9 Aug 2018 16:40:59 +0000 (19:40 +0300)]
Detect sphinx theme directly in conf.py.in file

5 years ago0023581: [CEA 2262] : Syntax error in XML tag
vsr [Fri, 3 Aug 2018 08:00:28 +0000 (11:00 +0300)]
0023581: [CEA 2262] : Syntax error in XML tag

5 years agoEDF17470 : non regression test
Anthony Geay [Fri, 20 Jul 2018 10:05:06 +0000 (12:05 +0200)]
EDF17470 : non regression test

5 years agoFix requested number of nodes forced to 1 in YFX.
Ovidiu Mircescu [Fri, 13 Jul 2018 14:53:51 +0000 (16:53 +0200)]
Fix requested number of nodes forced to 1 in YFX.

5 years agoUse std::getenv instead of dirty python scam.
Ovidiu Mircescu [Thu, 12 Jul 2018 15:14:18 +0000 (17:14 +0200)]
Use std::getenv instead of dirty python scam.

5 years agoNone value on pyobj input port.
Ovidiu Mircescu [Fri, 6 Jul 2018 12:54:07 +0000 (14:54 +0200)]
None value on pyobj input port.

5 years agopy2yacs fixes.
Ovidiu Mircescu [Wed, 27 Jun 2018 09:03:13 +0000 (11:03 +0200)]
py2yacs fixes.

5 years agoFix the python version of py2yacs.
Ovidiu Mircescu [Tue, 19 Jun 2018 08:23:23 +0000 (10:23 +0200)]
Fix the python version of py2yacs.

5 years agoMerge V9_dev branch into master
rnv [Thu, 7 Jun 2018 12:54:04 +0000 (15:54 +0300)]
Merge V9_dev branch into master

5 years ago[EDF17047] : Py3 porting of PyParse_Tuple V9_dev
Anthony Geay [Mon, 4 Jun 2018 13:22:50 +0000 (15:22 +0200)]
[EDF17047] : Py3 porting of PyParse_Tuple

5 years agoMerge branch 'V8_5_BR'
vsr [Thu, 31 May 2018 14:57:37 +0000 (17:57 +0300)]
Merge branch 'V8_5_BR'

6 years agoIncrement version: 8.5.0 V8_5_0 V8_5_0rc1 V8_5_0rc2
vsr [Fri, 20 Apr 2018 06:27:59 +0000 (09:27 +0300)]
Increment version: 8.5.0

6 years agoVisitor for AbstractPoint
Anthony Geay [Wed, 4 Apr 2018 08:57:24 +0000 (10:57 +0200)]
Visitor for AbstractPoint

6 years agoAdd SetOfPoints in the python API
Anthony Geay [Tue, 3 Apr 2018 14:46:51 +0000 (16:46 +0200)]
Add SetOfPoints in the python API

6 years agoRedesign SALOME documentation V8_5_0b1
rnv [Fri, 15 Dec 2017 09:21:01 +0000 (12:21 +0300)]
Redesign SALOME documentation

6 years agoUpdate default wckey for EDF HPC. V8_5_0a2
Ovidiu Mircescu [Tue, 13 Mar 2018 09:53:07 +0000 (10:53 +0100)]
Update default wckey for EDF HPC.

6 years agoAdd some details on documentation.
Ovidiu Mircescu [Fri, 9 Mar 2018 09:08:44 +0000 (10:08 +0100)]
Add some details on documentation.

6 years agoPreserve the precision of the result in idefix.
Ovidiu Mircescu [Wed, 7 Mar 2018 12:38:23 +0000 (13:38 +0100)]
Preserve the precision of the result in idefix.

6 years agoWhat !!! V8_5_0a1
Anthony Geay [Mon, 26 Feb 2018 10:35:58 +0000 (11:35 +0100)]
What !!!

6 years agonode weight documentation tlr/playground_optimization
Lauffenburger Thomas [Wed, 31 Jan 2018 15:50:45 +0000 (16:50 +0100)]
node weight documentation

6 years agosometimes, YacsLoaderTest_swig fails prematurely: give some time to ensure echoSrv...
Paul RASCLE [Sat, 27 Jan 2018 18:49:11 +0000 (19:49 +0100)]
sometimes, YacsLoaderTest_swig fails prematurely: give some time to ensure echoSrv is properly started before test

6 years agosmall mistake in [EDF15946]
Lauffenburger Thomas [Wed, 24 Jan 2018 09:45:14 +0000 (10:45 +0100)]
small mistake in [EDF15946]

6 years agofix YacsPMMLBasicsTest: problem of convertPyObjectToString in TypeConversions.cxx V9_0_0
Paul RASCLE [Tue, 16 Jan 2018 20:12:13 +0000 (21:12 +0100)]
fix YacsPMMLBasicsTest: problem of convertPyObjectToString in TypeConversions.cxx
The solution is not clear.
TODO: A better understanding of what to do is necessary
Do we need a separate treatment for string (maybe with bad encoding?) and other types of PyObject
Do we need str() or repr() and what are the possible causes of failure of str() ?

6 years agofix YacsLoaderTest_swig: abort at the end of python -m unittest discover, in runUnitT...
Paul RASCLE [Sat, 13 Jan 2018 13:44:54 +0000 (14:44 +0100)]
fix YacsLoaderTest_swig: abort at the end of python -m unittest discover, in runUnitTests.sh.
test15 in testSaveLadRun.py leads to a decrement on ref count visible only at the end on garbage collection.
The decrement is visible on PythonNode.cxx when activating trace with _DEVDEBUG_.
The decrement is related to the use of get() on output port instead of getPyObj() (see comment on PythonPorts.hxx).
Should we remove the use of get() in SWIG or correct it in SWIG ?
Use of get() as it is in Python leads to a potential abort later...

6 years agomerge V9_dev ngr/fix_swig_on_py3_WIP
Paul RASCLE [Fri, 12 Jan 2018 08:47:33 +0000 (09:47 +0100)]
merge V9_dev

6 years agotransform std::string in python3 string with PyUnicode_FromString instead of PyBytes_...
Paul RASCLE [Fri, 12 Jan 2018 08:09:41 +0000 (09:09 +0100)]
transform std::string in python3 string with PyUnicode_FromString instead of PyBytes_FromString

6 years agofix DistributedPythonNode input an output serialization via CORBA
Paul RASCLE [Wed, 10 Jan 2018 22:43:48 +0000 (23:43 +0100)]
fix DistributedPythonNode input an output serialization via CORBA

6 years agopython 2 to 3
Paul RASCLE [Mon, 8 Jan 2018 14:08:13 +0000 (15:08 +0100)]
python 2 to 3

6 years agoPyBytes_FromString to PyUnicodeFromString
Paul RASCLE [Sun, 7 Jan 2018 22:27:05 +0000 (23:27 +0100)]
PyBytes_FromString to PyUnicodeFromString

6 years agodebug YACS tests. int ant longint are the same in Python 3
Paul RASCLE [Sun, 7 Jan 2018 15:03:29 +0000 (16:03 +0100)]
debug YACS tests. int ant longint are the same in Python 3

6 years agotry fix REFCOUNT_TEMPLATE...
Paul RASCLE [Wed, 3 Jan 2018 21:15:03 +0000 (22:15 +0100)]
try fix REFCOUNT_TEMPLATE...

6 years agoPlayground documentation
Lauffenburger Thomas [Thu, 4 Jan 2018 14:18:09 +0000 (15:18 +0100)]
Playground documentation

6 years agoMerge branch 'master' into tlr/playground_optimization
Lauffenburger Thomas [Thu, 4 Jan 2018 08:16:37 +0000 (09:16 +0100)]
Merge branch 'master' into tlr/playground_optimization

6 years ago[EDF15946] bug with playground when nb of cores is small
Lauffenburger Thomas [Wed, 3 Jan 2018 15:16:56 +0000 (16:16 +0100)]
[EDF15946] bug with playground when nb of cores is small

6 years agoMerge remote-tracking branch 'origin/master' into V9_dev
rnv [Thu, 28 Dec 2017 15:33:39 +0000 (18:33 +0300)]
Merge remote-tracking branch 'origin/master' into V9_dev

6 years agoMerge V8_4_BR branch.
rnv [Wed, 13 Dec 2017 09:19:29 +0000 (12:19 +0300)]
Merge V8_4_BR branch.

6 years agoDisable py2yacs test. V8_4_BR omu/fix84rc3 V8_4_0 V8_4_0rc4
Ovidiu Mircescu [Mon, 4 Dec 2017 12:22:15 +0000 (13:22 +0100)]
Disable py2yacs test.

This test needs a running salome session. It should be put back after salome v8.4.