← Back to team overview

yade-users team mailing list archive

Re: [Question #244319]: Yade Source code Installation and launch problem

 

Question #244319 on Yade changed:
https://answers.launchpad.net/yade/+question/244319

Description changed to:
Hello everyone,

System:            Ubuntu 13.10 (desktop-i386.iso)
Source code: Yade_1.07.0.orig.tar.gz
Installation:     Following the instructions @ https://yade-dem.org/doc/installation.html#source-code

The installation process is normal, but questions are:

1) How to lauch Yade_1.07.0? I tried the command below, but it doesn't
work.

david@x220:~/yade-1.07.0/install/bin$ ls
yade-1.07.0  yade-1.07.0-batch
david@x220:~/yade-1.07.0/install/bin$ yade-1.07.0
yade-1.07.0: command not found

2) Run 'make check' and gave messages below. Are the errors vital?

david@x220:~/yade-1.07.0/build$ make check
Scanning dependencies of target check
testMatrix3 (yade.TestEigenWrapper)
Math: Matrix3 operations ... ok
testQuaternion (yade.TestEigenWrapper)
Math: Quaternion operations ... ok
testVector2 (yade.TestEigenWrapper)
Math: Vector2 operations ... ok
testVector3 (yade.TestEigenWrapper)
Math: Vector3 operations ... ok
testClassCtors (yade.TestObjectInstantiation)
Core: correct types are instantiated ... ok
testDispatcherCtor (yade.TestObjectInstantiation)
Core: dispatcher ctors with functors ... ok
testHidden (yade.TestObjectInstantiation)
Core: Attr::hidden ... ok
testInteractionLoopCtor (yade.TestObjectInstantiation)
Core: InteractionLoop special ctor ... ok
testInvalidAttr (yade.TestObjectInstantiation)
Core: invalid attribute access raises AttributeError ... ok
testNoSave (yade.TestObjectInstantiation)
Core: Attr::noSave ... ok
testParallelEngineCtor (yade.TestObjectInstantiation)
Core: ParallelEngine special ctor ... ok
testRootDerivedCtors_attrs_few (yade.TestObjectInstantiation)
Core: class ctor's attributes ... ok
testTriggerPostLoad (yade.TestObjectInstantiation)
Core: Attr::triggerPostLoad ... ok
testWrongFunctorType (yade.TestObjectInstantiation)
Core: dispatcher and functor type mismatch is detected ... ok
testErase (yade.TestBodies)
Bodies: erased bodies are None in python ... ok
testErasedAndNewlyCreatedSphere (yade.TestBodies)
Bodies: The bug is described in LP:1001194. If the new body was created after deletion of previous, it has no bounding box ... ok
testErasedIterate (yade.TestBodies)
Bodies: Iterator silently skips erased ones ... ok
testIterate (yade.TestBodies)
Bodies: Iteration ... ok
testLen (yade.TestBodies)
Bodies: len(O.bodies) ... ok
testNegativeIndex (yade.TestBodies)
Bodies: Negative index counts backwards (like python sequences). ... ok
testSaveAllClasses (yade.TestIO)
I/O: All classes can be saved and loaded with boost::serialization ... WARNING: cannot open files used for capillary law, all forces will be null. Instructions on how to download and install them is found here : https://yade-dem.org/wiki/CapillaryTriaxialTest.
ok
testEraseBodiesInInteraction (yade.TestInteractions) ... ok
testDead (yade.TestLoop)
Loop: dead engines are not run ... ok
testEnginesModificationInsideLoop (yade.TestLoop)
Loop: O.engines can be modified inside the loop transparently. ... ok
testSubstepping (yade.TestLoop)
Loop: substepping ... ok
testMaterialReturnsState (yade.TestMaterialStateAssociativity)
Material+State: CpmMat returns CpmState when asked for newAssocState ... ok
testThrowsAtBadCombination (yade.TestMaterialStateAssociativity)
Material+State: throws when body has material and state that don't work together. ... ok
testThrowsAtNullState (yade.TestMaterialStateAssociativity)
Material+State: throws when body has material but NULL state. ... ok
testAccess (yade.TestMaterials)
Material: find by index or label; KeyError raised for invalid label. ... ok
testIterate (yade.TestMaterials)
Material: iteration over O.materials ... ok
testLen (yade.TestMaterials)
Material: len(O.materials) ... ok
testNegativeIndex (yade.TestMaterials)
Material: negative index counts backwards. ... ok
testShared (yade.TestMaterials)
Material: shared_ptr's makes change in material immediate everywhere ... ok
testSharedAfterReload (yade.TestMaterials)
Material: shared_ptr's are preserved when saving/loading ... ok
testDegenerate (yade.TestPBC)
PBC: degenerate cell raises exception ... ok
testHomotheticResizeVel (yade.TestPBC)
PBC: homothetic cell deformation adjusts particle velocity ... ok
testKineticEnergy (yade.TestPBC)
PBC: utils.kineticEnergy considers only fluctuation velocity, not the velocity gradient ... ok
testL3GeomIncidentVelocity (yade.TestPBC)
PBC: L3Geom computes incident velocity correctly ... ok
testScGeomIncidentVelocity (yade.TestPBC)
PBC: ScGeom computes incident velocity correctly ... ok
testSetBox (yade.TestPBC)
PBC: setBox modifies hSize correctly ... ok
testTrsfChange (yade.TestPBC)
PBC: chaing trsf changes hSize0, but does not modify hSize ... ok
testVelGrad (yade.TestPBC)
PBC: velGrad changes hSize, accumulates in trsf ... ok
testConsistency (yade.TestSimpleClump)
Clump: ids and flags consistency ... ok
testStaticProperties (yade.TestSimpleClump)
Clump: mass, centroid, intertia ... ok
testVelocity (yade.TestSimpleClump)
Clump: velocities of member assigned by NewtonIntegrator ... ok
testMotion (yade.TestCohesiveChain)
CohesiveChain: velocity/positions tested in transient dynamics and equilibrium state ... ok
SpherePack_toSimulation (yade.pack)
Doctest: yade.pack.SpherePack_toSimulation ... ok
addAutoData (yade.plot)
Doctest: yade.plot.addAutoData ... ok
addData (yade.plot)
Doctest: yade.plot.addData ... ok
plot (yade.plot)
Doctest: yade.plot.plot ... ok
saveDataTxt (yade.plot)
Doctest: yade.plot.saveDataTxt ... ok
SpherePWaveTimeStep (yade.utils)
Doctest: yade.utils.SpherePWaveTimeStep ... ok
saveVars (yade.utils)
Doctest: yade.utils.saveVars ... /home/david/yade-1.07.0/install/lib/i386-linux-gnu/yade-1.07.0/py/yade/utils.py:67: UserWarning: Overwriting yade.params.something which already exists.
  if mark in yade.params.__dict__: warnings.warn('Overwriting yade.params.%s which already exists.'%mark)
