Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
Hi,
Greetings to all.
I am at the final stage of compilation of code_aster 15.4 sequential version. Everything builds correctly with ./waf build command but when I try
./waf install, I get the following errors.
First I get this error.
Waf: Leaving directory `/home/anirudh/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0/build/std/release'
+ build the elements catalog elem.1 using installed aster (from cata_ele.ojb)
stdout:
stderr: Traceback (most recent call last):
File "/home/anirudh/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0/build/std/release/catalo/fort.1", line 1, in <module>
from code_aster.Commands import DEBUT, MAJ_CATA, FIN
File "/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Commands/__init__.py", line 30, in <module>
from ..Supervis import CO
File "/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Supervis/__init__.py", line 27, in <module>
from .CommandSyntax import CommandSyntax
File "/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Supervis/CommandSyntax.py", line 61, in <module>
from ..Objects import DataStructure
File "/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Objects/__init__.py", line 27, in <module>
from libaster import *
ImportError: libmed.so.11: cannot open shared object file: No such file or directory
To run manually, use:
export LD_LIBRARY_PATH="/home/anirudh/aster_15.4/15.4/lib/aster"
export PYTHONPATH="/home/anirudh/aster_15.4/15.4/lib/aster"
/usr/bin/python3 /home/anirudh/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0/build/std/release/catalo/fort.1 --memory=4096
If I do as said above I get libmed.so.11 import error:
anirudh@anirudh-Inspiron-7591:~/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0$ export LD_LIBRARY_PATH="/home/anirudh/aster_15.4/15.4/lib/aster"
anirudh@anirudh-Inspiron-7591:~/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0$ export PYTHONPATH="/home/anirudh/aster_15.4/15.4/lib/aster"
anirudh@anirudh-Inspiron-7591:~/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0$ /usr/bin/python3 /home/anirudh/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0/build/std/release/catalo/fort.1 --memory=4096
Traceback (most recent call last):
File "/home/anirudh/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0/build/std/release/catalo/fort.1", line 1, in <module>
from code_aster.Commands import DEBUT, MAJ_CATA, FIN
File "/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Commands/__init__.py", line 30, in <module>
from ..Supervis import CO
File "/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Supervis/__init__.py", line 27, in <module>
from .CommandSyntax import CommandSyntax
File "/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Supervis/CommandSyntax.py", line 61, in <module>
from ..Objects import DataStructure
File "/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Objects/__init__.py", line 27, in <module>
from libaster import *
ImportError: libmed.so.11: cannot open shared object file: No such file or directory
If I change LD_LIBRARY_PATH according to my values as below:
export LD_LIBRARY_PATH=/home/anirudh/aster_15.4/15.4/lib/aster:/usr/lib/x86_64-linux-gnu/openmpi/lib:/home/anirudh/aster_15.4/public/hdf5-1.10.3/lib:/home/anirudh/aster_15.4/public/mumps-5.2.1/lib:/home/anirudh/aster_15.4/public/metis-5.1.0/lib:/home/anirudh/aster_15.4/public/med-4.0.0/lib:/home/anirudh/aster_15.4/public/scotch-6.0.4/lib:/home/anirudh/aster_libs/parmetis-4.0.3/lib:/home/anirudh/aster_libs/petsc-3.11.4/linux-metis-mumps/lib
export PYTHONPATH=/home/anirudh/aster_15.4/public/med-4.0.0/lib/python3.8/site-packages/med:$PYTHONPATH
I get the following error:
/usr/bin/python3 /home/anirudh/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0/build/std/release/catalo/fort.1 --memory=4096
/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Commands/debut.py:94: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
libaster.jeveux_init()
Ouverture en écriture du fichier ./vola.1
<INFO> Démarrage de l'exécution.
-- CODE_ASTER -- VERSION : DÉVELOPPEMENT (unstable) --
Version 0.0.1 modifiée le 18/12/2021
révision n/a - branche 'n/a'
Copyright EDF R&D 1991 - 2021
Exécution du : Sat Dec 18 03:08:09 2021
Nom de la machine : anirudh-Inspiron-7591
Architecture : 64bit
Type de processeur : x86_64
Système d'exploitation : Linux-5.4.0-90-generic-x86_64-with-glibc2.29
Langue des messages : en (UTF-8)
Version de Python : 3.8.10
Version de NumPy : 1.17.4
Parallélisme MPI : inactif
Parallélisme OpenMP : actif
Nombre de processus utilisés : 1
Version de la librairie HDF5 : 1.10.3
Version de la librairie MED : 4.0.0
Librairie MFront : non disponible
Version de la librairie MUMPS : 5.2.1
Librairie PETSc : non disponible
Version de la librairie SCOTCH : 6.0.4
Mémoire limite pour l'exécution : 4096.00 Mo
consommée par l'initialisation : 1314.71 Mo
reste pour l'allocation dynamique : 2781.29 Mo
Taille limite des fichiers d'échange : 46.88 Go
.. _stg1_txt127
# ----------------------------------------------------------------------------------------------
# Commande #0001 de /home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Commands/debut.py, ligne 127
DEBUT(CATALOGUE=_F(FICHIER='CATAELEM',
UNITE=4),
DEBUG=_F(JEVEUX='NON',
JXVERI='NON',
SDVERI='NON',
VERI_BASE_NB=125),
ERREUR=_F(ERREUR_F='ABORT'),
IMPR_MACRO='NON',
INFO=1,
MEMOIRE=_F(TAILLE_BLOC=800.0,
TAILLE_GROUP_ELEM=1000),
MESURE_TEMPS=_F(MOYENNE='NON',
NIVE_DETAIL=1),
RESERVE_CPU=_F(BORNE=900))
starting the execution...
/home/anirudh/aster_15.4/15.4/lib/aster/code_aster/Commands/debut.py:218: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
libaster.call_debut(syntax)
Valeur initiale du temps CPU maximum = 86400 secondes
Valeur du temps CPU maximum passé aux commandes = 85500 secondes
Réserve CPU prévue = 900 secondes
Ouverture en écriture du fichier ./glob.1
Ouverture en écriture du fichier ./vola.1
NB_OBJETS LUS : 1
╔════════════════════════════════════════════════════════════════════════════════════════════════╗
║ <F> <JEVEUX_26> ║
║ ║
║ Objet inexistant dans les bases ouvertes : &CATA.TE.NOMTE ║
║ l'objet n'a pas été créé ou il a été détruit ║
║ Ce message est un message d'erreur développeur. ║
║ Contactez le support technique. ║
║ ║
║ ║
║ Cette erreur est fatale. Le code s'arrête. ║
╚════════════════════════════════════════════════════════════════════════════════════════════════╝
Traceback returned by GNU libc (last 25 stack frames):
/home/anirudh/aster_15.4/15.4/lib/aster/libbibc.so(print_trace_+0x23) [0x7fd3d48dbc93]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(utmess_core_+0x978) [0x7fd3d5db00e8]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(utmess_+0x7ec) [0x7fd3d5daf3fc]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(jelira_+0x545) [0x7fd3d54cfd95]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(lctel2_+0x45) [0x7fd3d5137005]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(lccata_+0x160) [0x7fd3d5136f60]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(ibcatc_+0x85) [0x7fd3d5136a45]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(ibcata_+0x344) [0x7fd3d5ba03f4]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(debut_+0x78) [0x7fd3d5b9c778]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_Z8call_opsP7_objecti+0x28) [0x7fd3d44f29e8]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6python7objects23caller_py_function_implINS0_6detail6callerIPFvP7_objectENS0_21default_call_policiesENS_3mpl7vector2IvS6_EEEEEclES6_S6_+0x13) [0x7fd3d44f3ba3]
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python7objects8function4callEP7_objectS4_+0x2cb) [0x7fd3d28afeab]
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(+0x2115c) [0x7fd3d28b015c]
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x6b) [0x7fd3d28b52eb]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi6EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c) [0x7fd3d453676c]
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b) [0x7fd3d28b52bb]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi5EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c) [0x7fd3d453670c]
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b) [0x7fd3d28b52bb]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi4EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c) [0x7fd3d45366ac]
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b) [0x7fd3d28b52bb]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi3EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c) [0x7fd3d453664c]
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b) [0x7fd3d28b52bb]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi2EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c) [0x7fd3d45365ec]
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b) [0x7fd3d28b52bb]
/home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi1EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c) [0x7fd3d453658c]
[anirudh-Inspiron-7591:187088] *** Process received signal ***
[anirudh-Inspiron-7591:187088] Signal: Aborted (6)
[anirudh-Inspiron-7591:187088] Signal code: (-6)
[anirudh-Inspiron-7591:187088] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7fd3d75f2210]
[anirudh-Inspiron-7591:187088] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fd3d75f218b]
[anirudh-Inspiron-7591:187088] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fd3d75d1859]
[anirudh-Inspiron-7591:187088] [ 3] /lib/x86_64-linux-gnu/libgfortran.so.5(+0x1f165)[0x7fd3d2589165]
[anirudh-Inspiron-7591:187088] [ 4] /lib/x86_64-linux-gnu/libgfortran.so.5(+0x27538d)[0x7fd3d27df38d]
[anirudh-Inspiron-7591:187088] [ 5] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(+0x1441adb)[0x7fd3d5d91adb]
[anirudh-Inspiron-7591:187088] [ 6] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(jefini_+0xbec)[0x7fd3d54c52ac]
[anirudh-Inspiron-7591:187088] [ 7] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(utmess_core_+0x9c6)[0x7fd3d5db0136]
[anirudh-Inspiron-7591:187088] [ 8] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(utmess_+0x7ec)[0x7fd3d5daf3fc]
[anirudh-Inspiron-7591:187088] [ 9] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(jelira_+0x545)[0x7fd3d54cfd95]
[anirudh-Inspiron-7591:187088] [10] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(lctel2_+0x45)[0x7fd3d5137005]
[anirudh-Inspiron-7591:187088] [11] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(lccata_+0x160)[0x7fd3d5136f60]
[anirudh-Inspiron-7591:187088] [12] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(ibcatc_+0x85)[0x7fd3d5136a45]
[anirudh-Inspiron-7591:187088] [13] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(ibcata_+0x344)[0x7fd3d5ba03f4]
[anirudh-Inspiron-7591:187088] [14] /home/anirudh/aster_15.4/15.4/lib/aster/libbibfor.so(debut_+0x78)[0x7fd3d5b9c778]
[anirudh-Inspiron-7591:187088] [15] /home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_Z8call_opsP7_objecti+0x28)[0x7fd3d44f29e8]
[anirudh-Inspiron-7591:187088] [16] /home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6python7objects23caller_py_function_implINS0_6detail6callerIPFvP7_objectENS0_21default_call_policiesENS_3mpl7vector2IvS6_EEEEEclES6_S6_+0x13)[0x7fd3d44f3ba3]
[anirudh-Inspiron-7591:187088] [17] /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python7objects8function4callEP7_objectS4_+0x2cb)[0x7fd3d28afeab]
[anirudh-Inspiron-7591:187088] [18] /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(+0x2115c)[0x7fd3d28b015c]
[anirudh-Inspiron-7591:187088] [19] /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x6b)[0x7fd3d28b52eb]
[anirudh-Inspiron-7591:187088] [20] /home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi6EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c)[0x7fd3d453676c]
[anirudh-Inspiron-7591:187088] [21] /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b)[0x7fd3d28b52bb]
[anirudh-Inspiron-7591:187088] [22] /home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi5EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c)[0x7fd3d453670c]
[anirudh-Inspiron-7591:187088] [23] /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b)[0x7fd3d28b52bb]
[anirudh-Inspiron-7591:187088] [24] /home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi4EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c)[0x7fd3d45366ac]
[anirudh-Inspiron-7591:187088] [25] /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b)[0x7fd3d28b52bb]
[anirudh-Inspiron-7591:187088] [26] /home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi3EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c)[0x7fd3d453664c]
[anirudh-Inspiron-7591:187088] [27] /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b)[0x7fd3d28b52bb]
[anirudh-Inspiron-7591:187088] [28] /home/anirudh/aster_15.4/15.4/lib/aster/libbibcxx.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionI8ErrorCppILi2EEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x1c)[0x7fd3d45365ec]
[anirudh-Inspiron-7591:187088] [29] /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x3b)[0x7fd3d28b52bb]
[anirudh-Inspiron-7591:187088] *** End of error message ***
If I use sudo with above command I get this error:
sudo /usr/bin/python3 /home/anirudh/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0/build/std/release/catalo/fort.1 --memory=4096
Traceback (most recent call last):
File "/home/anirudh/Desktop/extracts/code_aster_15.4_tip/aster-full-src-15.4.0/SRC/aster-15.4.0/build/std/release/catalo/fort.1", line 1, in <module>
PLEASE PLEASE could someone tell where I am wrong. Note that I downloaded this snapshot of code_aster from sourceforge and trying to build it myself.
The snapshot version is codeaster-src-703aca508196b74ad104112bfb72a87d1dba78df.zip
any help wil be greatly appreciated.
Thanks and Regards
Anirudh Nehra
Offline