Salome HOME
modules/kernel.git
10 years agoCMake - Add new macros:
mpa [Tue, 29 Oct 2013 06:36:12 +0000 (06:36 +0000)]
CMake - Add new macros:
- Accumulate environment variables, to be used later to run some command in proper environment.
- Generate environement script using previously created variables.

10 years agoCMake:
mpa [Tue, 29 Oct 2013 06:33:34 +0000 (06:33 +0000)]
CMake:
- Accumulate environment variables, to be used later to run some command in proper environment.

10 years agoCMake: new macro SALOME_CONFIGURE_PREPARE() to build the list of required variables
bruneton [Mon, 28 Oct 2013 14:42:29 +0000 (14:42 +0000)]
CMake: new macro SALOME_CONFIGURE_PREPARE() to build the list of required variables
that will be expanded when configuring Salome<MODULE>Config.cmake

10 years agoCMake: fixing omniidl detection under Win32
bruneton [Mon, 28 Oct 2013 10:16:26 +0000 (10:16 +0000)]
CMake: fixing omniidl detection under Win32

10 years agoRewrite job persistence to facilitate maintainance and further evolutions
barate [Fri, 25 Oct 2013 12:54:27 +0000 (12:54 +0000)]
Rewrite job persistence to facilitate maintainance and further evolutions

10 years agoAdd macro to accumulate environment variables
vsr [Fri, 25 Oct 2013 05:40:39 +0000 (05:40 +0000)]
Add macro to accumulate environment variables

10 years agoMore correct way to specify Python backend
vsr [Fri, 25 Oct 2013 05:39:25 +0000 (05:39 +0000)]
More correct way to specify Python backend

10 years ago0022334: [CEA 952] "Sort children" sorts references as "real" children
kga [Fri, 25 Oct 2013 05:19:41 +0000 (05:19 +0000)]
0022334: [CEA 952] "Sort children" sorts references as "real" children

10 years agoRemove unnecessary graphviz libraries.
rnv [Thu, 24 Oct 2013 07:47:28 +0000 (07:47 +0000)]
Remove unnecessary graphviz libraries.

10 years agoDisable iterator debugging on window in Debug mode.
rnv [Thu, 24 Oct 2013 07:46:16 +0000 (07:46 +0000)]
Disable iterator debugging on window in Debug mode.

10 years agoCMake: rollback of previous changes
mpa [Wed, 23 Oct 2013 14:16:26 +0000 (14:16 +0000)]
CMake: rollback of previous changes

10 years agoCMake: doing proper string comparison in IF clause
bruneton [Wed, 23 Oct 2013 09:30:14 +0000 (09:30 +0000)]
CMake: doing proper string comparison in IF clause

10 years agoCMake: Fix export of tests and doc prerequisites root dirs
barate [Wed, 23 Oct 2013 08:03:56 +0000 (08:03 +0000)]
CMake: Fix export of tests and doc prerequisites root dirs

10 years agoOMNIORB_ADD_MODULE now creates a target "omniorb_module_<module>" depending on
bruneton [Tue, 22 Oct 2013 13:42:08 +0000 (13:42 +0000)]
OMNIORB_ADD_MODULE now creates a target "omniorb_module_<module>" depending on
all the files generated when processing the IDLs of the module. This can be used
to set up a depency on the header (and other files) generated by omniidl.

10 years ago-Delete REQUIRED for optional products
mpa [Mon, 21 Oct 2013 10:47:31 +0000 (10:47 +0000)]
-Delete REQUIRED for optional products

10 years agoCMake: modifying OMNIORB_ADD_MODULE macro to support dynamic build of IDL files
bruneton [Mon, 21 Oct 2013 10:03:30 +0000 (10:03 +0000)]
CMake: modifying OMNIORB_ADD_MODULE macro to support dynamic build of IDL files
in the build tree (used in PARAVIS module)

10 years agoCMake: SALOME_PACKAGE_REPORT_AND_CHECK now works if no OPTIONAL package was specified.
bruneton [Mon, 21 Oct 2013 08:57:26 +0000 (08:57 +0000)]
CMake: SALOME_PACKAGE_REPORT_AND_CHECK now works if no OPTIONAL package was specified.

