Welcome to MilkyWay@home

Posts by vlado101

1) Message boards : Cafe MilkyWay : Patreon account? (Message 71609)
Posted 17 Jan 2022 by vlado101
Post:
Hello fellow crunchers,

Do you know if MilkyWay has a Patreon account or plans on creating one? It would be an easy way to donate, besides the compute time, to help maintain the project.

Thank you
2) Message boards : Number crunching : Raspberry pi 3 and Milkyway@home (Message 64813)
Posted 5 Jul 2016 by vlado101
Post:
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.
3) Message boards : Number crunching : Raspberry pi 3 and Milkyway@home (Message 64812)
Posted 5 Jul 2016 by vlado101
Post:
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.
4) Message boards : Number crunching : Raspberry pi 3 and Milkyway@home (Message 64680)
Posted 17 Jun 2016 by vlado101
Post:
Hi Mr. Weiss,

Here are the instructions. I uninstalled Milkyway on my server and used the instructions below to reinstall. They worked for me.

Thank you for all of your help!!

Thanks

Clay

======================

Source:
http://www.lamppi.com/index.php?menuID=note&noteRowID=11

======================

Title: Compile and Install Milkyway@Home


1. Join Milkyway@Home if you do not have an account.

Site: https://milkyway.cs.rpi.edu/

Note: Record your email address, password and weak account key.
Note: If you do not have a team, join "Raspberry Pi".

2. Make a backup of your current microSD chip

3. Update system and install Boinc (in a terminal shell)

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
$ sudo apt-get install dnsutils whois unzip lsb-release
$ sudo apt-get install chkconfig dos2unix
$ sudo apt-get install git
$ sudo apt-get install cmake
$ sudo apt-get install build-essential
$ sudo apt-get install boinc
$ sudo apt-get clean
$ sudo reboot
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
$ sudo reboot

4. Get and compile the Milkyway project

$ cd /home/pi
$ mkdir /home/pi/projects
$ cd /home/pi/projects
$ mkdir /home/pi/projects/milkyway
$ cd /home/pi/projects/milkyway
$ git clone https://github.com/Milkyway-at-home/milkywayathome_client.git
$ cd milkywayathome_client
$ git submodule init
$ git submodule update --recursive
$ cd /home/pi/projects/milkyway
$ mkdir /home/pi/projects/milkyway/build
$ cd /home/pi/projects/milkyway/build
$ cmake ../milkywayathome_client -DBOINC_RELEASE_NAMES=ON -DSEPARATION=ON -DNBODY_OPENMP=OFF -DSEPARATION_OPENCL=OFF
$ make

5. Create our boinc files
$ cd /home/pi/projects/milkyway/build/bin
$ ls -l
[You will see the output from the compiler.
[In this example we will use the following file name:]
["milkyway_separation_1.36_unknown-system"]
$ cp milkyway_separation_1.36_unknown-system milkyway
[Create and add the following text to the new file]
[note the version number matches our executable]
[remove the space between tags < >]
$ nano app_info.xml
< app_info >
< app >
< name >milkyway< /name >
< /app >
< file_info >
< name >milkyway< /name >
< executable/ >
< /file_info >
< app_version >
< app_name >milkyway< /app_name >
< version_num >136< /version_num >
< file_ref >
< file_name >milkyway< /file_name >
< main_program/ >
< /file_ref >
< /app_version >
< /app_info >

6. Install the executable in boinc
$ cd /var/lib/boinc-client/
$ ls -l
[You should see a "projects" folder. If not, create it.]
[$ sudo mkdir projects]
[$ sudo chown boinc:boinc -R projects]
$ cd projects
$ sudo mkdir milkyway.cs.rpi.edu_milkyway
$ sudo chown boinc:boinc -R milkyway.cs.rpi.edu_milkyway
$ cd milkyway.cs.rpi.edu_milkyway
$ sudo cp /home/pi/projects/milkyway/build/bin/milkyway .
$ sudo cp /home/pi/projects/milkyway/build/bin/app_info.xml .
$ cd /var/lib/boinc-client/
$ sudo chown boinc:boinc -R projects
$ cd /home/pi

7. Attach to the Milkyway project
$ boinccmd --project_attach http://milkyway.cs.rpi.edu/milkyway/ < your_weak_key >

8. Status and Help
$ boinccmd --help
$ boinccmd --get_state
$ more /var/lib/boinc-client/stdoutdae.txt
$ top [press "q" to quite]

9. Results should start showing up in your Milkyway account
Site: https://milkyway.cs.rpi.edu/milkyway/login_form.php?next_url=home.php

===================

1. Uninstall instructions
[The Milkyway@Home group will update the software from time]
[to time. This may cause validation errors in your account.]
[The following will remove the software and you can repeat]
[the steps above to re-install.]
$ boinccmd --project http://milkyway.cs.rpi.edu/milkyway/ detach
$ rm -Rf /home/pi/projects/milkyway
$ sudo rm -Rf /var/lib/boinc-client/projects/milkyway.cs.rpi.edu_milkyway

===================

Credit:
The above information would not have been possible without the help of Jake Weiss. Mr. Weiss is a project scientist with the Milkyway@Home group.



Hello cbeckham,

I am trying to follow your guide however for some reason I am hitting a snag.

The portion of code where I am facing issues is step 6.
Up to line "ls -l" I seem to be doing file. I have created the folder Projects

----------------------CMD Print out-----------------------------------
boinc boinc 60646 Jun 17 17:40 all_projects_list.xml
lrwxrwxrwx 1 root root 34 Jun 17 17:40 ca-bundle.crt -> /etc/ssl/certs/ca-certificates.crt
lrwxrwxrwx 1 root root 31 Jun 17 17:40 cc_config.xml -> /etc/boinc-client/cc_config.xml
-rw-r--r-- 1 boinc boinc 2466 Jun 17 17:43 client_state_prev.xml
-rw-r--r-- 1 boinc boinc 2466 Jun 17 17:43 client_state.xml
-rw-r--r-- 1 boinc boinc 155 Jun 17 17:43 coproc_info.xml
-rw-r--r-- 1 boinc boinc 112 Jun 17 17:43 daily_xfer_history.xml
lrwxrwxrwx 1 root root 43 Jun 17 17:40 global_prefs_override.xml -> /etc/boinc-client/global_prefs_override.xml
lrwxrwxrwx 1 root root 34 Jun 17 17:40 gui_rpc_auth.cfg -> /etc/boinc-client/gui_rpc_auth.cfg
-rw-r--r-- 1 boinc boinc 0 Jun 17 17:43 lockfile
drwxrwx--x 2 boinc boinc 4096 Jun 17 17:40 notices
drwxr-xr-x 4 boinc boinc 4096 Jun 17 18:13 projects
lrwxrwxrwx 1 root root 34 Jun 17 17:40 remote_hosts.cfg -> /etc/boinc-client/remote_hosts.cfg
-rw-r--r-- 1 boinc boinc 302 Jun 17 17:52 stderrdae.txt
-rw-r--r-- 1 boinc boinc 0 Jun 17 17:40 stderrgpudetect.txt
-rw-r--r-- 1 boinc boinc 6015 Jun 17 18:25 stdoutdae.txt
-rw-r--r-- 1 boinc boinc 0 Jun 17 17:40 stdoutgpudetect.txt
-rw-r--r-- 1 boinc boinc 573 Jun 17 18:25 time_stats_log
------------------------------------------------------------------------------------------------------

However when I try to execute the line "$ sudo cp /home/pi/projects/milkyway/build/bin/milkyway ."

I get the following error:

/var/lib/boinc-client/projects/milkyway.cs.rpi.edu_milkyway $ sudo cp /home/pi/projects/milkyway/build/bin/milkyway .
cp: cannot stat ‘/home/pi/projects/milkyway/build/bin/milkyway’: No such file or directory

I have made sure to follow your guide to the letters. Do you know where I might have gone wrong?

I am new to using command console and linux in general so any help you can give would be appreciated.
5) Message boards : Number crunching : Raspberry pi 3 and Milkyway@home (Message 64623)
Posted 6 Jun 2016 by vlado101
Post:
Hi Jake,

