Re: [Yade-users] Yade installation questions
Hi David, 2016-11-15 15:45 GMT+01:00 Baker D.J.: > I have just finished installing Yade from source on our RedHat 6.3 cluster. > That is, to be more precise, I installed Yade with the GUI component > switched off. The build was eventually successful and I was then able to run > both “yade –check” and “yade –test” without any issues. On the other hand > when I tested a script provided by the user I noticed that my Yade could not > find the Gl1_Sphere attribute/command. Is that because I build Yade with > GUI=OFF? Pay attention, if you switched off the GUI, the user-script should not contain any GUI-related code. > I then attempted to build the GUI version. The build (make) process > completed successfully, however I found that “make install” failed looking > for a file called “img_rc.py”. I cannot find any trace of this file in the img_rc.py is generated in gui/CMakeLists.txt. during the configuration step of the build. It would be good to read the output from CMake on this stage. > Yale source distribution, and so I have no idea how to progress the GUI > build. In this respect I have installed qt v4, however not PyQt4 – is the > latter package required? For GUI-enabled builds - yes, you need it and for build time and for runtime. Cheers, 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
Re: [Yade-users] Yade installation questions
Dear David, Please use launchpad questions next time, instead of plain emails (*). On 11/15/2016 03:45 PM, Baker D.J. wrote: Gl1_Sphere attribute/command. Is that because I build Yade with GUI=OFF? Yes. "Gl" refers to openGL, hence graphical environment. It should be removed on users side. Obviously, manipulating 3D view is not an option in a script for cluster production. I then attempted to build the GUI version. The build (make) process completed successfully, however I found that “make install” failed looking for a file called “img_rc.py”. I cannot find any trace of this file in the Yale source distribution, and so I have no idea how to progress the GUI build. In this respect I have installed qt v4, however not PyQt4 – is the latter package required? I can't help for this one personally, sorry. Regards Bruno ___ 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 installation questions
Hello and welcome, For questions and answers about YADE use, we're using a launchpad website [*], could you please re-ask your question there ? The "yade-users" mailing list is rather for general announcements. Thanks ! PS: in the meantime, yes I think that "Gl1_Sphere" is related to GUI, and I also think that PyQt4 (or PyQt5) is a required package, see https://yade-dem.org/doc/installation.html#prerequisites. [*] https://yade-dem.org/doc/user.html#getting-help -- Jerome Duriez, Research Associate University of Calgary, Dpt of Civil Engineering +1 403 220 7367 From: Yade-userson behalf of Baker D.J. Sent: November 15, 2016 7:45 AM To: yade-users@lists.launchpad.net Subject: [Yade-users] Yade installation questions Hello, I have a couple of Yade installation related questions, please. I have just finished installing Yade from source on our RedHat 6.3 cluster. That is, to be more precise, I installed Yade with the GUI component switched off. The build was eventually successful and I was then able to run both "yade -check" and "yade -test" without any issues. On the other hand when I tested a script provided by the user I noticed that my Yade could not find the Gl1_Sphere attribute/command. Is that because I build Yade with GUI=OFF? I then attempted to build the GUI version. The build (make) process completed successfully, however I found that "make install" failed looking for a file called "img_rc.py". I cannot find any trace of this file in the Yale source distribution, and so I have no idea how to progress the GUI build. In this respect I have installed qt v4, however not PyQt4 - is the latter package required? I am new to Yade and so I would appreciate any relevant advice from the community, please. Best regards, David ___ 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