Re: [Yade-users] [Question #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 Robert Caulk proposed the following answer: I am not sure how I missed this thread...my apologies. Anyways, as Bruno says, you can treat AWS terminal as your own terminal...so go ahead and compile yade the same way as shown on the install page. Here was my script for sources on an Ubuntu 16.04 EC2 instance: sudo add-apt-repository ppa:yade-users/external sudo apt-get update sudo apt-get -y 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-pyqt5.qtwebkit gtk2-engines-pixbuf python-argparse \ 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 \ libopenblas-dev libsuitesparse-dev libmetis-dev sudo mkdir /usr/local/lib/myYade cd /usr/local/lib/myYade/ sudo mkdir install build sudo git clone https://github.com/yade/trunk.git sudo apt-get update cd build sudo cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk -DNOSUFFIX=ON sudo make -jX install # add an alias to .bashrc sudo bash -c 'echo "alias yadeSrc='/usr/local/lib/myYade/install/bin/yade'" >> /home/ubuntu/.bashrc' sudo bash -c 'echo "alias yadeSrc-batch='/usr/local/lib/myYade/install/bin/yade-batch'" >> /home/ubuntu/.bashrc' source ~/.bashrc # set the gnuplot terminal to 'dumb' sudo bash -c 'echo "set terminal dumb" >> /usr/share/gnuplot5/gnuplot/5.0/gnuplotrc' -- 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 Nima Goudarzi gave more information on the question: Hi JIPEIQI, Thanks for the reply. I need your help for installing from source. Do you by chance have the steps for installation?? I tried to to install the packages but as I explained for Bruno, it was not successful. I also need to know which instance do you use. I currently use t2.micro (free one) but this is even slower than my own computer Thanks so much for your 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 JIPEIQI posted a new comment: Hi, I installed yade from source -- 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 Nima Goudarzi gave more information on the question: Hi Bruno, I installed yadedaily successfully and run a simulation (although the instance I use is a free one[t2.micro] and my own computer is much faster than it- I tried to deposit a large number of polyhedra in a box with an small dt). I was not lucky in installing form source code. At the first step I am not able to install packages required and as you know without this packages there won't be a chance for installing from source code. When I try to install packages using 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-pyqt5.qtwebkit gtk2-engines-pixbuf python-argparse python-pyqt5.qtsvg \ 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 As what I do for my own computer. The error issued is: E: Unable to locate package xxx Is there any advise for installing required packages on Ubuntu server 16.04 LTS AMI in aws??? I plan to transfer required folders (I mean trunk,install and bin) to the remote computer (server) using FileZila and try to install from source code like we do on local computers after installing packages. Thanks so much Nima -- 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 Status: Answered => Open Nima Goudarzi is still having a problem: Hi JIPEIQI Thanks for your advice. 1- Have you installed yade from source code or just installed yade-daily as explained in documentation? 2-sorry I didn't get this" may be esys-particle software is a option?" Regards, Nima -- 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 JIPEIQI posted a new comment: Sorry that is 200k and 1000k particles -- 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 Status: Open => Answered JIPEIQI proposed the following answer: Hi Nima I'm working on HPC now, and I found the performance will not be increased significantly. >>number of particles might exceed 100 not sure this will ok. Cause I'm running about 20k-particle simulations, the perfromance will be the best at -j 8. More cores will only slow down the simulation. not sure about the 100k simulation, may be esys-particle software is a option? for compilation problem you can post new questions and we might konw the 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 Bruno Chareyre posted a new comment: Well, we can help if you have specific compilation problems. "No success" is not that kind. :) B -- 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 Status: Open => Answered Bruno Chareyre proposed the following answer: Oh, sorry, I thought you did not find https://yade-dem.org/doc/amazonEC2.html Nevertheless, looking at that page suggests that you can do on AWS nearly everything as if you were on a ubuntu desktop (with admin rights). I don't expect special problems to compile yade then, but I don't know if anyone tried before. Bruno -- 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 Status: Answered => Open Nima Goudarzi is still having a problem: Hi Bruno, What search engine? google, YADE Documentation or AWS itself? I know it is possible to install yade daily on AWS (EC2) but don't know if it is possible to install yade from source code on it or not. As you know AWS might not free for many hours of simulations (limited hours are free for the first year) and that is why I need to ensure that I'll be able to install from source code before activating my account there. What I have found so far is https://yade-dem.org/doc/amazonEC2.html which mainly explains about installing yadedaily. I need to know if anyone has installed YADE from source code (I mean new contact models,)on AWS (EC2). Thanks sincerely NG -- 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 #668211]: Installing Yade from source code on AWS
Question #668211 on Yade changed: https://answers.launchpad.net/yade/+question/668211 Status: Open => Answered Bruno Chareyre proposed the following answer: Did you try "yade AWS" in your search engine? ;) B -- 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 #668211]: Installing Yade from source code on AWS
New question #668211 on Yade: https://answers.launchpad.net/yade/+question/668211 Hi, I’m wondering if someone let’s me know if it is possible to install YADE from source code on AWS. I have some large scale simulations to check my developed model using a cluster. Any helps is highly appreciated . If anyone has the experience, I need the steps for doing this. Thanks Nima -- 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