Message boards :
Number crunching :
Raspberry pi 3 and Milkyway@home
Message board moderation
Previous · 1 · 2
Author | Message |
---|---|
Send message Joined: 10 Dec 14 Posts: 11 Credit: 3,312,862 RAC: 0 |
Hi vlado101, Hi Clay, Sorry for the long time before my post. Here is what I have. For Step 1) this is the read out that I get when I put in the list command: ----------- pi@raspberrypi:~/projects/milkyway/build/bin $ ls -l total 2876 -rw------- 1 pi pi 280 Jun 17 18:10 app_info.xml.save -rwxr-xr-x 1 pi pi 209988 Jun 17 17:59 lua -rwxr-xr-x 1 pi pi 1855004 Jun 17 18:01 milkyway_nbody_1.62_unknown-system -rwxr-xr-x 1 pi pi 850372 Jun 17 18:00 milkyway_separation_1.36_unknown-system -rwxr-xr-x 1 pi pi 16744 Jun 17 17:59 xxd ------------- I do have the app_info.xml file, however it have the .save extention so I am not sure if that is correct. For your second step I have listed out all the projects that I currently have attached to the BOINC client: --------------------------- pi@raspberrypi:~/projects/milkyway/build/bin $ cd /var/lib/boinc-client/projects pi@raspberrypi:/var/lib/boinc-client/projects $ ls -l total 16 drwxr-xr-x 4 boinc boinc 4096 Jun 17 18:21 milkyway.cs.rpi.edu_milkyway drwxr-xr-x 2 boinc boinc 4096 Jun 17 18:13 milkyway.cs.rpi.edu.milkyway drwxrwx--x 2 boinc boinc 4096 Jul 5 13:45 universeathome.pl_universe drwxrwx--x 2 boinc boinc 4096 Jun 30 20:04 www.worldcommunitygrid.org -------------------------- As far as your response that shows what it should look like it is not matching 100%. It seems that maybe I should delete and perhaps try again. It also seems like the version of the program has been changed as well when I looked at the news section. |
Send message Joined: 10 Dec 14 Posts: 11 Credit: 3,312,862 RAC: 0 |
Also remember /home/pi/projects/milkyway/build/bin may not be the path to the file you are trying to copy. You may need to replace "pi" with your username on your RaspberryPi if it is different than the default. Hi Jake, The original username that I am using is pi at the moment so I don't believe that should be an issue. Thank you for the heads up though. |
Send message Joined: 12 Jun 15 Posts: 9 Credit: 63,631 RAC: 0 |
Hi vlado101, I created a new note page. Can you give this a try and let me know if it works. I tried it and was successful. You will have to get the "milkyway_136_jesse_20160710_tar.zip" file to your Pi. Maybe open the link in a browser on the Pi. In the example, I assume that the file is in "/home/pi". Once you get the file to your server, then just follow the instructions. Also note that if you detach from a project, it will remove that file set from "/var/lib/boinc-client/projects". You will need to re-extract it again. Download and Install Milkyway@Home: http://www.lamppi.com/index.php?menuID=note¬eRowID=13 In your post, you did compile the program: -rwxr-xr-x 1 pi pi 850372 Jun 17 18:00 milkyway_separation_1.36_unknown-system You need to copy this file to "milkyway" $ cp milkyway_separation_1.36_unknown-system milkyway In your "/var/lib/boinc-client/projects folder, I see two MilkyWay listings. I am guessing these are not valid. Right? If that is true, detach from the project, then remove the directories below. drwxr-xr-x 4 boinc boinc 4096 Jun 17 18:21 milkyway.cs.rpi.edu_milkyway drwxr-xr-x 2 boinc boinc 4096 Jun 17 18:13 milkyway.cs.rpi.edu.milkyway $ cd /var/lib/boinc-client/projects $ boinccmd --project http://milkyway.cs.rpi.edu/milkyway/ detach Then remove whatever MilkyWay directory is left over. $ sudo rm -Rf milkyway.cs.rpi.edu_milkyway $ sudo rm -Rf milkyway.cs.rpi.edu.milkyway Then follow the new instructions. Let me know how if goes. Thanks Clay |
Send message Joined: 27 Oct 12 Posts: 8 Credit: 20,372,452 RAC: 45 |
Jake and Clay, You guys are awesome. Thank you for posting the all the steps you went through to build the app. Now I'll have to get s 2nd PI3 to make and run MW applications. Which apps did you get and run tasks for? How long did they run and how much credit was awarded? BTW - From experience running Universe@home on the PI3, you may need to actively cool it if you're running all 4 processors at 100%. It tends to freeze up after a while if you don't. Thanks DadX |
Send message Joined: 12 Jun 15 Posts: 9 Credit: 63,631 RAC: 0 |
Hi DadX, I looked at my MilkyWay@Home account and see the following information: Average Credit: 179.01 Average Turnaround time: 1.82 Days I am running MilkyWay@Home and Seti@Home on my new 3B Pi. I am not sure how boinc computes the statistics as boinc will switch out jobs between MilkyWay and Seti. When I check the server, sometimes I see Seti running or MilkyWay or both. Thanks to Mr. Weiss (MilkyWay Project Scientist), I have created 3 notes: Compile and Install Milkyway@Home: http://www.lamppi.com/index.php?menuID=note¬eRowID=11 Download and Install Milkyway@Home: http://www.lamppi.com/index.php?menuID=note¬eRowID=13 Install Seti@Home: http://www.lamppi.com/index.php?menuID=note¬eRowID=12 Of interest, I may know what the issue is with your Pi server freezing up. I had the same problem... Your server will need to be re-booted every few weeks running jobs within boinc. The issue is with the OS page cache for memory Management. I created a cron job that clears the page cache once every night at midnight. I think the command is "sync; echo 3 > /proc/sys/vm/drop_caches" (run as root). Once I installed this cron job, my Pi's run 24x7x365. I only stop them for backups. Thanks Clay |
Send message Joined: 27 Oct 12 Posts: 8 Credit: 20,372,452 RAC: 45 |
It's taken me a long time to get around to this, but... Are the instructions on how to compile and install M@H for a Raspberry Pi3 still applicable? Thanks DadX |
Send message Joined: 2 Oct 16 Posts: 167 Credit: 1,005,839,329 RAC: 46,505 |
Interesting. I wondering if this will work on a Pi2. I might have to try it. |
Send message Joined: 27 Oct 12 Posts: 8 Credit: 20,372,452 RAC: 45 |
Well 2 years later I finally got around to compiling and running Milkyway@home on a Raspberry PI 3 running Ubuntu Mate. I'm running 3 concurrent tasks and have completed 6 tasks, 5 validated and 1 "validation inconclusive". They have run between 110,000 and 120,000 seconds and been awarded between 227 and 230 credits. It's not much in the way of credits but there are few projects that run on the Raspberry platform and fewer still that award any substantive credits. I used the instructions posted by Clay (cbeckham) and they worked with only a few changes necessitated by the passage of time. Since the time they were posted some packages are no longer in the repositories but they didn't seem to be explicitly needed. The only differences of any significance I noted is that it compiles both applications and the names are no longer of the form milkyway_separation_1.36_unknown-system. I had milkyway_separation and milkyway_nbody in the bin directory when it completed the make. I copied milkyway_separation to milkyway which works. I haven't tried to run the nbody application so I don't know if it will work or get workunits. Initially it didn't get any WUs in response to the update command but I left it to run overnight and it had downloaded WUs and was crunching by morning. Jake and Clay, should you ever look at this thread again, THANKS! |
Send message Joined: 12 May 18 Posts: 1 Credit: 378,637 RAC: 0 |
I followed these instructions just fine and happily crunching away. Slowly but surely... I think this wouldn’t require much work to officially support. |
©2024 Astroinformatics Group