yade --check
Dear all,
Here is my Problem. In running oedometer.py I got this result:
Qin= -7.87821707663e-07 Qout= 7.87395513513e-
I thought it may be incorrect. because when I was running my script, I added FlowEngine to my simulation loop in ""Inspector"". It did not work, so I added TFlowEngine and it worked(I think so, at least I saw the movements of the particles). for being more sure about that:
I typed : "yade-2017-
Welcome to Yade 2017-10-
#######
running: checkLiquidMigr
This checkLiquidMigr
Status: success
_______
#######
Skipping checkList.py, because it is in SkipScripts
#######
running: DEM-PFV-check.py
DEM-PFV: unbalanced Qin vs. Qout ( -4.06958960523e-06 vs. 4.06922520944e-06 )
(INFO) DEM-PFV: More than 60\% of cpu time in FlowEngine ( 97.3280306481 %). Should not happen with efficient libraries (check blas/lapack/cholmod implementations)
DEM-PFV-check.py failure
#######
running: checkWeight.py
Precalculated weight 756.093387
Obtained weight 756.093387
Status: success
_______
#######
running: checkCapillaryM
Status: success
_______
#######
running: checkViscElEng.py
Precalculated en value 0.736356797441
Obtained en value 0.736356797441
Status: success
_______
#######
running: checkPolyhedraC
Checkpoint: force values and number of bodies are OK! Iteration 250
Checkpoint: force values and number of bodies are OK! Iteration 300
Checkpoint: force values and number of bodies are OK! Iteration 310
Checkpoint: force values and number of bodies are OK! Iteration 330
Status: success
_______
#######
running: checkWirePM.py
Status: success
_______
#######
running: checkTestDummy.py
checkTest mechanism
Status: success
_______
#######
running: checkGravity.py
Status: success
_______
#######
running: checkClumpHopper.py
Iter 10000: Total number of generated spheres 1448, removed particles 0, current particles 1448, kinEnergy 21324.5
Iter 20000: Total number of generated spheres 2896, removed particles 157, current particles 2739, kinEnergy 50007.9
Iter 30000: Total number of generated spheres 3620, removed particles 812, current particles 2808, kinEnergy 39827.2
Iter 40000: Total number of generated spheres 5068, removed particles 1630, current particles 3438, kinEnergy 35535.8
Iter 50000: Total number of generated spheres 5068, removed particles 2111, current particles 2957, kinEnergy 27032.6
Status: success
_______
#######
running: checkViscElPM2.py
Status: success
_______
#######
running: checkViscElPM.py
Status: success
_______
#######
running: checkTestTriax.py
File ./checkTest.yade moved into /tmp/tmpBzsNYR/ directory
File ./_Unloaded_
File ./_Unloaded_
File ./WallStresses moved into /tmp/tmpBzsNYR/ directory
Status: success
_______
#######
running: checkSaveLoadCl
Status: success
Q1) I think there is a problem in DEM-PFV-check.py and checkLiquidMigr
Q2) what is the difference between FlowEngine and FlowEngineT???
Q3)is there any reference for being more familiar with flowEngine family and their suitable applications?:
(FlowEngine.
Thanks a lot for your help in advance.
Azim
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jérôme Duriez
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hello Azim,
I gather you are compiling from sources? Which Linux release are you using?
>I added FlowEngine to my simulation loop in ""Inspector""
I do not recommend adding engines through the inspector. Add FlowEngine using scripting as shown in oedometer.py and DEM-PFV-check.py.
Q1) I think there is a problem in DEM-PFV-check.py and checkLiquidMigr
LIQMIGRATION is not enabled in your compilation. It needs to be enabled in your compilation if you want to use it in Yade.
DEM-PFV appears to have some small problems. FlowEngine is being engaged; it passes most of the DEM-PFV tests (modulus, permeability, final pressure, deformation). The difference in Qin and Qout is so small...it is almost enough to neglect but I think it is worth investigating a bit further. Please :
*detail your installation method
*test yadedaily --check works fine
*make sure you have updated libmetis-dev and libsuitesparse-dev from packages
* run yadeXXX -jN --check where N is the number of cores on your computer
Q2) what is the difference between FlowEngine and FlowEngineT???
FlowEngineT should not be used directly [1]. It exists for inheritance purposes only.
Q3)is there any reference for being more familiar with flowEngine family and their suitable applications?:
(FlowEngine.
Yes, the class reference [2].
[1]https:/
[2]https:/
Revision history for this message
|
#2 |
Hi Robert,
I am so grateful that you are helping me again.
>I gather you are compiling from sources? Which Linux release are you using?
yes, I did from sources. I am using Ubuntu 16.04
> I do not recommend adding engines through the inspector. Add FlowEngine using scripting as shown in oedometer.py and DEM-PFV-check.py.
I don't know the difference(you can tell me the difference or show me the path to get the answer), but I will do as you say.(you are more expert)
>LIQMIGRATION is not enabled in your compilation. It needs to be enabled in your compilation if you want to use it in Yade.
I want to work with DEM-PFV, if LIQMIGRATION is necessary for DEM-PFV,so please tell me how to enable it.
>*detail your installation method
my installation method is here[1]:
but here is a brief if it bother you to follow the link:
I installed the git package on my system:
git clone <email address hidden>
and added yade external ppa:
sudo add-apt-repository ppa:yade-
sudo apt-get update
executed these commands:
sudo apt-get install cmake git freeglut3-dev libloki-dev \
libboost-all-dev fakeroot dpkg-dev build-essential g++ \
python-dev ipython python-matplotlib libsqlite3-dev python-numpy python-tk gnuplot \
libgts-dev python-pygraphviz libvtk6-dev python-numpy libeigen3-dev \
python-xlib python-pyqt5 pyqt5-dev-tools python-
libqglviewer-dev python-imaging libjs-jquery python-sphinx python-git python-bibtex \
libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen
installed mandatory package:
sudo apt-get install python-gts
sudo apt-get install libopenblas-dev libsuitesparse-
I made the directory named ‘built’ as follow: /home/azim/
then I called cmake to cofigure the simulation like this:
cmake -DCMAKE_
cmake -DCMAKE_
And finally:
make
make install
cd /home/azim/
./yade-
>*test yadedaily --check works fine
I did so, this is the result:
yadedaily: command not found
Q) does yadedaily work when installing from sources???
>*make sure you have updated libmetis-dev and libsuitesparse-dev from packages
of course i had this error during installation process:
E: Package 'libsuitesparse
how can I update them??
I tried "sudo apt-get install libsuitesparse-dev" and "sudo apt-get install libmetis-dev" but it made no difference.
>* run yadeXXX -jN --check where N is the number of cores on your computer
I did, it shows the same result as ''yadexxx --check" ,as I did before.(showed above)
Q) N is for my system,being curious, I tried N=4,8,9 but it works and shows the same result.how??
[1] https:/
thanks again,
Azim
Revision history for this message
|
#3 |
sorry,
Modification: N is 4 in my system
Revision history for this message
|
#4 |
Is there a reason you are compiling from sources instead of installing from packages?
>yadedaily: command not found
Please install yadedaily according to [1] and test yadedaily --check.
Revision history for this message
|
#5 |
>Is there a reason you are compiling from sources instead of installing from packages?
No, There is no necessity.
should I uninstall the one compiled from sources? or these two are compatible? if they are? of course i will follow [1].
let me know please.
Revision history for this message
|
#6 |
Ok, in this case, I recommend installing from packages [1]. The installations will not interfere with each other. If you follow the directions of [1], it will install everything you need to run FlowEngine. You can then run yade by simply typing yadedaily.
Revision history for this message
|
#7 |
I followed [1]:
sudo bash -c 'echo "deb http://
wget -O - http://
sudo apt-get update
sudo apt-get install yadedaily
this is the result:
sudo apt-get install yadedaily
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
yadedaily : Depends: libyadedaily (= 2017.01a-
E: Unable to correct problems, you have held broken packages.
I did all I knew, but could not solve it......
Revision history for this message
|
#8 |
Are you sure you are running 16.04 LTS? Perhaps you are running a different
distribution.
Please read through this thread [1] and let me know if you still run into
the same problem.
Also, are you able to simply run “sudo apt-get install yade”?
[1]https:/
On Thu, Dec 28, 2017 at 5:32 PM azim <email address hidden>
wrote:
> Question #662276 on Yade changed:
> https:/
>
> Status: Answered => Open
>
> azim is still having a problem:
> I followed [1]:
>
> sudo bash -c 'echo "deb http://
> /etc/apt/
> wget -O - http://
> add -
> sudo apt-get update
> sudo apt-get install yadedaily
>
> this is the result:
>
> sudo apt-get install yadedaily
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> yadedaily : Depends: libyadedaily (= 2017.01a-
> 2017.01a-
> Depends: python-yadedaily (= 2017.01a-
> but 2017.01a-
> E: Unable to correct problems, you have held broken packages.
>
> I did all I knew, but could not solve it......
>
> --
> You received this question notification because you are subscribed to
> the question.
>
Revision history for this message
|
#9 |
Hi,
It is also to note, especially with respect to your other question https:/
Jérôme
Revision history for this message
|
#10 |
Dear Robert and Jerome,
I removed any installed yade on my system and, started installing from the beginning.
Here is my system features:
Linux azim-X450LCP 4.4.0-104-generic #127-Ubuntu SMP Mon Dec 11 12:16:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
This is the procedure:
…………………
git clone <email address hidden>
Cloning into 'trunk'...
remote: Counting objects: 88821, done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 88821 (delta 15), reused 21 (delta 10), pack-reused 88773
Receiving objects: 100% (88821/88821), 71.29 MiB | 67.00 KiB/s, done.
Resolving deltas: 100% (66261/66261), done.
Checking connectivity... done.
…………………
sudo add-apt-repository ppa:yade-
[sudo] password for azim:
More recent version of various external packages, which are less functional or buggy in ubuntu repositories.
More info: https:/
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpv7ch7j
gpg: keyring `/tmp/tmpv7ch7j
gpg: requesting key 6D76D006 from hkp server keyserver.
gpg: /tmp/tmpv7ch7jo
gpg: key 6D76D006: public key "Launchpad PPA for yade-users" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
.......
azim@azim-
Hit:1 https:/
Get:2 http://
Hit:3 http://
Get:4 http://
Ign:2 http://
Hit:5 http://
Get:6 http://
Hit:7 http://
Get:8 http://
Hit:9 http://
Get:10 http://
Get:11 http://
Ign:10 http://
Hit:12 http://
Hit:13 http://
Ign:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Ign:25 http://
Ign:26 http://
Ign:27 http://
Ign:28 http://
Ign:29 http://
Ign:30 http://
Ign:31 http://
Ign:32 http://
Ign:26 http://
Ign:27 http://
Ign:28 http://
Ign:29 http://
Ign:30 http://
Ign:31 http://
Ign:32 http://
Ign:26 http://
Ign:27 http://
Ign:28 http://
Ign:29 http://
Ign:30 http://
Ign:31 http://
Ign:32 http://
Ign:26 http://
Ign:27 http://
Ign:28 http://
Ign:29 http://
Ign:30 http://
Ign:31 http://
Ign:32 http://
Ign:26 http://
Ign:27 http://
Ign:28 http://
Ign:29 http://
Ign:30 http://
Ign:31 http://
Ign:32 http://
Err:26 http://
404 Not Found
Ign:27 http://
Ign:28 http://
Ign:29 http://
Ign:30 http://
Ign:31 http://
Ign:32 http://
Fetched 1,574 kB in 4min 41s (5,589 B/s)
Reading package lists... Done
W: Target Packages (main/binary-
W: Target Packages (main/binary-
W: Target Translations (main/i18n/
W: Target Translations (main/i18n/
W: Target DEP-11 (main/dep11/
W: Target DEP-11-icons (main/dep11/
W: GPG error: http://
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-
W: Target Packages (main/binary-
W: Target Translations (main/i18n/
W: Target Translations (main/i18n/
W: Target DEP-11 (main/dep11/
W: Target DEP-11-icons (main/dep11/
…………………
sudo apt-get install cmake git freeglut3-dev libloki-dev \
> libboost-all-dev fakeroot dpkg-dev build-essential g++ \
> python-dev ipython python-matplotlib libsqlite3-dev python-numpy python-tk gnuplot \
> libgts-dev python-pygraphviz libvtk6-dev python-numpy libeigen3-dev \
> python-xlib python-pyqt5 pyqt5-dev-tools python-
> libqglviewer-dev python-imaging libjs-jquery python-sphinx python-git python-bibtex \
> libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpython2.
build-essential is already the newest version (12.1ubuntu2).
fakeroot is already the newest version (1.20.2-1ubuntu1).
g++ is already the newest version (4:5.3.1-1ubuntu1).
libbz2-dev is already the newest version (1.0.6-8).
libjs-jquery is already the newest version (1.11.3+dfsg-4).
libsqlite3-dev is already the newest version (3.11.0-1ubuntu1).
libxi-dev is already the newest version (2:1.7.6-1).
libxmu-dev is already the newest version (2:1.1.2-2).
python-dev is already the newest version (2.7.11-1).
python-numpy is already the newest version (1:1.11.
python-tk is already the newest version (2.7.11-2).
freeglut3-dev is already the newest version (2.8.1-2).
gnuplot is already the newest version (4.6.6-3).
help2man is already the newest version (1.47.3).
ipython is already the newest version (2.4.1-1).
libboost-all-dev is already the newest version (1.58.0.1ubuntu1).
libcgal-dev is already the newest version (4.7-4).
libeigen3-dev is already the newest version (3.3~beta1-2).
libgts-dev is already the newest version (0.7.6+
libloki-dev is already the newest version (0.1.7-3ubuntu1).
libqglviewer-dev is already the newest version (2.6.3+dfsg1-1).
libvtk6-dev is already the newest version (6.2.0+
python-bibtex is already the newest version (1.2.7-1).
python-git is already the newest version (1.0.1+
python-matplotlib is already the newest version (1.5.1-1ubuntu1).
python-minieigen is already the newest version (0.50.3+
python-pygraphviz is already the newest version (1.3.1-0ubuntu2).
python-xlib is already the newest version (0.14+20091101-5).
cmake is already the newest version (3.5.1-1ubuntu3).
dpkg-dev is already the newest version (1.18.4ubuntu1.3).
git is already the newest version (1:2.7.
libpython2.7-stdlib is already the newest version (2.7.12-
zlib1g-dev is already the newest version (1:1.2.
gtk2-engines-pixbuf is already the newest version (2.24.30-
python-imaging is already the newest version (3.1.2-0ubuntu1.1).
python-sphinx is already the newest version (1.3.6-2ubuntu1.1).
pyqt5-dev-tools is already the newest version (5.5.1+
python-pyqt5 is already the newest version (5.5.1+
python-
python-pyqt5.qtsvg is already the newest version (5.5.1+
The following package was automatically installed and is no longer required:
libllvm4.0
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
…………………
sudo apt-get install python-gts
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gts is already the newest version (0.3.1-6).
The following package was automatically installed and is no longer required:
libllvm4.0
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
…………………
sudo apt-get install libopenblas-dev libsuitesparse-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libsuitesparse-
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libsuitespars
E: Package 'libsuitesparse
…………………
#######
QQ) PLEASE: help me to solve above errors.
after solving them, I want to start compilation.
any comment about DEM-PFV packages is welcomed.
I really really really, appreciate your help
thanks
Azim
Revision history for this message
|
#11 |
Hello Azim,
Please, help me help you get Yade installed on your machine :-) I will reiterate my past responses here.
It appears to me that you are mixing up installation procedures. There are several ways to install yade, each method is highlighted here [1]. You do not need to install yade with all methods indicated in that document, you only need to choose one method. The most straightforward way is to use "packaged" installation.
We came to the conclusion earlier in this thread that your best bet will be to install yadedaily from packages. So you only need to follow the first few instructions in the "pacakges" [2] section:
sudo bash -c 'echo "deb http://
wget -O - http://
sudo apt-get update
sudo apt-get install yadedaily
It appears you tried this at some point in the thread, but you ran into an error with one of the libraries. I searched the Yade forums for the same error and came upon this thread [3], which seems to suggest you may have typed one of the commands incorrectly. I implore(d) you to read through [3] to see if that problem aligns with yours, and maybe the solution aligns with yours as well.
I also asked if you are able to simply type "sudo apt-get install yade" ? But I never heard a response...
Cheers,
Robert
[1]https:/
[2]https:/
[3]https:/
Revision history for this message
|
#12 |
Hi Robert,
i have tried thread[1] over and over in last 3 days. and I got the same result.I followed it in a few minutes ago and this is the result after installing:
INSTALLING YADEDAILY
sudo bash -c 'echo "deb http://
[sudo] password for azim:
azim@azim-
--2018-01-05 07:45:30-- http://
Resolving www.yade-dem.org (www.yade-
Connecting to www.yade-dem.org (www.yade-
HTTP request sent, awaiting response... 200 OK
Length: 3143 (3.1K)
Saving to: ‘STDOUT’
- 100%[==
2018-01-05 07:45:34 (54.2 MB/s) - written to stdout [3143/3143]
OK
azim@azim-
Get:1 http://
Get:2 http://
Get:3 http://
Ign:1 http://
Hit:4 http://
Hit:5 http://
Hit:6 https:/
Hit:7 http://
Hit:8 http://
Hit:9 http://
Get:10 http://
Hit:11 http://
Hit:12 http://
Ign:10 http://
Hit:13 http://
Hit:14 http://
Ign:15 http://
Ign:16 http://
Ign:17 http://
Ign:18 http://
Ign:19 http://
Ign:20 http://
Ign:21 http://
Ign:22 http://
Ign:23 http://
Ign:17 http://
Ign:18 http://
Ign:19 http://
Ign:20 http://
Ign:21 http://
Ign:22 http://
Ign:23 http://
Ign:17 http://
Ign:18 http://
Ign:19 http://
Ign:20 http://
Ign:21 http://
Ign:22 http://
Ign:23 http://
Ign:17 http://
Ign:18 http://
Ign:19 http://
Ign:20 http://
Ign:21 http://
Ign:22 http://
Ign:23 http://
Ign:17 http://
Ign:18 http://
Ign:19 http://
Ign:20 http://
Ign:21 http://
Ign:22 http://
Ign:23 http://
Err:17 http://
404 Not Found
Ign:18 http://
Ign:19 http://
Ign:20 http://
Ign:21 http://
Ign:22 http://
Ign:23 http://
Fetched 39.7 kB in 1min 21s (486 B/s)
Reading package lists... Done
W: Target Packages (main/binary-
W: Target Packages (main/binary-
W: Target Translations (main/i18n/
W: Target Translations (main/i18n/
W: Target DEP-11 (main/dep11/
W: Target DEP-11-icons (main/dep11/
W: GPG error: http://
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-
W: Target Packages (main/binary-
W: Target Translations (main/i18n/
W: Target Translations (main/i18n/
W: Target DEP-11 (main/dep11/
W: Target DEP-11-icons (main/dep11/
azim@azim-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libllvm4.0
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libyadedaily python-yadedaily
The following NEW packages will be installed:
libyadedaily python-yadedaily yadedaily
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 12.9 MB of archives.
After this operation, 87.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 12.9 MB in 3min 30s (61.5 kB/s)
Selecting previously unselected package libyadedaily:amd64.
(Reading database ... 276193 files and directories currently installed.)
Preparing to unpack .../libyadedail
Unpacking libyadedaily:amd64 (2017.01a-
Selecting previously unselected package python-yadedaily.
Preparing to unpack .../python-
Unpacking python-yadedaily (2017.01a-
Selecting previously unselected package yadedaily.
Preparing to unpack .../yadedaily_
Unpacking yadedaily (2017.01a-
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~
Rebuilding /usr/share/
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up libyadedaily:amd64 (2017.01a-
Setting up python-yadedaily (2017.01a-
Setting up yadedaily (2017.01a-
#######
YADE --CHECK
yadedaily --check
Welcome to Yade 2017.01a-
#######
running: checkLiquidMigr
This checkLiquidMigr
Status: success
_______
#######
Skipping checkList.py, because it is in SkipScripts
#######
running: DEM-PFV-check.py
DEM-PFV: unbalanced Qin vs. Qout ( -0.00279199571618 vs. 0.0 )
DEM-PFV: difference in permeability: 27.9199571618 vs. target 0.040399916554
The difference is more, than the critical tolerance!
DEM-PFV: difference in final pressure: 0.0 vs. target 628.314160434
The difference is more, than the critical tolerance!
DEM-PFV: difference in final deformation -0.00430506304298 vs. target -0.00258113045083
The difference is more, than the critical tolerance!
DEM-PFV: Metis is not used during cholmod's reordering although explicitly enabled, something wrong with libraries
Status: FAILURE!!!
_______
#######
running: checkWeight.py
Precalculated weight 756.093387
Obtained weight 756.093387
Status: success
_______
#######
running: checkCapillaryM
Status: success
_______
#######
running: checkViscElEng.py
Precalculated en value 0.736356797441
Obtained en value 0.736356797441
Status: success
_______
#######
running: checkPolyhedraC
Checkpoint: force values and number of bodies are OK! Iteration 250
Checkpoint: force values and number of bodies are OK! Iteration 300
Checkpoint: force values and number of bodies are OK! Iteration 310
Checkpoint: force values and number of bodies are OK! Iteration 330
Status: success
_______
#######
running: checkWirePM.py
Status: success
_______
#######
running: checkTestDummy.py
checkTest mechanism
Status: success
_______
#######
running: checkGravity.py
Status: success
_______
#######
running: checkClumpHopper.py
Iter 10000: Total number of generated spheres 1448, removed particles 0, current particles 1448, kinEnergy 13755.3
Iter 20000: Total number of generated spheres 2896, removed particles 157, current particles 2739, kinEnergy 32441.5
Iter 30000: Total number of generated spheres 3620, removed particles 812, current particles 2808, kinEnergy 25812.6
Iter 40000: Total number of generated spheres 5068, removed particles 1630, current particles 3438, kinEnergy 23692.9
Iter 50000: Total number of generated spheres 5068, removed particles 2111, current particles 2957, kinEnergy 17471
Status: success
_______
#######
running: checkViscElPM2.py
Status: success
_______
#######
running: checkViscElPM.py
Status: success
_______
#######
running: checkTestTriax.py
File ./checkTest.yade moved into /tmp/tmpob1NXn/ directory
File ./_Unloaded_
File ./_Unloaded_
File ./WallStresses moved into /tmp/tmpob1NXn/ directory
Status: success
_______
#######
running: checkSaveLoadCl
Status: success
_______
1 tests are failed
-------
What is my problem??
Revision history for this message
|
#13 |
Hi Azim,
I think I successfully installed from sources a PFV-enabled yade, yesterday.
To do so, I think I installed the following packages:
- libmetis-dev
- libmetis5
- libsuitesparse-dev
I think these replace the probably outdated (for Ubuntu 16.04)"sudo apt-get install libopenblas-dev libsuitesparse-
I have no idea whether such manual installation of external packages is also necessary for installation of yade / yadedaily packaged versions.
Jérôme
Revision history for this message
|
#14 |
My previous message was maybe too optimistic...
While the above mentioned packages allowed me
- to get, at cmake stage
"
-- Found Cholmod in /usr/lib/
-- Found OpenBlas in /usr/lib/
-- Found Metis in /usr/lib/
" (instead of getting some of them "not found")
- and have "examples/
I also get a failure at DEM-PFV-check.py (after launching check tests on this yade version):
#######
running: DEM-PFV-check.py
DEM-PFV: unbalanced Qin vs. Qout ( -0.00279199571618 vs. 0.0 )
DEM-PFV: difference in permeability: 27.9199571618 vs. target 0.040399916554
The difference is more, than the critical tolerance!
DEM-PFV: difference in final pressure: 0.0 vs. target 628.314160434
The difference is more, than the critical tolerance!
DEM-PFV: difference in final deformation -0.00430506304298 vs. target -0.00258113045083
The difference is more, than the critical tolerance!
DEM-PFV: Metis is not used during cholmod's reordering although explicitly enabled, something wrong with libraries
Status: FAILURE!!!
#######
(same as you, Azim ?)
I'm afraid other answers would be necessary (problem is, the discussion is kind of untractable...)
Revision history for this message
|
#15 |
Hi,
I can reproduce #14.
It is odd: if I run manually the same script used for the --check, with the command
yadedaily DEM-PFV-check.py
then it gives the expected results.
The oedometer.py example also give expected behavior. I thus guess you both have working versions installed despite the apparent --check failure.
Bruno
Revision history for this message
|
#16 |
Back to the original statement:
"Qin= -7.87821707663e-07 Qout= 7.87395513513e-
They cannot be equal since:
1- they result from a (lot of) calculations which all generate numerical errors, including the Cholesky factorization of a linear system.
2- they are theoretically equal only if the solid phase is fixed, in the script there is a residual momentum resulting from the compaction phase.
The difference is of the order of 5e-4*Q. That's quite ok given 1/ and 2/
Bruno
Revision history for this message
|
#17 |
Hi Bruno
> The difference is of the order of 5e-4*Q. That's quite ok given 1/ and 2/
It's OK.
I tried all ways of yade installation recently. I even reinstalled Ubuntu on my system(SO beginner).
now, i'm using ubuntu 14.04 trusty. and yade installed from packages.
Q1) how can i solve (running: DEM-PFV-check.py, Status: FAILURE!!!)?
Q2) suppose that we ignore the yadedaily --check results.(OK?) IF FlowEngine exists in my simulation!! why does FlowEngine.ids return []???? what does it mean??? is it saying that flow does not exert on the particles?
thank you,
Azim
Revision history for this message
|
#18 |
Hi
Q1) No need for you to try to solve this.
According to #15, it is more a problem in the definition of the --check procedure, thus a general problem in YADE. You may try examples/
Q2) As suggested by the doc [1], FlowEngine.ids is derived from PartialEngine.ids [2], see the inheritance (see c++ concepts) diagram at [3].
However I do not think this ids variable actually has any role in the workflow of FlowEngine. I would say that the fact FlowEngine.ids is empty is thus harmless, see Q1 again to be sure FlowEngine works on your computer.
If you're really curious about this FlowEngine.ids and why FlowEngine is defined as a PartialEngine, and not a GlobalEngine, please open a new question: it is completely unrelated with yade --check, now.
[1] https:/
[2] https:/
[3] https:/
Revision history for this message
|
#19 |
Hi Jerome,
>If you're really curious about this FlowEngine.ids and why FlowEngine is defined as a PartialEngine, and not a GlobalEngine, please open a new question: it is completely unrelated with yade --check, now.
i will follow you'r suggestion.
thanks
Revision history for this message
|
#20 |
Thanks Jérôme Duriez, that solved my question.