Closed borismarin closed 10 years ago
Not sure if opencl drivers would be available in the box...
What about http://www.docker.io ? It is not really a vm, works only for linux, but seems to talk nicely to gpu's, and works with cuda: https://github.com/syoyo/docker-utils/tree/master/ubuntu-glx https://twitter.com/adapteva/status/461924607445192704
@borismarin @adrianq why copying and pasting? Using the bundled Eclipse and the Python script didn't work? I will look into Vagrant/Docker anyway.
@tarelli I usually take the red pill which takes some time but it is ok. I do not know if @borismarin has tried the blue pill (bundled Eclipse and Python script)...
I am more concerned with an overdose of pills: each time my setup ceases to work for some reason (third time already), I have to rm -rf and take another pill -- which, as @adrianq said, tends to take time, and spoils my appetite.
I am not claiming this is a good solution, though. Just suggesting. It might as well be that the bundled docker/vm/whatever has the same problems as a fresh build, but at least it can be reset to a pristine state each time, potentially faster.
Do you have github issues open for the problems you've encountered? It would be good to track them for the benefit of future devs.
No. But I should, sorry.
@mlolson to polish his version of the development script and merge it into the current one
@mlolson I moved the script to https://github.com/openworm/org.geppetto/tree/master/utilities as soon as you get a chance to update it with what you have then we can start collectively improving it!
We have to work on this script but I think it is gonna be a little bit tricky to have a good script for any environment (os, eclipse version, java version, virgo tool, virgo server...) I have tried to install the dev environment today. Firstly using the script and then manually. It took me some time (more than I was expecting) and finally I have to beg @tarelli for some help/tricks. I doubt these tricks (mvn update project and mvn install) can be easily scriptable... I am not an expert on installation/compilation subjects but if we want something straightforward (or maybe we just have to accept this is a dev environment which needs some expertise/help in order to be properly configurated) we have to think about any sort of virtual box.
@adrianq @mlolson has contributed a version of the script which is IDE agnostic. Of course being IDE independent it doesn't get to the "setup the IDE" bit which is where you got stuck for instance but it's a really good and solid start. As you say the part about getting a specific IDE to work is not scriptable (unfortunately the different IDEs are not fully scriptable like Geppetto:)) so my proposal for that "last mile" is to compile a wiki for every IDE with instructions for how to hook up the dev environment with it. @adrianq @mlolson @borismarin @jrmartin @jrieke @pgleeson @gidili What do you guys think? This is the wiki page the Matt wrote for how to use the new script https://github.com/openworm/org.geppetto/wiki/OSX-Linux-setup-instructions-(IDE-agnostic).
Thanks @mlolson ! I have added some extra info to the prerequisites section; it would be great if someone could actually test the steps and correct any lapses...
On 26 May 2014 13:29, Matteo Cantarelli notifications@github.com wrote:
@adrianq https://github.com/adrianq @mlolsonhttps://github.com/mlolsonhas contributed a version of the script which is IDE agnostic. Of course being IDE independent it doesn't get to the "setup the IDE" bit which is where you got stuck for instance but it's a really good and solid start. As you say the part about getting a specific IDE to work is not scriptable (unfortunately the different IDEs are not fully scriptable like Geppetto:)) so my proposal for that "last mile" is to compile a wiki for every IDE with instructions for how to hook up the dev environment with it. @adrianqhttps://github.com/adrianq @mlolson https://github.com/mlolson @borismarinhttps://github.com/borismarin @pgleeson https://github.com/pgleeson @gidilihttps://github.com/gidiliWhat do you guys think? This is the wiki page the Matt wrote for how to use the new script https://github.com/openworm/org.geppetto/wiki/OSX-Linux-setup-instructions-(IDE-agnostic) .
Reply to this email directly or view it on GitHubhttps://github.com/openworm/org.geppetto/issues/70#issuecomment-44184687 .
@borismarin nice. @tarelli Good idea, probably time to upgrade to Intellij 13 (v12 doesn't have a good plugin for virgo)
Closing this one as I created more specific cards for the remaining tasks.
Please consider packing a geppetto dev env into a vagrant (or similar) box. Copying-and-pasting from the instructions to get a working env seems to be getting more and more frustrating, as @adrianq can attest.