Welcome to MilkyWay@home

Raspberry pi 3 and Milkyway@home

Message boards : Number crunching : Raspberry pi 3 and Milkyway@home
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
vlado101

Send message
Joined: 10 Dec 14
Posts: 11
Credit: 3,312,862
RAC: 0
Message 64812 - Posted: 5 Jul 2016, 15:29:21 UTC - in response to Message 64682.  

Hi vlado101,

Good job!! You are learning...

Lets verify that we have the copied the executable file and have created "app_info.xml".

$ cd /home/pi/projects/milkyway/build/bin
$ ls -l

You should see the "milkyway" and "app_info.xml" files here. If not, post
the output here.

2. If the files are there, then do the following
$ cd /var/lib/boinc-client/projects
$ ls -l

You should see the "milkyway.cs.rpi.edu_milkyway" directory. If not, start here in the instructions:

$ sudo mkdir milkyway.cs.rpi.edu_milkyway

Do these two steps and give me an update.

Here is what the paths should look like:

/var/lib/boinc-client/projects
/var/lib/boinc-client/projects/milkyway.cs.rpi.edu_milkyway
/var/lib/boinc-client/projects/milkyway.cs.rpi.edu_milkyway/app_info.xml
/var/lib/boinc-client/projects/milkyway.cs.rpi.edu_milkyway/milkyway

Go here to see common Unix/Linux commands for students:

http://www.lamppi.com/index.php?menuID=home&homeRowID=4

Thanks

Clay


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.
ID: 64812 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
vlado101

Send message
Joined: 10 Dec 14
Posts: 11
Credit: 3,312,862
RAC: 0
Message 64813 - Posted: 5 Jul 2016, 15:30:56 UTC - in response to Message 64686.  

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.

Jake


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.
ID: 64813 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
cbeckham

Send message
Joined: 12 Jun 15
Posts: 9
Credit: 63,631
RAC: 0
Message 64856 - Posted: 11 Jul 2016, 2:56:35 UTC - in response to Message 64813.  

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&noteRowID=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
ID: 64856 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
DadX

Send message
Joined: 27 Oct 12
Posts: 8
Credit: 20,372,452
RAC: 45
Message 64955 - Posted: 29 Jul 2016, 17:30:55 UTC

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
ID: 64955 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
cbeckham

Send message
Joined: 12 Jun 15
Posts: 9
Credit: 63,631
RAC: 0
Message 64960 - Posted: 31 Jul 2016, 1:16:02 UTC - in response to Message 64955.  

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&noteRowID=11

Download and Install Milkyway@Home:
http://www.lamppi.com/index.php?menuID=note&noteRowID=13

Install Seti@Home:
http://www.lamppi.com/index.php?menuID=note&noteRowID=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
ID: 64960 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
DadX

Send message
Joined: 27 Oct 12
Posts: 8
Credit: 20,372,452
RAC: 45
Message 66400 - Posted: 7 May 2017, 23:43:00 UTC
Last modified: 7 May 2017, 23:43:33 UTC

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
ID: 66400 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
mmonnin

Send message
Joined: 2 Oct 16
Posts: 167
Credit: 1,005,837,132
RAC: 49,822
Message 66444 - Posted: 17 May 2017, 19:21:35 UTC - in response to Message 66400.  

Interesting. I wondering if this will work on a Pi2. I might have to try it.
ID: 66444 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
DadX

Send message
Joined: 27 Oct 12
Posts: 8
Credit: 20,372,452
RAC: 45
Message 67555 - Posted: 31 May 2018, 2:55:32 UTC

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!
ID: 67555 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
tehhustler

Send message
Joined: 12 May 18
Posts: 1
Credit: 378,637
RAC: 0
Message 67599 - Posted: 13 Jun 2018, 21:23:01 UTC

I followed these instructions just fine and happily crunching away. Slowly but surely...

I think this wouldn’t require much work to officially support.
ID: 67599 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2

Message boards : Number crunching : Raspberry pi 3 and Milkyway@home

©2024 Astroinformatics Group