Salome HOME
modules/yacs.git
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.

6 years agoUse a new container when creating a schema whith py2yacs.
Ovidiu Mircescu [Wed, 29 Nov 2017 17:18:32 +0000 (18:18 +0100)]
Use a new container when creating a schema whith py2yacs.

6 years agoMerge branch 'agy/EDF15828'
Anthony Geay [Mon, 27 Nov 2017 14:24:07 +0000 (15:24 +0100)]
Merge branch 'agy/EDF15828'

6 years agoYDFX gives to the pyscript nodes into study function the ___idx___ var to identify...
Anthony Geay [Thu, 23 Nov 2017 16:09:59 +0000 (17:09 +0100)]
YDFX gives to the pyscript nodes into study function the ___idx___ var to identify id into the design of experiments

6 years agoUse a new container instead of the default one in py2yacs.
Ovidiu Mircescu [Thu, 23 Nov 2017 16:44:51 +0000 (17:44 +0100)]
Use a new container instead of the default one in py2yacs.

6 years agoNew capability of Executor to suspend/resume in a consistent state
Anthony Geay [Fri, 10 Nov 2017 06:27:51 +0000 (07:27 +0100)]
New capability of Executor to suspend/resume in a consistent state

6 years agoSWIG : Looking for a fix of REFCOUNT_TEMPLATE swigging...
Nicolas Geimer [Wed, 4 Oct 2017 12:10:26 +0000 (14:10 +0200)]
SWIG : Looking for a fix of REFCOUNT_TEMPLATE swigging...

6 years agoIncrement version: 8.4.0 cbr/crowdin_V8_4_BR V8_4_0b1 V8_4_0rc1 V8_4_0rc2 V8_4_0rc3
vsr [Tue, 3 Oct 2017 08:19:15 +0000 (11:19 +0300)]
Increment version: 8.4.0

6 years agoMerge branch 'tlr/playground_optimization'
Ovidiu Mircescu [Fri, 22 Sep 2017 13:07:23 +0000 (15:07 +0200)]
Merge branch 'tlr/playground_optimization'

6 years agofiles forgotten on previous comit
Lauffenburger Thomas [Mon, 18 Sep 2017 14:10:03 +0000 (16:10 +0200)]
files forgotten on previous comit

6 years agoOptimized algo for PlayGround
Lauffenburger Thomas [Tue, 1 Aug 2017 09:06:05 +0000 (11:06 +0200)]
Optimized algo for PlayGround

6 years agoMerge master branch into V9_dev
rnv [Fri, 18 Aug 2017 15:29:09 +0000 (18:29 +0300)]
Merge master branch into V9_dev

6 years agoNew Py2YacsDialog using PyEditor_Window. V8_4_0a1 V8_4_0a2
Ovidiu Mircescu [Wed, 16 Aug 2017 15:12:46 +0000 (17:12 +0200)]
New Py2YacsDialog using PyEditor_Window.

6 years agoFix crushing when asking the error report in ydefx.
Ovidiu Mircescu [Fri, 11 Aug 2017 08:18:05 +0000 (10:18 +0200)]
Fix crushing when asking the error report in ydefx.

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

6 years agocleaning useless part of algo
Lauffenburger Thomas [Mon, 31 Jul 2017 12:26:59 +0000 (14:26 +0200)]
cleaning useless part of algo

6 years agounderload is better than overload (because elementary nodes are counted here)
Lauffenburger Thomas [Fri, 28 Jul 2017 13:20:40 +0000 (15:20 +0200)]
underload is better than overload (because elementary nodes are counted here)

6 years agoFix compil errors from merge of omu/py2yacsgui
Nicolas Geimer [Wed, 26 Jul 2017 15:02:42 +0000 (17:02 +0200)]
Fix compil errors from merge of omu/py2yacsgui