Thank you for posting the instructions. Once I get my Raspberry pi 3 I will try to follow them and see what I can make out of it. I will reply to original post with what I did so that others that are interested will have something to follow.
6) Message boards : Number crunching : Raspberry pi 3 and Milkyway@home (Message 64611)
Posted 1 Jun 2016 by vlado101
Post:
Hey,

You should definitely be able to crunch MW@home work units on a Raspberry Pi. The trouble is you would have to compile your own version of the client code. We currently don't officially support it, but feel free to download the source from https://github.com/Milkyway-at-home/milkywayathome_client and compile it. You will probably have to do a little work to get all of the dependencies to work, but it should compile and run.

Jake W.


Hi Jake,

Do you have a guide of how I would set that up? I am only getting into learning on how to use Pi. I am assuming this would not be as easy as getting BOINC from a repository and then attaching the project to it correct?

Apologize for my ignorance on the subject.
7) Message boards : Number crunching : Raspberry pi 3 and Milkyway@home (Message 64609)
Posted 1 Jun 2016 by vlado101
Post:
Doesn't seem like you can use a Raspberry Pi on MW@Home. There however is a very active user base for the Raspberry Pi over on the Einstein@Home project.


Thank you Keith. I thought as much, however I just wanted to be sure. I will check out Einstein@home.
8) Message boards : Number crunching : Raspberry pi 3 and Milkyway@home (Message 64606)
Posted 31 May 2016 by vlado101
Post:
Hello everyone,

I am interested in purchasing Raspberry Pi to be a stand alone BOINC machine. I know that the 3rd is faster than the previous ones, but still have a lot of catching up to do to match a PC crunching speed.

That said I read online forums and a couple mentioned that Milkyway@home has work units that are compatible with Raspberry, however neither the BOINC project page so I am assuming this project does not support it, but wanted to double check.

In either case has anyone used Raspberry for crunching? Has it been worthwhile in your opinion?

Thank you
9) Message boards : News : Server Maintanence (Message 64578)
Posted 27 May 2016 by vlado101
Post:
I've got about 60 tasks "Ready to Report". I guess this is a symptom of the server maintenance? Or did M@H knock off early for the long US holiday weekend? :D

Andrew


Same here. Probably due to the maintenance. Hopefully it will be up soon.
10) Message boards : Application Code Discussion : MilkyWay@Home for Android (and not only) (Message 64575)
Posted 26 May 2016 by vlado101
Post:
http://milkyway.cs.rpi.edu/milkyway/apps.php


Hi noderaser,

Thanks for providing the link. It seems like Milkyway@home does not have any applications for running on Andoid, however do you know if there are plans to introduce that in the future?

Thank you
11) Message boards : Application Code Discussion : MilkyWay@Home for Android (and not only) (Message 64572)
Posted 25 May 2016 by vlado101
Post:
Hello,

I also have the same question if Milkyway@home is available for Android.




©2024 Astroinformatics Group