ok
sphere (yade.utils)
Doctest: yade.utils.sphere ... ok
typedEngine (yade.utils)
Doctest: yade.utils.typedEngine ... ok

----------------------------------------------------------------------
Ran 55 tests in 3.074s

OK
*** ALL TESTS PASSED ***
Welcome to Yade 1.07.0 
###################################
running:  checkTestNormalInelasticity.py
Status: success
___________________________________
###################################
running:  checkGravity.py
Status: success
___________________________________
###################################
running:  checkTestDummy.py
checkTest mechanism
Status: success
___________________________________
###################################
running:  checkViscElEng.py
Precalculated en value 0.736357
Obtained en value 0.736357
Status: success
___________________________________
###################################
Skipping checkList.py, because it is in SkipScripts
###################################
running:  checkWirePM.py
Status: success
___________________________________
###################################
running:  checkWeight.py
Precalculated weight 4536.560323
Obtained weight 3780.466936
Status: FAILURE!!!
___________________________________
###################################
Skipping DEM-PFV-check.py, because it is in SkipScripts
###################################
running:  checkTestTriax.py
Status: success
___________________________________
1  tests are failed
make[3]: *** [check] Error 1
make[2]: *** [CMakeFiles/check.dir/all] Error 2
make[1]: *** [CMakeFiles/check.dir/rule] Error 2
make: *** [check] Error 2

BTW, I have tried "sudo apt-get install yade" and  "sudo apt-get install
yadedaily", but somehow both installations failed.

Many thanks and best wishes,

David

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.