6 years agoMinor fixes to ResourceWidget
Ovidiu Mircescu [Fri, 21 Jul 2017 13:49:16 +0000 (15:49 +0200)]
Minor fixes to ResourceWidget

Add a scrollbar.
Modify some default values.

6 years agoFix compilation error with Python 3.
rnv [Thu, 20 Jul 2017 13:54:01 +0000 (16:54 +0300)]
Fix compilation error with Python 3.

6 years agoMerge remote-tracking branch 'origin/master' into V9_dev
rnv [Thu, 20 Jul 2017 13:34:05 +0000 (16:34 +0300)]
Merge remote-tracking branch 'origin/master' into V9_dev

6 years agoFix compilation error.
rnv [Thu, 20 Jul 2017 13:33:22 +0000 (16:33 +0300)]
Fix compilation error.

6 years agoMerge branch 'master' into V9_dev
rnv [Thu, 20 Jul 2017 09:01:58 +0000 (12:01 +0300)]
Merge branch 'master' into V9_dev

6 years agoMerge branch 'omu/py2yacsgui'
Ovidiu Mircescu [Tue, 11 Jul 2017 11:35:20 +0000 (13:35 +0200)]
Merge branch 'omu/py2yacsgui'

6 years agoAdd a generic widget for choosing resource parameters. omu/py2yacsgui
Ovidiu Mircescu [Tue, 11 Jul 2017 09:42:21 +0000 (11:42 +0200)]
Add a generic widget for choosing resource parameters.

6 years agoMake YDFXGUI not segmentation fault
Anthony Geay [Fri, 7 Jul 2017 09:57:15 +0000 (11:57 +0200)]
Make YDFXGUI not segmentation fault

6 years agoRemove unnecessary debug messages
Nicolas Geimer [Thu, 6 Jul 2017 13:07:44 +0000 (15:07 +0200)]
Remove unnecessary debug messages

6 years ago[PY3] disabling debug for this file
Nicolas Geimer [Fri, 30 Jun 2017 13:56:52 +0000 (15:56 +0200)]
[PY3] disabling debug for this file

6 years ago[PY3] Still porting test...
Nicolas Geimer [Fri, 30 Jun 2017 13:55:53 +0000 (15:55 +0200)]
[PY3] Still porting test...

6 years agoMerge Python 3 porting.
rnv [Thu, 22 Jun 2017 16:45:01 +0000 (19:45 +0300)]
Merge Python 3 porting.

6 years ago[PY3] Fixing test in progress ngr/python3_dev Before_python3_27062017
Nicolas Geimer [Wed, 14 Jun 2017 15:32:16 +0000 (17:32 +0200)]
[PY3] Fixing test in progress

6 years agoMerge multi-study removal branch.
rnv [Tue, 13 Jun 2017 10:01:34 +0000 (13:01 +0300)]
Merge multi-study removal branch.

6 years agoMerge branch 'master' of https://git.salome-platform.org/git/modules/yacs
Ovidiu Mircescu [Fri, 9 Jun 2017 12:32:45 +0000 (14:32 +0200)]
Merge branch 'master' of https://git.salome-platform.org/git/modules/yacs

6 years agoFix a pb with recursively redundant links
Lauffenburger Thomas [Tue, 6 Jun 2017 07:34:52 +0000 (09:34 +0200)]
Fix a pb with recursively redundant links

Signed-off-by: Ovidiu Mircescu <ovidiu.mircescu@edf.fr>
6 years agopy2yacsgui now produces an xml file on exit.
Ovidiu Mircescu [Fri, 9 Jun 2017 11:53:42 +0000 (13:53 +0200)]
py2yacsgui now produces an xml file on exit.

6 years agoPorting Python3: Decode strings
Gilles DAVID [Tue, 6 Jun 2017 12:40:23 +0000 (14:40 +0200)]
Porting Python3: Decode strings