10 years agoCMake: modifying OMNIORB_ADD_MODULE macro to support dynamic build of IDL files
bruneton [Mon, 21 Oct 2013 08:50:12 +0000 (08:50 +0000)]
CMake: modifying OMNIORB_ADD_MODULE macro to support dynamic build of IDL files
in the build tree (used in PARAVIS module)

10 years agoImprove make usr_docs step:
vsr [Mon, 21 Oct 2013 08:44:30 +0000 (08:44 +0000)]
Improve make usr_docs step:
- make clean cleans generated files

10 years agoImprove make dev_docs step:
vsr [Mon, 21 Oct 2013 08:28:53 +0000 (08:28 +0000)]
Improve make dev_docs step:
- It does not install anything; only generates output with doxygen
- make install installs output files generated by make dev_docs
- make clean cleans generated files

10 years ago- Add REQUIRED to optional products
mpa [Mon, 21 Oct 2013 06:12:25 +0000 (06:12 +0000)]
- Add REQUIRED to optional products
- SALOME_BUILD_DOC, SALOME_BUILD_TESTS should be independent in each module

10 years agoCorrection of include path.
akl [Fri, 18 Oct 2013 14:52:39 +0000 (14:52 +0000)]
Correction of include path.

10 years agoDetect additional libraries.
akl [Thu, 17 Oct 2013 15:24:58 +0000 (15:24 +0000)]
Detect additional libraries.

10 years agoReplace deprecated WNT macro definition by WIN32.
rnv [Thu, 17 Oct 2013 14:27:47 +0000 (14:27 +0000)]
Replace deprecated WNT macro definition by WIN32.

10 years agoAdd missing libraries and definitions on win32 platform.
rnv [Thu, 17 Oct 2013 14:25:47 +0000 (14:25 +0000)]
Add missing libraries and definitions on win32 platform.

10 years agoRefactoring of the preprocessor definitions:
rnv [Wed, 16 Oct 2013 14:29:50 +0000 (14:29 +0000)]
Refactoring of the preprocessor definitions:

1) SIZEOF_FORTRAN_INTEGER anymore is not used.
2) Move SIZEOF_INT and SIZEOF_LONG into the FindOmniOrb.cmake because it needs only for the OmniOrb for WINDOWS platforms.

Add d suffix for the OmiOrb libraries in debug for windows.

10 years agoRefactoring of the preprocessor definitions:
rnv [Wed, 16 Oct 2013 14:29:08 +0000 (14:29 +0000)]
Refactoring of the preprocessor definitions:

1) SIZEOF_FORTRAN_INTEGER anymore is not used.
2) Move SIZEOF_INT and SIZEOF_LONG into the FindOmniOrb.cmake because it needs only for the OmniOrb for WINDOWS platforms.

10 years agoWIN32 compilation.
rnv [Wed, 16 Oct 2013 14:22:54 +0000 (14:22 +0000)]
WIN32 compilation.

10 years agoWin32 compilation.
rnv [Tue, 15 Oct 2013 08:11:35 +0000 (08:11 +0000)]
Win32 compilation.

10 years agoDetect include directory and libraries.
akl [Mon, 14 Oct 2013 12:04:03 +0000 (12:04 +0000)]
Detect include directory and libraries.

10 years agointroduce addToEnviron method in API
aguerre [Mon, 14 Oct 2013 11:55:48 +0000 (11:55 +0000)]
introduce addToEnviron method in API

10 years agoLauncher persistence layer does not depend on libbatch anymore
barate [Fri, 11 Oct 2013 16:05:00 +0000 (16:05 +0000)]
Launcher persistence layer does not depend on libbatch anymore

10 years agominor imp
vsr [Fri, 11 Oct 2013 15:43:15 +0000 (15:43 +0000)]
minor imp

10 years agoMerge file Launcher_Job_Writer.cxx with class Launcher_XML_Persistence
barate [Fri, 11 Oct 2013 15:34:17 +0000 (15:34 +0000)]
Merge file Launcher_Job_Writer.cxx with class Launcher_XML_Persistence

