Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2010-09-02 12:05:16

bosman
Member
Registered: 2008-07-14
Posts: 105

Build fails with latest update!

Hi!

I get this error when updated with the latest code 10.2.13.

Build Code_Aster executable

extracting 'python.o' from libasterd.a...                               [  OK  ]
creating .../STA10.2/asterd...                                          [  OK  ]
testing executable /opt/aster10.2.x/STA10.2/asterd...              Aborted
[FAILED]
Exit code : 34304

Version séquentielle de Code_aster
import os : OK
import aster :/opt/aster10.2.x/STA10.2/bibc/supervis/astermodule.c 188 : ImportError of except_module!

ImportError: No module named Execution.E_Exception


<F>_BUILD_ERROR    test of executables failed


<F>_BUILD_FAILED   Exception raised by MakeAster:


The version 10.2.12 compiled fine.

Regards!

B-O

Offline

#2 2010-09-02 12:34:48

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,167

Re: Build fails with latest update!

Important: this only applies to the version 10.2.13.


Hi,

Yes, finally the build works fine but the test of the executable fails... hmm

This will be fixed next week (10.2.14).

If you don't want to wait next wednesday, you can apply this patch to asrun/maintenance.py (typically in $ASTER_ROOT/lib/python2.X/site-packages) :

--- a/ASTK_SERV/asrun/maintenance.py	Thu Aug 26 08:33:02 2010 +0200
+++ b/ASTK_SERV/asrun/maintenance.py	Thu Sep 02 13:21:12 2010 +0200
@@ -929,3 +929,3 @@
         if kret != 0:
-            run.Mess(_(u'test of executables failed'), '<F>_BUILD_ERROR')
+            run.Mess(_(u'test of executables failed'), '<A>_BUILD_ERROR')
         run.timer.Stop(tit)

To apply it :
- save the diff upper to '/tmp/patch_file.diff' for example
- cd $ASTER_ROOT/lib/python2.X/site-packages
- patch -p2 < /tmp/patch_file.diff

Replace $ASTER_ROOT by your installation prefix (for example /opt/aster) or source the environment definition from etc/codeaster/profile.sh

NB : You should revert to the original source (with '<F>') starting from 10.2.14 or you won't be advised against further errors.


MC

Discussion moved to Code_Aster installation.


Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline

#3 2010-09-03 08:06:03

bosman
Member
Registered: 2008-07-14
Posts: 105

Re: Build fails with latest update!

Hi!

Thanks! It works now!

I have been testing the new UMAT feature, which I think is a great addition.

Regards!

B-O

Offline