6 years agoAttempt to correct pb detected with swig3.0.8 on FED24 Before_multi_study_removal_06072017
Anthony Geay [Fri, 2 Jun 2017 05:58:32 +0000 (07:58 +0200)]
Attempt to correct pb detected with swig3.0.8 on FED24

6 years agoRNV: add missing <limits> header.
Roman NIKOLAEV [Thu, 1 Jun 2017 12:31:20 +0000 (15:31 +0300)]
RNV: add missing <limits> header.

6 years agoPython 3 porting
Gilles DAVID [Wed, 31 May 2017 06:35:02 +0000 (08:35 +0200)]
Python 3 porting

6 years agoPython 3: porting tests
Gilles DAVID [Wed, 31 May 2017 06:34:29 +0000 (08:34 +0200)]
Python 3: porting tests

6 years agoMerge branch 'V8_3_BR' into ngr/python3_dev
Gilles DAVID [Tue, 30 May 2017 13:40:11 +0000 (15:40 +0200)]
Merge branch 'V8_3_BR' into ngr/python3_dev

6 years agoMerge V8_3_BR & rnv/win_swig_generation branches
rnv [Tue, 30 May 2017 10:12:54 +0000 (13:12 +0300)]
Merge V8_3_BR & rnv/win_swig_generation branches

6 years agoMerge branch 'rnv/win_swig_generation' of salome:modules/yacs into rnv/win_swig_gener... rnv/win_swig_generation
rnv [Tue, 30 May 2017 08:40:27 +0000 (11:40 +0300)]
Merge branch 'rnv/win_swig_generation' of salome:modules/yacs into rnv/win_swig_generation

6 years agoImprove swig generation process on Windows platform.
rnv [Tue, 4 Apr 2017 12:00:31 +0000 (15:00 +0300)]
Improve swig generation process on Windows platform.

7 years agooptparse => argparse
Gilles DAVID [Wed, 24 May 2017 11:39:00 +0000 (13:39 +0200)]
optparse => argparse

7 years agoMerge branch 'master' of https://git.salome-platform.org/git/modules/yacs
Anthony Geay [Wed, 24 May 2017 05:47:22 +0000 (07:47 +0200)]
Merge branch 'master' of https://git.salome-platform.org/git/modules/yacs

7 years agoStill a problem with forward
Anthony Geay [Wed, 24 May 2017 05:47:13 +0000 (07:47 +0200)]
Still a problem with forward

7 years agoPython3: print => print()
Gilles DAVID [Mon, 22 May 2017 13:53:20 +0000 (15:53 +0200)]
Python3: print => print()

7 years agoFix test HPDecorator.
Ovidiu Mircescu [Tue, 16 May 2017 12:29:31 +0000 (14:29 +0200)]
Fix test HPDecorator.

7 years agoadd the new attribut weight in xml
Lauffenburger Thomas [Fri, 12 May 2017 14:34:00 +0000 (16:34 +0200)]
add the new attribut weight in xml

Signed-off-by: Ovidiu Mircescu <ovidiu.mircescu@edf.fr>
7 years agoFor non regression tests. RuntimeSALOME::createContainer returns a thisowned pointer
Anthony Geay [Fri, 12 May 2017 11:36:31 +0000 (13:36 +0200)]
For non regression tests. RuntimeSALOME::createContainer returns a thisowned pointer

7 years agoCorrection of bug detected by the boss
Anthony Geay [Fri, 12 May 2017 08:58:09 +0000 (10:58 +0200)]
Correction of bug detected by the boss

7 years agotest2 has been desactivated waiting for a dedicated base test to address multi nodes...
Anthony Geay [Wed, 10 May 2017 07:56:33 +0000 (09:56 +0200)]
test2 has been desactivated waiting for a dedicated base test to address multi nodes cases

7 years ago[EDF12520] : Optimization of placements of Kernel containers in ForEachLoop/HP Contai...
Anthony Geay [Tue, 14 Mar 2017 08:01:47 +0000 (09:01 +0100)]
[EDF12520] : Optimization of placements of Kernel containers in ForEachLoop/HP Container containers context

