Re: [Yade-users] [Question #707886]: *** Announcement: YADE answers moves to https://gitlab.com/yade-dev/answers ***
Question #707886 on Yade changed: https://answers.launchpad.net/yade/+question/707886 Status: Open => Solved Janek Kozicki confirmed that the question is solved: OI think I can mark it as solved. The migration proceeded quite nicely and now questions are asked on the new site https://gitlab.com/yade- dev/answers -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #707886]: *** Announcement: YADE answers moves to https://gitlab.com/yade-dev/answers ***
Question #707886 on Yade changed: https://answers.launchpad.net/yade/+question/707886 Status: Expired => Open Janek Kozicki is still having a problem: Let's keep this announcement open for a while. Although it seems that the migration proceeded quite nicely :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #707886]: *** Announcement: YADE answers moves to https://gitlab.com/yade-dev/answers ***
Question #707886 on Yade changed: https://answers.launchpad.net/yade/+question/707886 Status: Expired => Open Janek Kozicki is still having a problem: Let's keep this announcement open for a while. Although it seems that the migration proceeded quite nicely :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #707886]: *** Announcement: YADE answers moves to https://gitlab.com/yade-dev/answers ***
Question #707886 on Yade changed: https://answers.launchpad.net/yade/+question/707886 Janek Kozicki posted a new comment: Bump (move the announcement to the top in the list) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #707886]: *** Announcement: YADE answers moves to https://gitlab.com/yade-dev/answers ***
Question #707886 on Yade changed: https://answers.launchpad.net/yade/+question/707886 Summary changed to: *** Announcement: YADE answers moves to https://gitlab.com/yade-dev/answers *** -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
[Yade-users] [Question #707886]: Announcement: YADE answers moves to https://gitlab.com/yade-dev/answers
New question #707886 on Yade: https://answers.launchpad.net/yade/+question/707886 Short announcement for people who only look at launchpad YADE answers. We are migrating to https://gitlab.com/yade-dev/answers All archived questions questions will be accessible from gitlab as closed issues, searchable with short summary and with a link to the original question on launchpad. All new questions will have to be asked as issues here: https://gitlab.com/yade-dev/answers/-/issues or more specifically a new question is posted here: https://gitlab.com/yade-dev/answers/-/issues/new The migration from launchpad to gitlab should complete within about a week. Let us keep this question open, to post updates about the migration status. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #707886]: Announcement: YADE answers moves to https://gitlab.com/yade-dev/answers
Question #707886 on Yade changed: https://answers.launchpad.net/yade/+question/707886 Description changed to: Short announcement for people who only look at launchpad YADE answers. We are migrating to https://gitlab.com/yade-dev/answers All archived questions will be accessible from gitlab as closed issues, searchable with short summary and with a link to the original question on launchpad. All new questions will have to be asked as issues here: https://gitlab.com/yade-dev/answers/-/issues or more specifically a new question is posted here: https://gitlab.com/yade-dev/answers/-/issues/new The migration from launchpad to gitlab should complete within about a week. Let us keep this question open, to post updates about the migration status. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #705807]: Tell me about the batch method
Question #705807 on Yade changed: https://answers.launchpad.net/yade/+question/705807 Janek Kozicki posted a new comment: Did you actually read https://www.yade-dem.org/wiki/Howtoask ? -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Yade-dev] Upcoming Yade Release 2023.01
Hi, I created update Changelog MR for this: https://gitlab.com/yade-dev/trunk/-/merge_requests/917/diffs best regards Janek Anton Gladky said: (by the date of Mon, 16 Jan 2023 21:16:59 +0100) > Dear all, > > as always at the beginning of the year we are preparing > the stable Yade Release. > > Please, push your changes through merge requests till this Friday, > 20.01.2023 and think about adding some more notes into the > Changelog [1]. > > [1] https://pad.systemli.org/p/yade-2023-changelog > > Thank you > > Anton > > ___ > Mailing list: https://launchpad.net/~yade-dev > Post to : yade-...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp -- -- Janek Kozicki, PhD. DSc. Arch. Assoc. Prof. Gdansk University of Technology (Gdansk Tech) Faculty of Applied Physics and Mathematics Institute of Physics and Applied Computer Science Division of Theoretical Physics and Quantum Information -- http://yade-dem.org/ http://pg.edu.pl/p/jan-kozicki-19725 http://mostwiedzy.pl/en/jan-kozicki,19725-1 ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703753]: TPF does not compile on centOS7
Question #703753 on Yade changed: https://answers.launchpad.net/yade/+question/703753 Status: Open => Answered Janek Kozicki proposed the following answer: There is an ongoing effort to compile yade on centos, it is not finished yet, see: https://gitlab.com/yade-dev/docker-yade/-/issues/5 https://gitlab.com/yade-dev/trunk/-/issues/253 see also https://answers.launchpad.net/yade/+question/703504 good luck! -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703656]: cannot compile with source code
Question #703656 on Yade changed: https://answers.launchpad.net/yade/+question/703656 Janek Kozicki proposed the following answer: Actually openfoam is not confirmed to work on newer ubuntu. In the gitlab CI pipeline we have openfoam test running only on ubuntu 18.04.6: https://gitlab.com/yade-dev/trunk/-/jobs/3248498138 The following lines are executed in this test: https://gitlab.com/yade-dev/trunk/-/blob/master/.gitlab-ci.yml#L693 For start you could try installing on your ubuntu 18 all the packages which are listed here: https://gitlab.com/yade-dev/docker- yade/-/blob/ubuntu18.04_foam/Dockerfile this is how the docker image with ubuntu 18 was prepared to run these tests. I have never used openfoam though, so someone who uses it could probably help more. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703504]: Compilation and Running on HPC cluster -Centos 7
Question #703504 on Yade changed: https://answers.launchpad.net/yade/+question/703504 Janek Kozicki posted a new comment: To be clear, I never used CentOS. The effort to port yade to CentOS is by Tóth János and Danny van der Haven. You will have more luck with one of the distributions listed in the color table at the top here: https://yade- dem.org/doc/installation.html#packages -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703504]: Compilation and Running on HPC cluster -Centos 7
Question #703504 on Yade changed: https://answers.launchpad.net/yade/+question/703504 Status: Open => Answered Janek Kozicki proposed the following answer: There is an ongoing effort to compile yade on centos, it is not finished yet, see: https://gitlab.com/yade-dev/docker-yade/-/issues/5 https://gitlab.com/yade-dev/trunk/-/issues/253 good luck! -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703470]: I cannot visualiza the 3D visualization
Question #703470 on Yade changed: https://answers.launchpad.net/yade/+question/703470 Status: Open => Answered Janek Kozicki proposed the following answer: Try command: xhost + in a terminal outside docker, maybe it will help. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #703243]: Installation failed
Question #703243 on Yade changed: https://answers.launchpad.net/yade/+question/703243 Status: Needs information => Answered Janek Kozicki proposed the following answer: by [1] Jan meant: https://www.yade-dem.org/wiki/Howtoask But also you may refer to https://yade-dem.org/doc/installation.html good luck! -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #702735]: Possible reasons why not introduce gravity in triaxial compression tests in DEM
Question #702735 on Yade changed: https://answers.launchpad.net/yade/+question/702735 Status: Open => Answered Janek Kozicki proposed the following answer: I have no idea what robanmiller wanted to say. I suspect it's spam. The reason to don't introduce gravity in triaxial compression is that its effect is negligible. You can check this yourself. In yade examples directory you will find a triaxial test. Run this simulation with and without gravity and you will see that the result is the same. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #702405]: This is a test question for checking email notifications from Launchpad
Question #702405 on Yade changed: https://answers.launchpad.net/yade/+question/702405 Status: Open => Answered Janek Kozicki proposed the following answer: Looks like it works! I received the email notification :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #701564]: Install yade in the centos7 system. After executing the make install command, an error is reported when compiling FlowEngine.cpp
Question #701564 on Yade changed: https://answers.launchpad.net/yade/+question/701564 Janek Kozicki posted a new comment: That looks like a duplicate of https://answers.launchpad.net/yade/+question/701378 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #701378]: install Yade in centos7 system
Question #701378 on Yade changed: https://answers.launchpad.net/yade/+question/701378 Janek Kozicki posted a new comment: There is an ongoing effort to make it run on centos 7, see: https://gitlab.com/yade-dev/docker-yade/-/issues/5 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #701012]: DFN and Thermal engine
Question #701012 on Yade changed: https://answers.launchpad.net/yade/+question/701012 Janek Kozicki posted a new comment: I agree that these Flow dependencies are unclear. For example: https://gitlab.com/yade-dev/trunk/-/merge_requests/816#note_825186904 I hope that the authors will clarify things here :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #701012]: DFN and Thermal engine
Question #701012 on Yade changed: https://answers.launchpad.net/yade/+question/701012 Janek Kozicki posted a new comment: The earlier comment actually :) https://gitlab.com/yade- dev/trunk/-/merge_requests/816#note_824987122 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #701077]: Using scientific notation with high precision minieigenHP
Question #701077 on Yade changed: https://answers.launchpad.net/yade/+question/701077 Janek Kozicki posted a new comment: btw, sorry for late reply, I didn't notice this until I saw this expiration notice in the mailing list. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #701077]: Using scientific notation with high precision minieigenHP
Question #701077 on Yade changed: https://answers.launchpad.net/yade/+question/701077 Janek Kozicki posted a new comment: Maybe it has got something to do with locales, like in https://gitlab.com/yade-dev/trunk/-/issues/254#note_877268706 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #701077]: Using scientific notation with high precision minieigenHP
Question #701077 on Yade changed: https://answers.launchpad.net/yade/+question/701077 Janek Kozicki posted a new comment: Hm, I cannot reproduce this problem: In [1]: import minieigenHP as mne In [2]: mne.HP2.Vector3(1e0,0,0) Out[2]: Vector3("1","0","0") In [3]: mne.HP2.Vector3(1e-99,0,0) Out[3]: Vector3("9.9252e-100","0","0") I tried with 2022-03-18.git-31d72e5 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] TODO-List for Yade
Thank you Anton for creating this list. I have just added a few more items there, including some ideas which I had in mind for a long time. Some of them are difficult, but doable. https://gitlab.com/yade-dev/trunk/-/issues/251 This is the TODO list at which my students will start looking at on March 1st (in only three days). And they have to decide which item to pick on March 15th. A bit unlucky timing, because that's just a day before our yade-dev meeting. They will be working in groups of 3 to 5 and they have 10 months to complete the task. They are not forced to pick items from this list - they can have some other unrelated ideas to work on. But we can provide them with nice ideas, hoping that they will pick something from this list. If you want to add something NOW is the time. I recall that Klaus mentioned, that you needed some students who finished a full C++ course? That's these students. So now you can add items to this list :) best regards Janek Anton Gladky said: (by the date of Sun, 20 Feb 2022 14:47:45 +0100) > Dear all, > > As discussed during the last meeting of yade-devs, I have prepared > a list of TODO-tasks [1] for Yade, which can be completed during the student > works, Google summer of code and other similar contests and springs. > > Feel free to add new ideas (even crazy ones!) into this list. If somebody > will work on the particular task, it will be separated into the extra-task to > be > tracked. > > [1] https://gitlab.com/yade-dev/trunk/-/issues/251 > > Thanks and best regards > > Anton > > ___ > Mailing list: https://launchpad.net/~yade-users > Post to : yade-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp -- -- Janek Kozicki, PhD. DSc. Arch. Assoc. Prof. Gdansk University of Technology (Gdansk Tech) Faculty of Applied Physics and Mathematics Department of Theoretical Physics and Quantum Information -- http://yade-dem.org/ http://pg.edu.pl/jkozicki (click English flag on top right) ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #700434]: InsertionSortCollider SortAxis : does axis choice make a difference to speed?
Question #700434 on Yade changed: https://answers.launchpad.net/yade/+question/700434 Janek Kozicki posted a new comment: It probably has something to do with the order in which the spheres were inserted. It is almost sorted for one direction, but not the other. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697874]: Dose 'utils' object has the attribute 'saveDataTxt'
Question #697874 on Yade changed: https://answers.launchpad.net/yade/+question/697874 Janek Kozicki posted a new comment: Thanks for pointing this out, it will be fixed once this is merged: https://gitlab.com/yade-dev/trunk/-/merge_requests/697 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'
Question #697791 on Yade changed: https://answers.launchpad.net/yade/+question/697791 Janek Kozicki posted a new comment: Very nice! Thank you for posting the whole solution :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697465]: Angular momentum of pfacet clump not conserved after collision
Question #697465 on Yade changed: https://answers.launchpad.net/yade/+question/697465 Janek Kozicki posted a new comment: It has been added to https://gitlab.com/yade-dev/trunk/-/issues/210 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'
Question #697791 on Yade changed: https://answers.launchpad.net/yade/+question/697791 Status: Open => Answered Janek Kozicki proposed the following answer: No, The standard method to install is following: sudo apt install cmake git freeglut3-dev libloki-dev libboost-all-dev fakeroot \ dpkg-dev build-essential g++ python3-dev python3-ipython python3-matplotlib \ libsqlite3-dev python3-numpy python3-tk gnuplot libgts-dev python3-pygraphviz \ libvtk6-dev libeigen3-dev python3-xlib python3-pyqt5 pyqt5-dev-tools python3-mpi4py \ python3-pyqt5.qtwebkit gtk2-engines-pixbuf python3-pyqt5.qtsvg libqglviewer-dev-qt5 \ python3-pil libjs-jquery python3-sphinx python3-git libxmu-dev libxi-dev libcgal-dev \ help2man libbz2-dev zlib1g-dev libopenblas-dev libsuitesparse-dev \ libmetis-dev python3-bibtexparser python3-future coinor-clp coinor-libclp-dev \ python3-mpmath libmpfr-dev libmpfrc++-dev note the package: python3-mpmath above. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'
Question #697791 on Yade changed: https://answers.launchpad.net/yade/+question/697791 Status: Open => Answered Janek Kozicki proposed the following answer: Hi, mixing third party package management software (e.g. pip) with native apt/aptitude/dpkg/*.deb package management does not go well. I recommended complete uninstall of packages installed with pip and use the system native method for installing packages. Otherwise if you want to use pip you will have to find yourself what non-standard paths are necessary for python to find mpmath. This isn't related much to yade in fact. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697421]: The problem of plot
Question #697421 on Yade changed: https://answers.launchpad.net/yade/+question/697421 Status: Open => Answered Janek Kozicki proposed the following answer: AttributeError: 'module' object has no attribute 'setLiveForceAlwaysUpdate' You need to upgrade your version to 2021.01a, this was fixed only 5 months ago. The other one is a different question, you need to open a new question for that. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697421]: The problem of plot
Question #697421 on Yade changed: https://answers.launchpad.net/yade/+question/697421 Janek Kozicki proposed the following answer: "ValueError: shape mismatch" this happens because a plot uses two lists of points: arguments (say "x") and values (say "y"). Plotting happens at the same time when calculations are pushing more data points to the plot. Plotting fails when the amount of "x" differs from the amount of "y" which happens quite often if calcuations are adding "x" then "y" in a separate thread. And when their sizes differ then it can't be plotted. This function setLiveForceAlwaysUpdate makes sure that calculations are paused during plot refresh, so the problem won't happen. This bug was reported in https://gitlab.com/yade-dev/trunk/-/issues/110 and fixed in https://gitlab.com/yade- dev/trunk/-/merge_requests/570/diffs -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #697421]: The problem of plot
Question #697421 on Yade changed: https://answers.launchpad.net/yade/+question/697421 Status: Open => Answered Janek Kozicki proposed the following answer: Try https://yade- dem.org/doc/yade.plot.html#yade.plot.setLiveForceAlwaysUpdate -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695851]: VTKRecorder: Aborted (core dumped) due to "intr" in VTKRecorder
Question #695851 on Yade changed: https://answers.launchpad.net/yade/+question/695851 Janek Kozicki requested more information: I mean: your script above is way too long to read. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695851]: VTKRecorder: Aborted (core dumped) due to "intr" in VTKRecorder
Question #695851 on Yade changed: https://answers.launchpad.net/yade/+question/695851 Status: Open => Needs information Janek Kozicki requested more information: In this case we will need an MWE [1] [1] https://www.yade-dem.org/wiki/Howtoask -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695851]: VTKRecorder: Aborted (core dumped) due to "intr" in VTKRecorder
Question #695851 on Yade changed: https://answers.launchpad.net/yade/+question/695851 Status: Open => Answered Janek Kozicki proposed the following answer: Assertion `numElements > 0' failed. Looks like you have zero intr, so can't save them :) Make sure that you have more than zero of them. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #694945]: How to run deformableBodies examples
Question #694945 on Yade changed: https://answers.launchpad.net/yade/+question/694945 Janek Kozicki posted a new comment: yes. You are welcome to modify DeformableElement as you see fit, and become a new expert in the field :) I just started examples/deformableelem/MinimalTensileTest.py and I see that the box is getting deformed. The displacement on the graph grows. It seems to work. I don't know what the error message "Incomplete 'if' sequence" means :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695226]: RungeKuttaCashKarp54Integrator with gridConnections is causing errors
Question #695226 on Yade changed: https://answers.launchpad.net/yade/+question/695226 Status: Open => Answered Janek Kozicki proposed the following answer: See: https://gitlab.com/yade-dev/trunk/-/issues/171 it is not fixed. You can try the workaround mentioned in that issue, use flag dead=True. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: [Solved] Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: > You might want to use cmake SUFFIX= or runtimePREFIX -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: [Solved] Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: >> Did you do anything specific to workaround this [MPFR] compilation error > No. But after I followed you suggestion at #9, setting CHUNKSIZE=1 , this > error disappeared. Thanks for the answer, this means that we have more CHUNKSIZE related bugs. > May I mark your post at #7 as the solution? sure no problem :) If you feel adventurous, maybe you would like to try building higher precision versions of yade: long double, float128, maybe even MPFR150 ? http://yade-dem.org/doc/HighPrecisionReal.html you only need to pass this cmake parameter for each of the builds: REAL_DECIMAL_PLACES=18 REAL_DECIMAL_PLACES=33 REAL_DECIMAL_PLACES=150 each of these builds generate a different yade binary with different default precision of calculations. You might want to use cmake SUFFIX=.. parameter to generate yade binaries (and .so files) with corresponding different names. long double calculations are 1.4 times slower, float128 are 4.9 times slower, mpfr150 are 19.8 times slower. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: [Solved] Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: > After I copied all files from potentialVTKRecorders/ver9/ to potentialVTKRecorders/ver8.2/, all checks passed! this is good news. We will use ver9 files for testing ver8.2 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: [Solved] Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: Yade features : ... MPFR ... | boost | 1.75.0 | 1.75.0 | | mpfr | 4.1.0 | 4.1.0 | > I did turn off MPFR, the error message is the same. Did you do anything specific to workaround this compilation error: /usr/include/boost/multiprecision/traits/max_digits10.hpp:51:43: in 'constexpr' expansion of 'boost::multiprecision::detail::calc_digits10<151>::digits_10(151)' /usr/include/boost/multiprecision/traits/max_digits10.hpp:49:96: error: '(3.010299956639812e-1 * 1.5e+2)' is not a constant expression This error looked like a problem with mpfr wrapper in boost, specifically in file max_digits10.hpp, but then somehow you managed to compile with MPFR ? -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: [Solved] Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: In fact try to take all these files from potentialVTKRecorders/ver9/ and see :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: [Solved] Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: I mean potentialVTKRecorders/ver9/pbcontactPoint.10.vtu -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: [Solved] Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: > potentialVTKRecorders/ver8.2/pbcontactPoint.10.vtu does it work if you take similar file from ver9 ? -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: [Solved] Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: > [asustx:310193] Signal: Segmentation fault (11) > [asustx:310193] Signal code: (128) > [asustx:310193] Failing at address: (nil) > [asustx:310193] [ 0] /usr/lib/libc.so.6(+0x3d6a0)[0x7f9c06e306a0] It could be a compiler bug in the memory alignment of variables. In this case VECTORIZE=OFF (not using SSE instructions) would solve this. This is the reason why SSE is not enabled by default. It is still experimental. If this does not help then maybe cmake linked with a wrong version of some library. Maybe check if you get these crashes when ENABLE_OPENMP=OFF or ENABLE_MPI=OFF, because cmake had problems finding one of these. > Warning: freeglut versions higher than 2.8.1 are known to crash We still have no fix for that. When you open GUI and the 3D view of the scene, it will crash. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: [Solved] Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: can you post now what prints the command printAllVersions() and does it pass checks and tests: yade --test yade --checkall Thanks! -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: Try to change this line: https://gitlab.com/yade- dev/trunk/-/blob/master/pkg/common/Gl1_PotentialBlock.cpp#L665 into #if ((VTK_MAJOR_VERSION <= 8) and (VTK_MINOR_VERSION < 2)) or (VTK_MAJOR_VERSION <= 7) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki proposed the following answer: About disabling RealHP, I have added an option for you, can you please try this: https://gitlab.com/yade-dev/trunk/-/merge_requests/602 and tell us if it works? -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695082]: Yadedaily installation and mpmath error (focal)
Question #695082 on Yade changed: https://answers.launchpad.net/yade/+question/695082 Janek Kozicki posted a new comment: I see that Anton already fixed this :) https://gitlab.com/yade- dev/trunk/-/commit/fcd4d709a16ffaac3422d79dfc9926f67ee349c2 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695082]: Yadedaily installation and mpmath error (focal)
Question #695082 on Yade changed: https://answers.launchpad.net/yade/+question/695082 Janek Kozicki posted a new comment: Yes, please. It did throw in this line: https://gitlab.com/yade-dev/trunk/-/blob/master/lib/high- precision/ToFromPythonConverter.hpp#L31 note the comment: // this code is never compiled if python3-mpmath package is unavailable. :) Package was built on system which had python3-mpmath. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #695081]: Compilation failed on vtk8.2.0
Question #695081 on Yade changed: https://answers.launchpad.net/yade/+question/695081 Janek Kozicki posted a new comment: > -- CHUNKSIZE is set to 50 try without chunksize. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #694945]: How to run deformableBodies examples
Question #694945 on Yade changed: https://answers.launchpad.net/yade/+question/694945 Status: Open => Needs information Janek Kozicki requested more information: Let's start with a simple thing [1]. Does the command: printAllVersions() work for you? What does it print if it works? [1] https://yade-dem.org/doc/user.html#questions-and-answers -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #694548]: Unexpected PFacet Collision Physics
Question #694548 on Yade changed: https://answers.launchpad.net/yade/+question/694548 Janek Kozicki posted a new comment: This seems related to: https://answers.launchpad.net/yade/+question/692998 https://gitlab.com/yade-dev/trunk/-/issues/167 but not sure if that's really related to it. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #694102]: Save the simulation result without OpenGL GLX
Question #694102 on Yade changed: https://answers.launchpad.net/yade/+question/694102 Janek Kozicki requested more information: You should at least tell others what was your mistake, in case if someone stumbles on exact same problem. He will verify if your solution (however irrelevant) helps him https://xkcd.com/979/ -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #694192]: Yade-OpenFOAM icoFoam coupling
Question #694192 on Yade changed: https://answers.launchpad.net/yade/+question/694192 Status: Needs information => Answered Janek Kozicki proposed the following answer: See https://gitlab.com/yade-dev/trunk/-/merge_requests/552 If you need it to be working right now, then downgrade your OpenFoam installation to version 6. Otherwise you can help Deepak and Bruno with fixing this problem. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693995]: Cant import scipy.stats
Question #693995 on Yade changed: https://answers.launchpad.net/yade/+question/693995 Janek Kozicki proposed the following answer: > ModuleNotFoundError: No module named 'spicy' Also beware of typos. spicy is not scipy :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693995]: Cant import scipy.stats
Question #693995 on Yade changed: https://answers.launchpad.net/yade/+question/693995 Janek Kozicki posted a new comment: Just to be sure that scipy for python3 is installed: start in terminal: python3 then try toimport scipy -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: Hahah. So it seems, that you can click "solve" when last comment is clicked as "answer". I was clicking "Just add comment" all the time ;) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki proposed the following answer: No idea. Non C++ stuff is not my strong side ;) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: @Anton: Thanks for the info. I agree, VTK is difficult in some aspects. @Sacha: https://gitlab.com/yade-dev/trunk/-/merge_requests/539 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: Ouch. A missing include in [1]. I will fix this shortly. Thanks for finding this out, and I'm sorry for problems. In [2] I think that logging should work correctly. And the lack of output only means that yade is not given a chance to "talk". So undefined symbol happens before yade code starts loading plugins. Even before Omega is constructed. Thanks for printAllVersions() in [3]. This will be useful. Yes, it seems that cmake is discovering VTK 9. And reinstalling VTK 6 is not affecting cmake which prefers VTK 9. I am not sure why linking with VTK 9 somehow goes wrong. However this is the first time when yade encounters VTK 9. Latest version which we have in the pipeline is 8.2. It is now difficult to include VTK 9 in the pipeline, because it is not in any of the linux distros which we have in the CI. This problem could be solved by fiddling with cmake or cmake invocation: 1. somehow force cmake to ignore VTK 9 and use VTK 6 instead 2. or find out what cmake using VTK 9 is missing when invoking linker after compiling with VTK 9. Some '-lvtk_something' is absent here. And that's why it cannot find the right vtk symbols. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: > It seems that it doesn't recognise a symbol (a debug symbol I guess) that comes from a YADE file. I did not see an unrecognized debug symbol. I'm not saying this is impossible. But usually a symbol refers to some function or variable. Debug symbol "works along with it". In the case of _ZN26vtkTransformPolyDataFilter3NewEv it could be one of the New…… (there seem to be a couple of those) functions in VTK class vtkTransformPolyDataFilter. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: And yeah, checking if without VTK we get a different output might be useful. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: I realized that at this stage the "-f6" command is not effective because the filter level is set in yade after all modules finish loading. We have two ways to force yade to use -f6 earlier: 1. recompile with cmake -DENABLE_LOGGER=OFF (then it will send all to std::cerr because with -DDEBUG=ON this will be at -f6 filter level) 2. or change lib/base/Logging.hpp line 112 , lib/base/Logging.cpp line 48 to (short int)(SeverityLevel::eTRACE) (...yeah, that should be in single place) trying to do both 1. and 2. will mean doing the first one ;) Because the 2nd is disabled by the 1st one. Then perhaps we will see some actual output from yade loading its plugins. Both stacktraces produce the exact same error at the end: exc_obj=ImportError('/home/sacha.duverger/packages/yade/install/lib/x86_64 -linux-gnu/yade-2020-10-20.git-427f64c/libyade.so: undefined symbol: _ZN26vtkTransformPolyDataFilter3NewEv',) This "undefined symbol: _ZN26vtkTransformPolyDataFilter3NewEv" could mean following: 1. problem with binary version of vtk (unlikely) you might want to recompile yade without vtk, maybe a linker problem 2. binary incompatibility between (incorrect version of) python and yade (which was compiled against different python), which makes python start routine unable to read any kind of symbols given by yade. And VTK happens to be the first one read. 3. something else. Please do the same gdb runs again, but this time we really print stuff with -f6 (using method 1. or 2.). Maybe we will see some messages from yade loading its plugins. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: Also it is worth checking out if the first line in yade python startup file install/bin/yade-2020-10-20.git-427f64c invokes correct python executable. Which one is correct is up to you to find out :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: The output looks very similar. This suggests that yade did not get a chance to start executing its own code, and problem is during python startup. Please install debug symbols for your python and try again, I am not sure but it should be a package like python3-dbg or *dbgsym* something silimilar. No need to recompile yade. Then gdb output should be more meaningful. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: Also add -DMAX_LOG_LEVEL=6 to cmake. And when you start gdb session invoke yade -f6, so that we get more debug info. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: Now this looks like a binary conflict between versions of some libraries. Maybe we will find out what are the offending libraries when you compile with cmake -DDEBUG=ON and see gdb output. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: So we are moving forward. Change file lib/high-precision/Real.hpp line 72 from: #if (__GNUC__ > 7) or (not BOOST_GCC) to #if 0 let's see what happens. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: If this works I would like to see yade's printAllVersions(); output to fix CMakeLists.txt (sorry for multiple posts :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: Or maybe I did not take into account in CMakeLists.txt the combination of package versions which you are using. Try this, in CMakeLists.txt, where you have this warning: RealHP higher precision types will use slow boost cpp_bin_float, consider passing cmake option ENABLE_MPFR=ON to fix this. Add: SET(REAL_MULTI_HP "OFF") And try your first attempt at compiling with g++-9. Make sure that this change removes RealHP from features and see if that changes the compilation effects. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: It's worth checking if your boost version supports correctly g++-9 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: @Anton: I suggested to try clang as a way to find out what's missing for g++-9 (his first post). @Sacha: Right, sorry. It seems that clang 6 on ubuntu 18.04 is too old to help us here. I suppose that you have packages such as libgcc-9-dev and related. This error with g++9: /usr/include/boost/math/cstdfloat/cstdfloat_cmath.hpp:539:43: error: 'boost::math::cstdfloat::detail::float_internal128_t boost::math::cstdfloat::detail::abs(boost::math::cstdfloat::detail::float_internal128_t)' conflicts with a previous declaration rings a bell, I had it once. I just don't remember right now what it was related with. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693698]: Trouble when compiling with g++-9 or g++-7
Question #693698 on Yade changed: https://answers.launchpad.net/yade/+question/693698 Janek Kozicki posted a new comment: Hi, it's not a problem with yade. It is built everyday with following compiler versions: suse15 gcc 7.5.0 stretch gcc 6.3.0 clang clang 9.0.1 buster gcc 8.3.0 bullseyegcc 10.2.0 bullseye 32bit gcc 9.2.1 20_04 gcc 9.3.0 18_04 gcc 7.5.0 16_04 gcc 5.4.0 see e.g. [1]. The problem is with your local setup. Part of which is what Bruno said. But also you have to make sure to install all necessary packages in versions requested by your g++ compiler. For start you could check what is recommended by the packages you have already installed. Then find what other packages you might need. These will not be packages required by yade to build (such as Eigen or boost: they are OK), these will be packages which form the build toolchain for your g++. I suppose that you might find out what are those packages by trying to compile yade with clang and seeing what it recommends. But remember to always build in a fresh build tree dir. [1] https://gitlab.com/yade-dev/trunk/-/pipelines/208516884 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Janek Kozicki posted a new comment: you are welcome :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Janek Kozicki posted a new comment: The fix just got merged to master. Tomorrow you should be able to check if it's fixed in latest yadedaily. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Janek Kozicki posted a new comment: We can wait with closing this. I have a proposed fix for this [1]. We only need to wait until it gets merged into master, and the next day it will be in yadedaily. If you feel adventurous, know git a little, and don't want to wait until this fix will be in yadedaily, you could try to compile yade from branch fix164 to test this [2] [1] https://gitlab.com/yade-dev/trunk/-/merge_requests/527 [2] https://yade-dem.org/doc/installation.html#compilation -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Janek Kozicki requested more information: Hi, there are two ways to close this 3D view window: 1. click the "x" button on the 3D view window frame. 2. click the 'Show 3D' button in the yade Controller window. Which of these two ways crash for you? -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693284]: yadedaily
Question #693284 on Yade changed: https://answers.launchpad.net/yade/+question/693284 Janek Kozicki posted a new comment: It is very strange. I have just checked these four commands inside a xenial chroot and it worked perfectly. root@:/# sudo bash -c 'echo "deb http://www.yade-dem.org/packages/ xenial main" >> /etc/apt/sources.list' root@:/# cat /etc/apt/sources.list deb http://pl.archive.ubuntu.com/ubuntu xenial main restricted universe multiverse deb-src http://pl.archive.ubuntu.com/ubuntu xenial main restricted universe multiverse deb http://www.yade-dem.org/packages/ xenial main root@:/# wget -O - http://www.yade-dem.org/packages/yadedev_pub.gpg | sudo apt-key add - --2020-10-06 13:16:02-- http://www.yade-dem.org/packages/yadedev_pub.gpg Resolving www.yade-dem.org (www.yade-dem.org)... 194.254.65.201 Connecting to www.yade-dem.org (www.yade-dem.org)|194.254.65.201|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3143 (3.1K) Saving to: ‘STDOUT’ - 100%[===>] 3.07K --.-KB/sin 0s 2020-10-06 13:16:02 (235 MB/s) - written to stdout [3143/3143] OK root@:/# sudo apt-get update Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease [23.8 kB] Hit:2 http://pl.archive.ubuntu.com/ubuntu xenial InRelease Get:3 http://www.yade-dem.org/packages xenial InRelease [4749 B] Get:4 http://www.yade-dem.org/packages xenial/main amd64 Packages [4330 B] Get:5 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial/main amd64 Packages [3372 B] Fetched 36.3 kB in 0s (72.7 kB/s) Reading package lists... Done root@:/# sudo apt-get install yadedaily Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libyadedaily python3-yadedaily The following NEW packages will be installed: libyadedaily python3-yadedaily yadedaily 0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded. Need to get 17.7 MB of archives. After this operation, 124 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://www.yade-dem.org/packages xenial/main amd64 libyadedaily amd64 20201005-4239~57d1c9c~xenial1-1 [12.3 MB] Get:2 http://www.yade-dem.org/packages xenial/main amd64 python3-yadedaily amd64 20201005-4239~57d1c9c~xenial1-1 [3182 kB] Get:3 http://www.yade-dem.org/packages xenial/main amd64 yadedaily amd64 20201005-4239~57d1c9c~xenial1-1 [2191 kB] Fetched 17.7 MB in 21s (829 kB/s) Selecting previously unselected package libyadedaily:amd64. (Reading database ... 136169 files and directories currently installed.) Preparing to unpack .../libyadedaily_20201005-4239~57d1c9c~xenial1-1_amd64.deb ... Unpacking libyadedaily:amd64 (20201005-4239~57d1c9c~xenial1-1) ... Selecting previously unselected package python3-yadedaily. Preparing to unpack .../python3-yadedaily_20201005-4239~57d1c9c~xenial1-1_amd64.deb ... Unpacking python3-yadedaily (20201005-4239~57d1c9c~xenial1-1) ... Selecting previously unselected package yadedaily. Preparing to unpack .../yadedaily_20201005-4239~57d1c9c~xenial1-1_amd64.deb ... Unpacking yadedaily (20201005-4239~57d1c9c~xenial1-1) ... Processing triggers for mime-support (3.59ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Setting up libyadedaily:amd64 (20201005-4239~57d1c9c~xenial1-1) ... Setting up python3-yadedaily (20201005-4239~57d1c9c~xenial1-1) ... Setting up yadedaily (20201005-4239~57d1c9c~xenial1-1) ... -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Status: Open => Answered Janek Kozicki proposed the following answer: Thank you. Exactly this debug log I was expecting. So now you have confirmed the bug [1]. Until we fix it, this will unfortunately crash. I'm sorry about that. We will let you know when it's fixed so that you can try a new version :) So the explanation of my puzzle was that the "mixing" of yade versions was only the incorrect invocation yade vs. yadedaily. So everything is clear now :) [1] https://gitlab.com/yade-dev/trunk/-/issues/164 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Janek Kozicki posted a new comment: Oh, wait. You should be invoking `yadedaily -f6`. Sorry, I forgot that yade exacutable from yadedaily package is called yadedaily ! :) Perhaps all my other comments are irrelevant in light of this mistake ;) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Status: Open => Answered Janek Kozicki proposed the following answer: Hmm. Maybe default ubuntu terminal has different handling of output streams. Does: find /usr -iname "_GLViewer.so*" return nothing also? (but it might print a lot of "Permission denied" which are useless and were removed by that `2> /dev/null` at the end of previous command). Well, I reproduced that crash, so even if you managed to run yadedaily, it would still crash :) I opened an issue to fix it: https://gitlab.com /yade-dev/trunk/-/issues/164 We can verify by looking at crash output when you start `yade -f6` whether you have indeed latest yade version running. You should have something like this: GLViewer:53 static void yade::GLViewer::staticCloseEvent(QCloseEvent*, int): Accept this event: Will emit closeView for view #0 OpenGLManager:76 virtual void yade::OpenGLManager::closeViewSlot(int): Closing primary view. Another thing: maybe you installed yadedaily, but not libyadedaily ? (it shouldn't be possible to install yadedaily without libyadedaily, because of library dependencies). Also you might try removing yade package, and install only yadedaily (which is a bit strange solution, because the two versions are supposed to not interfere with each other, but we are running out of options). -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Janek Kozicki posted a new comment: Also it is much better to uninstall the package via package manager than to delete the directory manually (manual intervention is only necessary when there is no package owning this file, which can only be a result of some crash, e.g. a power failure). So if `dpkg -S` told you the name of package responsible for this file, then it is better to uninstall it via package manager. Of course I mean uninstalling yade and yadedaily packages and various variations of their versions that you somehow have installed :) Then you can reinstall yadedaily again, and it should be fixed :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Janek Kozicki posted a new comment: Also, before deleting them. you can get the name of the package responsible for the files that seem unaccounted for. Use command: dpkg -S filename where 'filename' is the name of the file that you wish to know which package is responsible for this file. In fact you could try that command even before uninstalling any package with your package manager. Just to see how it works. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Status: Open => Answered Janek Kozicki proposed the following answer: First find all files _GLViewer.so with this command: find / -iname "_GLViewer.so*" 2> /dev/null there should be some of such files. They should be inside directory names from which you could probably deduce the yade version to which they belong. Then try uninstalling all versions of yade using your package manager. Then, these files should disappear. You can verify by running this command again. If these files have disappeared, then you are safe to install yade again. If they did not disappear, then what is left is the cause of your trouble. Maybe a leftover from some interrupted installation? Most likely you are safe to delete not only this file, but the accompanying parent directory. But better if you investigate yourself and make backup copies to not lose any of your data. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Janek Kozicki proposed the following answer: There is still something strange in your report. 1. You are running "Yade version : 20201002-4236~57d1c9c~focal1" which is commit hash 57d1c9c which is latest master. 2. crash occurs in line 50 of GLViewer.cpp and line 52 of OpenGLManager.cpp BUT, these messages are printed: 1. in line 53 : https://gitlab.com/yade-dev/trunk/-/blob/master/gui/qt5/GLViewer.cpp#L53 2. and in line 76: https://gitlab.com/yade-dev/trunk/-/blob/master/gui/qt5/OpenGLManager.cpp#L76 And also, the message in your line 50 is very different. Latest yade cannot possibly generate such message. Because your message originates from function named yade::GLViewer::closeEvent, but this function actually, in commit 57d1c9c has name yade::GLViewer::staticCloseEvent. So you are running yade version older or equal to git commit 73432b7 : https://gitlab.com/yade- dev/trunk/-/blob/73432b7a9/gui/qt5/GLViewer.cpp#L50 and indeed in this old yade version the other line number of your messages matches your report: https://gitlab.com/yade- dev/trunk/-/blob/73432b7a9/gui/qt5/OpenGLManager.cpp#L52 which is 8 months old. I don't know how you could have possibly mixed two yade versions. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Janek Kozicki posted a new comment: https://gitlab.com/yade-dev/trunk/-/issues/164 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Status: Open => Answered Janek Kozicki proposed the following answer: Thank you, the old bug is back. I now managed to reproduce it. It is rare on my side unfortunately. https://gitlab.com/yade-dev/trunk/-/merge_requests/437 we will get to it. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Status: Open => Needs information Janek Kozicki requested more information: All the package versions used by yade have exactly the same version number in ubuntu 20.04 and 20.04.1, from yade perspective your system did not change. Also I upgraded my chroot from 20.04 to 20.04.1 to make extra tests. I could not reproduce your problem. Can you check if all other programs work correctly for you? Maybe something else is broken. Try running with command line argument -f6 yade -f6 What messages in the terminal do you get upon crash? -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04
Question #693260 on Yade changed: https://answers.launchpad.net/yade/+question/693260 Status: Open => Answered Janek Kozicki proposed the following answer: hm, ubuntu 20.04 is well supported and should work. We need a bit more info, can you provide the output of commad printAllVersions() from terminal? Also, you might want to try yadedaily: https://yade- dem.org/doc/installation.html#packages -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #692956]: Implementing orbital motion
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Janek Kozicki posted a new comment: You are welcome. Don't hesitate to ask again :) Small fix in previous message: "starting acceleration and position" → of course I meant position and velocity :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #692956]: Implementing orbital motion
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Janek Kozicki posted a new comment: > Can I add a new function for defining a the forces using the > Clohessy–Wiltshire equationsin the GravityEngines.cpp > based on the other functions in the file? Are there other files I must modify > in addition to this? To learn how to do this, and how it all this code works in general, it is better that first you add class NewtonGravityEngine in files GravityEngines.cpp and GravityEngines.hpp , these two files should be enough for start. I suppose that the other ones would better end up in ClohessyWiltshire.hpp ClohessyWiltshire.cpp, because they are a bit more complicated. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #692956]: Implementing orbital motion
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Janek Kozicki posted a new comment: Yeah, CentralGravityEngine is a really bad name. I don't think it is used very often in yade so we could rename it to something like CentralAccelerationEngine. Then you could use that one as the basis for Newton's gravity and use distance as it should be used :) That would be a simple start for you. And easy to check - since you work with orbital mechanics, you should have simple examples at hand with starting acceleration and position to recreate the Earth-Moon system (or maybe even the solar system) to check this code. Basically your Newton's gravity Engine will be extremely similar to CentralGravityEngine (to be renamed into CentralAccelerationEngine) but you just need to add an extra line which uses distance instead of doing normalize on that vector :) After you make it work, you should have enough understanding to implement the Clohessy–Wiltshire equations. However you will need to learn a little about how to code C++. You can start by reading [1][2] and you are welcome to submit merge requests on gitlab, with your NewtonsGravityEngine and the Earth-Moon example [3][4]. This is a bit more work than you expected at first - I suppose that you wanted to write code in python only. [1] https://yade-dem.org/doc/user.html [2] https://yade-dem.org/doc/prog.html [3] https://yade-dem.org/doc/installation.html#source-code [4] https://yade-dem.org/doc/gitrepo.html -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #692956]: Implementing orbital motion
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Janek Kozicki posted a new comment: Heh, sorry. I didn't use easier to read refs [1][2][3][4]. [1] https://yade-dem.org/doc/yade.qt.html#yade.qt._GLViewer.center [2] https://yade-dem.org/doc/yade.wrapper.html#fieldapplier [3] https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/common/GravityEngines.cpp#L51 [4] https://yade-dem.org/doc/prog.html#subclassing-c-types-in-python -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #692956]: Implementing orbital motion
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Janek Kozicki posted a new comment: Hi, this is a very nice idea. If you want the qglviewer camera to follow your debirs you can for example use function https://yade- dem.org/doc/yade.qt.html#yade.qt._GLViewer.center , I didn't try how it works when invoked from a python script inside an Engine loop though. I didn't expect such kind of use for this function. So we might need to improve it a little bit. Or maybe add some alternative toggle to always recenter in C++ before a redraw. I admit that the class name FieldApplier is very tempting when thinking about gravitational filed. It is a base class for all other *Engines that are supposed to apply some forces: https://yade- dem.org/doc/yade.wrapper.html#fieldapplier CentralGravityEngine does not depend on distance: https://gitlab.com /yade-dev/trunk/-/blob/master/pkg/common/GravityEngines.cpp#L51 You will need to write your own derived class to do what you want: > Is there a way to define a force field using a fuction for position. The FieldApplier looks promising, but how do I use it? Yes, exactly. Derive a class from it and make it apply some defined force field. You can hardcode force field in C++, or use overrideble virtual functions to be able to write function formula inside python: https://yade-dem.org/doc/prog.html#subclassing-c-types-in-python -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #690973]: running on a server is slower than on a PC
Question #690973 on Yade changed: https://answers.launchpad.net/yade/+question/690973 Janek Kozicki posted a new comment: Sorry, that was written in a hurry. I mean that you can use these two commands to measure the computer performance using a standardized test. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #690973]: running on a server is slower than on a PC
Question #690973 on Yade changed: https://answers.launchpad.net/yade/+question/690973 Janek Kozicki posted a new comment: run this command: yade --stdperformance -j8 or this command: yade --quickperformance -j8 -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #690973]: running on a server is slower than on a PC
Question #690973 on Yade changed: https://answers.launchpad.net/yade/+question/690973 Janek Kozicki posted a new comment: If you have a recent yade version you can do yade --stdperformance -jN benchmark, with same N on both systems. If the speed is not stable, because some different programs are running it will take a long time, so you can use --quickperformance instead. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp