← Back to team overview

yade-users team mailing list archive

Re: compiling problem with yade-0.12.0


Hi Bruno,

I use Yade-0.12.rc1 with Hardy Heron 8.04, it is enough: no problem for the installation and the classical use.

Besides, concerning the classical triaxial tests, the new version of Yade, is very nice and allow to perform easily good simulations. Thank you for your job and thank you also to the other contributors.


Bruno Chareyre a écrit :
May I ask what is needed currently in terms of compiler?
Do we really need to upgrade to intrepid? I guess no...


Jerome Duriez a écrit :

Luc Sibille a écrit :

 I am switching to yade-0.12.0 a little bite late.

When I want to compile Yade-0.12.0 I obtain the following error (I've got Boost 1.34.1 installed):

scons: done reading SConscript files.
scons: Building targets ...
C core/Body.cpp
cc1plus: error: unrecognized command line option "-fopenmp"
core/Body.cpp:1: error: bad value (native) for -march= switch
core/Body.cpp:1: error: bad value (native) for -mtune= switch

Hello Luc. If I remember well, compiling with "openmp=0" will let disappear the first type of error. For the two others, it is because you don't use the good compiler : you need g++ with version >= 4.3. But for that you will surely need to update your Linux distribution (to Intrepid). Very sincerely GOOD LUCK !


PS : you can give a look to http://thread.gmane.org/gmane.science.physics.yade.user/1239 and http://thread.gmane.org/gmane.science.physics.yade.user/1244

Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Luc Sibille

Université de Nantes - Laboratoire GeM UMR CNRS

IUT de Saint Nazaire
58, rue Michel-Ange - BP 420
44606 Saint-Nazaire Cedex, France

Tel: +33 (0)2 40 17 81 78