7 years ago[PY3] Fix appels à xrange dans les schéma xml et scripts python
Gilles DAVID [Tue, 2 May 2017 17:02:40 +0000 (19:02 +0200)]
[PY3] Fix appels à xrange dans les schéma xml et scripts python

7 years ago[PY3] Fix appels à print dans les schéma xml et scripts python
Gilles DAVID [Tue, 2 May 2017 17:01:44 +0000 (19:01 +0200)]
[PY3] Fix appels à print dans les schéma xml et scripts python

7 years ago[PY3] Convert py2yacs into Python3
Gilles DAVID [Tue, 2 May 2017 16:16:04 +0000 (18:16 +0200)]
[PY3] Convert py2yacs into Python3

7 years agoUpdate copyrights in the documentation. V8_3_BR V8_3_0 V8_3_0rc4 V8_3_0rc5 V8_3_0rc6
rnv [Fri, 28 Apr 2017 13:26:36 +0000 (16:26 +0300)]
Update copyrights in the documentation.

7 years agoAdd py2yacsgui.
Ovidiu Mircescu [Fri, 28 Apr 2017 08:56:05 +0000 (10:56 +0200)]
Add py2yacsgui.

7 years agoMerge branch 'master' into V8_3_BR V8_3_0rc3
rnv [Mon, 24 Apr 2017 15:47:18 +0000 (18:47 +0300)]
Merge branch 'master' into V8_3_BR

7 years agoPython is no longer initialized by YACSEvalSession.
Ovidiu Mircescu [Fri, 21 Apr 2017 13:33:38 +0000 (15:33 +0200)]
Python is no longer initialized by YACSEvalSession.

Python initialization has to be done outside the YACSevalYFX lib.

7 years agoFix undefined reference when using idefix as a library.
Ovidiu Mircescu [Fri, 21 Apr 2017 13:18:23 +0000 (15:18 +0200)]
Fix undefined reference when using idefix as a library.

We had the following error when linking against YACSevalYFX library:
undefined reference to `YACSEvalSeqAnyInternal<double>::size() const

7 years ago[PY3] Runtime tests ok / _DEVDEBUG_ ok
Nicolas Geimer [Thu, 20 Apr 2017 16:35:58 +0000 (18:35 +0200)]
[PY3] Runtime tests ok / _DEVDEBUG_ ok

7 years ago[PYTHON3] Compatibility with Python 3.4
Gilles DAVID [Thu, 20 Apr 2017 14:59:51 +0000 (16:59 +0200)]
[PYTHON3] Compatibility with Python 3.4

7 years ago[PYTHON 3] WIP
Nicolas Geimer [Tue, 18 Apr 2017 12:47:11 +0000 (14:47 +0200)]
[PYTHON 3] WIP

7 years agoMerge branch 'rnv/win_swig_generation' of salome:modules/yacs into rnv/win_swig_gener...
rnv [Fri, 7 Apr 2017 14:15:52 +0000 (17:15 +0300)]
Merge branch 'rnv/win_swig_generation' of salome:modules/yacs into rnv/win_swig_generation

7 years agoImprove swig generation process on Windows platform.
rnv [Tue, 4 Apr 2017 12:00:31 +0000 (15:00 +0300)]
Improve swig generation process on Windows platform.

7 years agoIncrement version: 8.3.0 V8_3_0rc1 V8_3_0rc2
rnv [Fri, 7 Apr 2017 12:29:35 +0000 (15:29 +0300)]
Increment version: 8.3.0

7 years agoImprove swig generation process on Windows platform.
rnv [Tue, 4 Apr 2017 12:00:31 +0000 (15:00 +0300)]
Improve swig generation process on Windows platform.

7 years agoWindows compatibility.
rnv [Fri, 31 Mar 2017 07:15:27 +0000 (10:15 +0300)]
Windows compatibility.