10 years agoWIN 32 compilation.
rnv [Fri, 11 Oct 2013 13:05:49 +0000 (13:05 +0000)]
WIN 32 compilation.

10 years agoCmake: bug fix - wrong ordering of prereq reloading
bruneton [Fri, 11 Oct 2013 12:55:45 +0000 (12:55 +0000)]
Cmake: bug fix - wrong ordering of prereq reloading

10 years agoMerge from V7_siman 11/10/2013
vsr [Fri, 11 Oct 2013 12:25:31 +0000 (12:25 +0000)]
Merge from V7_siman 11/10/2013

10 years agoMove XML persistence functions from SALOME_Launcher class to a dedicated class Launch...
barate [Thu, 10 Oct 2013 15:58:04 +0000 (15:58 +0000)]
Move XML persistence functions from SALOME_Launcher class to a dedicated class Launcher::XML_Persistence

10 years agoMove VTK cmake configuration file from GUI module to the KERNEL: it is used in GEOM...
rnv [Thu, 10 Oct 2013 12:40:40 +0000 (12:40 +0000)]
Move VTK cmake configuration file from GUI module to the KERNEL: it is used in GEOM WITHOUT GUI, SMESH WITHOUT GUI, ... configurations.

10 years agoAdd definition for the 64 bits platforms.
rnv [Thu, 10 Oct 2013 12:38:49 +0000 (12:38 +0000)]
Add definition for the 64 bits platforms.

10 years agoFix compilation pb caused by previous integration
vsr [Thu, 10 Oct 2013 05:59:01 +0000 (05:59 +0000)]
Fix compilation pb caused by previous integration

10 years agoFix bug with missing libboost_filesystem library detection
vsr [Wed, 9 Oct 2013 07:39:00 +0000 (07:39 +0000)]
Fix bug with missing libboost_filesystem library detection

10 years agoFix bug with missing libboost_filesystem library detection
vsr [Wed, 9 Oct 2013 07:34:43 +0000 (07:34 +0000)]
Fix bug with missing libboost_filesystem library detection

10 years agoMinimize external dependencies: libxml is "local" dependency for KERNEL
vsr [Wed, 9 Oct 2013 06:55:05 +0000 (06:55 +0000)]
Minimize external dependencies: libxml is "local" dependency for KERNEL

10 years agoMinimize external dependencies: libxml is "local" dependency for KERNEL
vsr [Wed, 9 Oct 2013 06:46:42 +0000 (06:46 +0000)]
Minimize external dependencies: libxml is "local" dependency for KERNEL

10 years agoCMake: using SALOME_ACCUMULATE_HEADERS() to populate the complete list of includes...
bruneton [Mon, 7 Oct 2013 07:43:14 +0000 (07:43 +0000)]
CMake: using SALOME_ACCUMULATE_HEADERS() to populate the complete list of includes required by KERNEL header files.

10 years agoMoving config file to root dir
bruneton [Mon, 7 Oct 2013 07:27:10 +0000 (07:27 +0000)]
Moving config file to root dir

