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

You are not logged in.

#1 2018-08-09 21:11:10

AsterO'dactyle
Administrator
Registered: 2007-11-29
Posts: 456

Compilation 14.2 - Full on Ubuntu 16.04

Hello,

The compilation of code_aster full from the new aster-full package failed on ubuntu 16.04

Message is not very explicit. Maybe something wrong with MFront ?


Attachments:
setup.log, Size: 428.63 KiB, Downloads: 516

Code_Asterの開発者

Offline

#2 2018-08-09 21:19:47

AsterO'dactyle
Administrator
Registered: 2007-11-29
Posts: 456

Re: Compilation 14.2 - Full on Ubuntu 16.04

Yes, it's Mfront:

<DBG> Errors occurred with behaviour 'BETON_BURGER' searched in file '/tmp/install_aster.19830/aster-14.2.0/mfront/BETON_BURGER.mfront'.
<DBG> Details: BehaviourDSLBase::analyse: error while treating keyword '@Theta' at line '27' of file '/tmp/install_aster.19830/aster-14.2.0/mfront/BETON_BURGER.mfront'.
<DBG> CxxTokenizer::readDouble: could not read value from token '1.' (tfel::utilities::convert: could not convert '1.' to double).
<DBG> Build failed
<DBG> Traceback (most recent call last):
<DBG>  File "/tmp/install_aster.19830/aster-14.2.0/.waf-1.8.22-5fa41dedfc4a80e01a7ca1d1c9d570c0/waflib/Task.py", line 110, in process
<DBG>    ret=self.run()
<DBG>  File "/tmp/install_aster.19830/aster-14.2.0/mfront/wscript", line 333, in run
<DBG>    raise Errors.BuildError
<DBG> BuildError: Build failed


Error in the BETON BURGER law

But as the installation failed, we don't have sources (/opt/aster is not complete)


Code_Asterの開発者

Offline

#3 2018-08-11 22:23:35

thomas.helfer
Member
Registered: 2013-09-26
Posts: 127

Re: Compilation 14.2 - Full on Ubuntu 16.04

Hi AsterO'dactyle,

Well, seems like a very strange bug and the error message is quite inconstent.

I don't have this error on Debian Stretch neither with the development version nor with TFEL-3.1.1. Did you notice the trouble on another distribution ?

I will install Ubuntu 16.04 to reproduce the error in a week or two. In the meantime, could you open a ticket about the issue ?

Best,

Thomas

Offline

#4 2018-08-12 07:56:36

thomas.helfer
Member
Registered: 2013-09-26
Posts: 127

Re: Compilation 14.2 - Full on Ubuntu 16.04

Hi,
The file compiles fine on Ubuntu 16.04 with TFEL-3.1.1. All MFront tests are ok.
Maybe some choice of compilation flags in the Aster scripts ?
Best,
Thomas

Offline

#5 2018-08-12 15:28:40

AsterO'dactyle
Administrator
Registered: 2007-11-29
Posts: 456

Re: Compilation 14.2 - Full on Ubuntu 16.04

Hello,

I've changed to Ubuntu 18.04 an everything is ok


Code_Asterの開発者

Offline

#6 2018-08-12 20:40:01

thomas.helfer
Member
Registered: 2013-09-26
Posts: 127

Re: Compilation 14.2 - Full on Ubuntu 16.04

Nevertheless, it bothers me, i'll check.
Thomas

Offline

#7 2018-08-13 08:50:29

AsterO'dactyle
Administrator
Registered: 2007-11-29
Posts: 456

Re: Compilation 14.2 - Full on Ubuntu 16.04

Some tries:
- if I comment @theta and @Itermax, compilation is OK
- I've tried too to change 1. => 1.E+0 or 1.0 => no change


Code_Asterの開発者

Offline