From: bri Date: Mon, 10 Feb 2014 14:37:19 +0000 (+0400) Subject: the files : build.sh env_build.sh env_siman.sh env_products_mandriva-2010-64.sh INSTA... X-Git-Tag: V1_0_0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=82f4efbe04c4c97d0a0572fa7e12a2bd76f26712;p=tools%2Fsimanio.git the files : build.sh env_build.sh env_siman.sh env_products_mandriva-2010-64.sh INSTALL_Applications.txt siman_build.sh env_build_mandiva-2010-64.sh env_products.sh README have been removed and replaced with basic ones from standard SALOME installation because SIMANIO and SIMAN are included in SALOME 7.3.0 dictribution --- diff --git a/scripts/INSTALL_Applications.txt b/scripts/INSTALL_Applications.txt deleted file mode 100644 index a104797..0000000 --- a/scripts/INSTALL_Applications.txt +++ /dev/null @@ -1,107 +0,0 @@ - -Eficasv1 (TOOL) -=============== -tar xfz Eficasv1_SRC.tgz -cd -cmake /path/to/Eficasv1_SRC -DWITH_ALL_PACKAGES=ON -DCMAKE_INSTALL_PREFIX= -nb_cpu=`grep -c processor /proc/cpuinfo` -make -j ${nb_cpu} -make install - -Set EFICAS_ROOT to /path/to/install/Eficasv1 - - -EFICAS (MODULE used by SALOME_MECA) -=================================== -tar xfz EFICAS_SRC.tgz -cd EFICAS_SRC -./build_configure -cd -/path/to/EFICAS_SRC/configure --prefix= -nb_cpu=`grep -c processor /proc/cpuinfo` -make -j ${nb_cpu} -make install - -Set EFICAS_ROOT_DIR to /path/to/install/EFICAS - -Edit SalomeApp.xml to add EFICAS module: - - - -CODE_ASTER (TOOL) -================= -0. Prerequisites -flex, bison, zlib1g-dev, libmotif4-dev - -1. Download CODE_ASTER v11.3 -http://www.code-aster.org/FICHIERS/aster-full-src-11.3.0-3.noarch.tar.gz - -2. Go into extracted folder - -3. Create a configuration file for CODE_ASTER (copy setup.cfg file) and add the following: -import os -MATHLIB = '-L '+os.getenv('LAPACK_DIR') + '/lib -lblas -llapack' - -4. Prepare your environment -Check that LAPACK_DIR environment variable is set on your system. - -5. Build CODE_ASTER -python setup.py install --nocache --noprompt --cfg= --prefix= - - -ASTER_MODULE -============ -tar xfz SALOME_MECA_SRC.tgz -cd SALOME_MECA_SRC -python setup.py install --prefix= - -Set ASTER_ROOT_DIR to /path/to/install/SALOME_MECA - -Edit SalomeApp.xml to add ASTER module: - - - - - -CODE_SYRTHES (TOOL) -=================== -tar xfz CODE_SYRTHES_SRC.tgz -cd CODE_SYRTHES_SRC/src/syrthes-install -python syrthes_install.py -cd CODE_SYRTHES_SRC/src/syrthes-gui/src -./Install.sh -cp -r install/* - -source /path/to/CODE_SYRTHES_SRC/arch/Linux_x86_64/bin/syrthes.profile -Add /path/to/install/CODE_SYRTHES to PYTHONPATH - - -MODULE_SYRTHES -============== -tar xfz MODULE_SYRTHES_SRC.tgz -cd MODULE_SYRTHES_SRC - -Edit context.py to set path to salome prerequisites - -cd MODULE_SYRTHES_SRC && python components.py -cd MODULE_SYRTHES_SRC/SYRTHES_SRC -./autogen.sh - -cd -MODULE_SYRTHES_SRC/SYRTHES_SRC/configure --prefix= -nb_cpu=`grep -c processor /proc/cpuinfo` -make -j ${nb_cpu} -make install -cp SYRTHES.py /path/to/install/MODULE_SYRTHES/lib/python2.X/site-packages/salome/SYRTHES.py - -Set SYRTHES_ROOT_DIR to /path/to/install/MODULE_SYRTHES - -Edit SalomeApp.xml to add SYRTHES module: - - - - - -Running SALOME -============== -Consider modules named EFICAS, ASTER and SYRTHES when starting SALOME. diff --git a/scripts/README b/scripts/README deleted file mode 100644 index d26b964..0000000 --- a/scripts/README +++ /dev/null @@ -1,73 +0,0 @@ -How to get and build SALOME-SIMAN code - -1. Take SALOME-SIMAN code from CVS repository for SIMAN. -and the following modules "KERNEL GUI GEOM MED SMESH PYHELLO" like this - -cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/SIMAN checkout SIMANIO_SRC -cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/KERNEL checkout -r KERNEL_SRC -cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/GUI checkout -r GUI_SRC -cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/GEOM checkout -r GEOM_SRC -cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/MED checkout -r MED_SRC -cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/SMESH checkout -r SMESH_SRC -cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/EXAMPLES checkout -r PYHELLO1_SRC -(rename the directory PYHELLO1_SRC to PYHELLO_SRC) - -where is : -"BR_siman_phase1" if you are based on SALOME 6.5.0 -"V7_siman" if you are based on SALOME 7.X - -2. Copy the required WSO2 Web Services product : copy the folder wso2-wsf-cpp-2.1.0 (including source and binary build for correspondent target platforms) from SALOME-SIMAN binary delivery to the current build directory. -You can also build this product using provided product sources and documentation. - -3. Copy the required scripts from SIMANIO_SRC/scripts directory to root directory (../..) and adjust them as necessary, including setting the run permissions -build.sh - SALOME build script -env_build.sh - SALOME build environment -env_products.sh - SALOME run environment -env_build_mandiva-2010-64.sh - SALOME build environment for Mandriva 2010-64 -env_products_mandriva-2010-64.sh - SALOME run environment for Mandriva 2010-64 -README - this file -env_siman.sh - SIMAN (SIMANIO) build environment -siman_build.sh - SIMAN (SIMANIO) build script -castem_env_products.sh - CASTEM run environment -eficas_aster_env_products.sh - EFICAS & ASTER run environment -syrthes_env_products.sh - SYRTHES run environment -run_salome_siman.sh - the script used by SIMAN for SALOME running in the SIMAN mode - -For Mandriva 2010-64 rename and use env_build_mandiva-2010-64.sh env_products_mandriva-2010-64.sh. -This README file is also delivered in SIMANIO_SRC/scripts directory - -4. Build SIMANIO_SRC using these scripts as following : -. env_siman.sh -./siman_build.sh - -5. Then build other required SALOME modules in usual manner -for example, using the scripts provided with offical SALOME installation (env_build.sh, env_products.sh, build.sh) - -Note : -To build SALOME in the mode with SIMAN the SIMANIO_ROOT_DIR variable has to be defined and points to directory containing the include files and the preliminarily built SIMANIO library. -It is used by configure in the conditional WITH_SIMANIO and CHECK_SIMANIO m4 check procedure. - -The setting the SIMANIO_ROOT_DIR variable is provided by executing (. env_siman.sh) on the previous step and it is enough to build properly SALOME KERNEL with SIMAN. - -It can be also achieved by usage of the configure option --with-simanio=$SIMANIO_ROOT_DIR. - -Additionally the following SALOME modules (not currently impacted with SIMAN changes) can be also built to using in SIMAN project test cases. -"VISU PARAVIS YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN" - -6. If necessary, build CASTEM SALOME module in usual manner -Use modified CASTEM_SRC codes include necessary updates of script scripts (e0_donnees.py, CASTEM.py) -Set proper value of CASTEM solver binaries location in e0_donnees.py, for example -castem_exe = modele("castem_exe" , "/data/SIMAN/_CEA_V7_siman_6.6.0/castem10/bin/castem10") - -7. If necessary, build and configure EFICAS, ASTER and SYRTHES SALOME modules and the tools used by them : -Eficasv1 (TOOL), EFICAS (MODULE used by SALOME_MECA), CODE_ASTER (TOOL), ASTER_MODULE and CODE_SYRTHES (TOOL), MODULE_SYRTHES -in usual manner as described in INSTALL_Applications.txt by Cedric AGUERRE, EDF R&D. - -8. Set SALOME runtime environment and Check runnability of SALOME in two modes - without and with SIMAN : -. env_siman.sh -. castem_env_products.sh (if necessary) -. eficas_aster_env_products.sh (if necessary) -. syrthes_env_products.sh (if necessary) -runSalome -runSalome --siman - diff --git a/scripts/build.sh b/scripts/build.sh deleted file mode 100644 index 07a96c9..0000000 --- a/scripts/build.sh +++ /dev/null @@ -1,475 +0,0 @@ -#!/bin/bash -noprofile - -#################################################################################### -# File : build.sh -# Created : Thu Jan 27 09:50:55 2005 -# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) -# Project : SALOME -# Module : Installation Wizard -# Copyright : 2002-2012 CEA -# -# This script is the part of the SALOME installation procedure. -# -# This script can be used to build and install SALOME modules from sources. -# Try build.sh -h for more details about usage. -# -#################################################################################### - -############################################################### -# Prints usage information and exits -############################################################### -usage(){ - echo "" - echo "Description:" - echo " Builds given SALOME modules by performing make and " - echo " make install commands" - echo "" - echo "Usage:" - echo " build.sh [