Strict Standards: Declaration of action_plugin_discussion::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /sdb/f/9/blueswallow/wiki/lib/plugins/discussion/action.php on line 15

Strict Standards: Declaration of action_plugin_indexmenu::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /sdb/f/9/blueswallow/wiki/lib/plugins/indexmenu/action.php on line 126

Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /sdb/f/9/blueswallow/wiki/lib/plugins/importoldindex/action.php on line 57

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /sdb/f/9/blueswallow/wiki/lib/plugins/importoldchangelog/action.php on line 157

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parserutils.php on line 205

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parserutils.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parserutils.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parserutils.php on line 530

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /sdb/f/9/blueswallow/wiki/inc/cache.php on line 291

Deprecated: Function split() is deprecated in /sdb/f/9/blueswallow/wiki/inc/auth.php on line 154

Warning: Cannot modify header information - headers already sent by (output started at /sdb/f/9/blueswallow/wiki/lib/plugins/discussion/action.php:15) in /sdb/f/9/blueswallow/wiki/inc/auth.php on line 244

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/f/9/blueswallow/wiki/inc/auth.php on line 456

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/f/9/blueswallow/wiki/inc/auth.php on line 456

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /sdb/f/9/blueswallow/wiki/inc/auth.php on line 453

Strict Standards: Only variables should be passed by reference in /sdb/f/9/blueswallow/wiki/doku.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /sdb/f/9/blueswallow/wiki/lib/plugins/discussion/action.php:15) in /sdb/f/9/blueswallow/wiki/inc/actions.php on line 370
analyse_num:code_aster

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/parser.php on line 66

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/lexer.php on line 292

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/handler.php on line 22

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/handler.php on line 49

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/handler.php on line 213

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/handler.php on line 241

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/handler.php on line 295

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/handler.php on line 328

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/handler.php on line 575

Deprecated: Assigning the return value of new by reference is deprecated in /sdb/f/9/blueswallow/wiki/inc/parser/xhtml.php on line 939

[ analyse_num:code_aster ]





Installation de Code Aster 9.1 sur Ubuntu Feisty 7.04

Objectif: Décrire l'installation du logiciel Code Aster 9.1 sur la distribution Ubuntu Feisty 7.04.

Présentation de Code Aster: Code Aster est un logiciel libre sous licence GPL de modélisation multiphysique (thermo-mécanique, acoustique, fatigue, dynamique stochastique,…). Pour plus de renseignements, vous pouvez aller sur le site http://www.code-aster.org/.

Description de l'installation:

sudo apt-get install build-essential atlas3-base-dev python2.5-dev libg2c0-dev bison flex tk8.4 lesstif2-dev
tar xzvf aster-full-src-9.1.0-1.noarch.tar.gz
cd aster-full-src-9.1.0/
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
import os
ASTER_ROOT='/usr/local/aster'
CC='/usr/bin/gcc'
F77='/usr/bin/g77'
LD='/usr/bin/g77'
CXX='/usr/bin/g++'
LIBDIR=['/usr/lib/python2.5/config','/usr/lib/','/usr/lib/atlas']
INCLUDEDIR=['/usr/include/python2.5']
MAXDEPTH=3  
PREFER_SHARED_LIBS=False   
PREFER_64BITS_LIBS=True  
MATH_LIST=['/usr/lib/atlas/liblapack.a','/usr/lib/atlas/libblas.a','g2c']  
_install_tcl = False
_install_tk  = False
#_install_omniORB   = False
#_install_omniORBpy = False
#_install_pylotage  = False
SALOME_VERSION = 'DEFAULT'
tar xzvf SRC/aster-src-9.1.0-1.noarch.tar.gz

Editez le fichier “config.txt”:

gedit STA9.1/config.txt

Ensuite, il suffit de remplacer les deux lignes suivantes:

OPTC_D         | cc      | ?     | -c ?CFLAGS_DBG?
OPTC_O         | cc      | ?     | -c ?CFLAGS?

par:

OPTC_D | cc | ? | -c -g -DLINUX -fno-stack-protector
OPTC_O | cc | ? | -c -O2 -DLINUX -fno-stack-protector

A présent, il est nécessaire de recompresser le fichier:

tar -czf SRC/aster-src-9.1.0-1.noarch.tar.gz STA9.1/
sudo -s
python setup.py install
ln -s /usr/local/aster/ASTK/ASTK_CLIENT/bin/astk /usr/local/bin/astk

Lancement du logiciel

astk

Utilisation du logiciel

Vous pouvez trouver des exemples d'application sur les sites suivants:
http://www.code-aster.org/
http://www.caelinux.com/