10 years agodiscard changes related to PortManager (development moved to branch agr_portmanager_b...
aguerre [Fri, 4 Oct 2013 16:02:47 +0000 (16:02 +0000)]
discard changes related to PortManager (development moved to branch agr_portmanager_branch_131004

10 years agoChanging socket begin_agr_portmanager_branch_131004
aguerre [Fri, 4 Oct 2013 12:27:55 +0000 (12:27 +0000)]
Changing socket

10 years agoFix
aguerre [Fri, 4 Oct 2013 08:29:55 +0000 (08:29 +0000)]
Fix

10 years agoNew approach for PortManager
aguerre [Thu, 3 Oct 2013 15:50:41 +0000 (15:50 +0000)]
New approach for PortManager

10 years agoSearch for some required boost components.
vsr [Thu, 3 Oct 2013 14:33:53 +0000 (14:33 +0000)]
Search for some required boost components.

10 years agoCMake: preparing call to new macro SALOME_ACCUMULATE_HEADERS(). Currently disabled...
bruneton [Thu, 3 Oct 2013 07:22:52 +0000 (07:22 +0000)]
CMake: preparing call to new macro SALOME_ACCUMULATE_HEADERS(). Currently disabled (waiting for COTECH decision)

10 years agoCMake: introduced flag SALOME_CMAKE_DEBUG to see the initial CMake error when
bruneton [Wed, 2 Oct 2013 12:51:10 +0000 (12:51 +0000)]
CMake: introduced flag SALOME_CMAKE_DEBUG to see the initial CMake error when
having troubles with the package detection mechanism.

10 years agoCMake: minor: modified a warning message in the detection macro (an empty reference
bruneton [Wed, 2 Oct 2013 12:44:12 +0000 (12:44 +0000)]
CMake: minor: modified a warning message in the detection macro (an empty reference
variable is now considered valid).

10 years agominor: removing debug message about PYTHON_ROOT_DIR
bruneton [Thu, 26 Sep 2013 07:03:22 +0000 (07:03 +0000)]
minor: removing debug message about PYTHON_ROOT_DIR

10 years agoCMake: Python detection was not always seting PYTHON_ROOT_DIR!
bruneton [Wed, 25 Sep 2013 07:23:42 +0000 (07:23 +0000)]
CMake: Python detection was not always seting PYTHON_ROOT_DIR!

10 years agoAdd job parameter mem_per_cpu (EDF issue #2671)
barate [Mon, 23 Sep 2013 13:29:19 +0000 (13:29 +0000)]
Add job parameter mem_per_cpu (EDF issue #2671)

10 years agoCorrection of the previous wrong commit.
rnv [Fri, 20 Sep 2013 06:21:25 +0000 (06:21 +0000)]
Correction of the previous wrong commit.

10 years agoCMake: Boost include are one directory deeper under Win32
bruneton [Thu, 19 Sep 2013 14:16:04 +0000 (14:16 +0000)]
CMake: Boost include are one directory deeper under Win32

10 years agoCMake: docutils: added "../lib64/..." to the OmniORB PYTHONPATH.
bruneton [Thu, 19 Sep 2013 07:32:58 +0000 (07:32 +0000)]
CMake: docutils: added "../lib64/..." to the OmniORB PYTHONPATH.

10 years agoSet SALOME_USE_LIBBATCH to OFF by default
vsr [Wed, 18 Sep 2013 09:53:01 +0000 (09:53 +0000)]
Set SALOME_USE_LIBBATCH to OFF by default

10 years agoCMake: windows compilation - added some missing PTHREAD_INCLUDE_DIR
bruneton [Wed, 18 Sep 2013 09:51:29 +0000 (09:51 +0000)]
CMake: windows compilation - added some missing PTHREAD_INCLUDE_DIR

10 years agoCMake: IF(WINDOWS) is deprecated - please always use IF(WIN32)
bruneton [Wed, 18 Sep 2013 09:08:52 +0000 (09:08 +0000)]
CMake: IF(WINDOWS) is deprecated - please always use IF(WIN32)

10 years agoCMake: added advanced options SALOME_BUILD_FOR_GCOV to add flags:
bruneton [Tue, 17 Sep 2013 12:25:42 +0000 (12:25 +0000)]
CMake: added advanced options SALOME_BUILD_FOR_GCOV to add flags:
    -fprofile-arcs
    -ftest-coverage
to compiler flags.

10 years agoCMake: reverting to the previous behaviour for optional prerequisites.
bruneton [Tue, 17 Sep 2013 09:37:28 +0000 (09:37 +0000)]
CMake: reverting to the previous behaviour for optional prerequisites.

If not found, we trigger the failure of the configuration. This is handled
by macros SALOME_PACKAGE_REPORT_AND_CHECK
and SALOME_LOG_OPTIONAL_PACKAGE, allowing a nice error message which indicates
what flag should be switched off to avoid the issue.

10 years agoRNV: win32 building.
ana [Fri, 13 Sep 2013 13:34:09 +0000 (13:34 +0000)]
RNV: win32  building.

10 years agoFix comment to args of GetDefaultScript()
eap [Fri, 13 Sep 2013 13:11:43 +0000 (13:11 +0000)]
Fix comment to args of GetDefaultScript()

-    string GetDefaultScript(in string theID, in string theModuleName);
+    string GetDefaultScript(in string theModuleName, in string indent);

10 years agoReplace "import geompy"
fahed [Fri, 13 Sep 2013 09:28:27 +0000 (09:28 +0000)]
Replace "import geompy"

10 years agoAutotools: Add Boost include dirs to KERNEL includes. This is needed because an expor...
barate [Fri, 13 Sep 2013 07:31:02 +0000 (07:31 +0000)]
Autotools: Add Boost include dirs to KERNEL includes. This is needed because an exported header in KERNEL depends on Boost shared pointers.

10 years agoCMake: Add Boost include dirs and definitions to KERNEL includes and definitions...
barate [Thu, 12 Sep 2013 13:27:01 +0000 (13:27 +0000)]
CMake: Add Boost include dirs and definitions to KERNEL includes and definitions. This is needed because an exported header in KERNEL depends on Boost.

10 years agoCMake: introducing KERNEL_DEFINITIONS and completing KERNEL_INCLUDE_DIRS to have
bruneton [Wed, 11 Sep 2013 08:40:19 +0000 (08:40 +0000)]
CMake: introducing KERNEL_DEFINITIONS and completing KERNEL_INCLUDE_DIRS to have
MPI. This avoids redetecting MPI in GUI. Also fixed a typo in SALOMEDSImpl.

10 years agoInstall macros FindCAS.cmake and FindSalomeCAS.cmake
barate [Mon, 9 Sep 2013 14:08:09 +0000 (14:08 +0000)]
Install macros FindCAS.cmake and FindSalomeCAS.cmake

10 years agoWindows porting by ana
eap [Mon, 9 Sep 2013 09:36:18 +0000 (09:36 +0000)]
Windows porting by ana

10 years agoGEOM porting to CMake
eap [Mon, 9 Sep 2013 09:32:41 +0000 (09:32 +0000)]
GEOM porting to CMake

Move from GUI as GEOM needs Cascade in "Without GUI" mode

10 years agoCompilation SALOME on Windows
ana [Mon, 9 Sep 2013 09:09:40 +0000 (09:09 +0000)]
Compilation SALOME on Windows

10 years agoFix system Python detection with autotools on Ubuntu 13.04
barate [Mon, 9 Sep 2013 08:15:44 +0000 (08:15 +0000)]
Fix system Python detection with autotools on Ubuntu 13.04

10 years agotest port manager
aguerre [Fri, 6 Sep 2013 16:15:42 +0000 (16:15 +0000)]
test port manager

10 years agobug fix
aguerre [Fri, 6 Sep 2013 15:26:30 +0000 (15:26 +0000)]
bug fix

10 years agoAdd port manager to ensure concurrent sessions have a unique port each.
aguerre [Fri, 6 Sep 2013 14:31:59 +0000 (14:31 +0000)]
Add port manager to ensure concurrent sessions have a unique port each.

10 years agoAdd parameter exclusive to JobParameters Python constructor BR_new_bop4
barate [Tue, 3 Sep 2013 09:10:58 +0000 (09:10 +0000)]
Add parameter exclusive to JobParameters Python constructor

10 years agoFix bug when passing port&host to salome shell
aguerre [Fri, 30 Aug 2013 12:51:53 +0000 (12:51 +0000)]
Fix bug when passing port&host to salome shell

10 years agoCMake: including Python (and hence NumPy) definitions for DSC (Calcium)
bruneton [Thu, 29 Aug 2013 12:18:42 +0000 (12:18 +0000)]
CMake: including Python (and hence NumPy) definitions for DSC (Calcium)

10 years agoRestore passing single study file as command line argument
aguerre [Wed, 28 Aug 2013 16:17:34 +0000 (16:17 +0000)]
Restore passing single study file as command line argument

10 years agoHandling Python scripts without execution permissions
aguerre [Wed, 28 Aug 2013 15:52:53 +0000 (15:52 +0000)]
Handling Python scripts without execution permissions

10 years agoAdd job parameter 'exclusive' to let the user choose to share nodes or not (EDF issue...
barate [Wed, 28 Aug 2013 15:50:30 +0000 (15:50 +0000)]
Add job parameter 'exclusive' to let the user choose to share nodes or not (EDF issue #2700)

10 years agobad text warning
cvw [Wed, 28 Aug 2013 07:45:31 +0000 (07:45 +0000)]
bad text warning

10 years agoavoid error for complicated sh line xx=`...=...`
cvw [Wed, 28 Aug 2013 07:40:32 +0000 (07:40 +0000)]
avoid error for complicated sh line xx=`...=...`

10 years agoImprove documentation for some macros SALOME_JUSTIFY_STRING() and SALOME_PACKAGE_REPO...
vsr [Tue, 27 Aug 2013 09:52:08 +0000 (09:52 +0000)]
Improve documentation for some macros SALOME_JUSTIFY_STRING() and SALOME_PACKAGE_REPORT() macros

10 years agoSmall improvement of SALOME_PACKAGE_REPORT() macro: justify package names
vsr [Tue, 27 Aug 2013 09:30:03 +0000 (09:30 +0000)]
Small improvement of SALOME_PACKAGE_REPORT() macro: justify package names

10 years agoCMake: minor bug: Python_FOUND flag was not set at all.
bruneton [Tue, 27 Aug 2013 09:14:03 +0000 (09:14 +0000)]
CMake: minor bug: Python_FOUND flag was not set at all.

10 years agoCMake: creation of the macros SALOME_UPDATE_FLAG_AND_LOG_PACKAGE() and SALOME_PACKAGE...
bruneton [Tue, 27 Aug 2013 08:57:32 +0000 (08:57 +0000)]
CMake: creation of the macros SALOME_UPDATE_FLAG_AND_LOG_PACKAGE() and SALOME_PACKAGE_REPORT().
The two are used to register optional packages and to turn off specific configuration
flags when the optional prerequisites is not found. The final setup is printed on screen through
SALOME_PACKAGE_REPORT()

10 years agoCMake: creation of the macros SALOME_UPDATE_FLAG_AND_LOG_PACKAGE() and SALOME_PACKAGE...
bruneton [Tue, 27 Aug 2013 08:45:56 +0000 (08:45 +0000)]
CMake: creation of the macros SALOME_UPDATE_FLAG_AND_LOG_PACKAGE() and SALOME_PACKAGE_REPORT().
The two are used to register optional packages and to turn off specific configuration
flags when the optional prerequisites is not found. The final setup is printed on screen through
SALOME_PACKAGE_REPORT()

10 years agoManagement of scripts+args in SALOME shell and TUI (not yet in GUI)
aguerre [Mon, 26 Aug 2013 16:11:13 +0000 (16:11 +0000)]
Management of scripts+args in SALOME shell and TUI (not yet in GUI)

10 years agoempty Noned --config and catch sys.exit(0) as normal
cvw [Fri, 23 Aug 2013 10:42:25 +0000 (10:42 +0000)]
empty Noned --config and catch sys.exit(0) as normal

10 years agoCMake build procedure improvements:
vsr [Wed, 21 Aug 2013 07:04:03 +0000 (07:04 +0000)]
CMake build procedure improvements:
- minor general improvements

10 years agoCMake build procedure improvements:
vsr [Wed, 21 Aug 2013 06:51:13 +0000 (06:51 +0000)]
CMake build procedure improvements:
- minor general improvements

10 years agoCMake build procedure improvements:
vsr [Wed, 21 Aug 2013 06:22:42 +0000 (06:22 +0000)]
CMake build procedure improvements:
- minor general improvements

10 years agoCMake build procedure improvements:
vsr [Wed, 21 Aug 2013 06:05:41 +0000 (06:05 +0000)]
CMake build procedure improvements:
- minor general improvements

10 years agoCMake build procedure improvements:
vsr [Tue, 20 Aug 2013 14:00:28 +0000 (14:00 +0000)]
CMake build procedure improvements:
- minor general improvements