This procedure is based on the following:
- I am using ubuntu 19. It should work on other distros however.
- the login/user I am using is ubuntu so you may have to change the “chown” commands below to accommodate your login/user.
- my $HOME will be different then yours. just adjust.
- While I have tried for accuracy there could be errors. I will help when I can but I do not have a lot of free time. Not trying to be a jerk but ….
- There are two downloads – one from one location and another from my server.
1. install boinc
sudo apt-get install boinc-client boinc-manager
get n30dg’s modified code
sudo wget http://kerbodyne.com/einstein/einstein_64bit_0.13.tar
sudo chown boinc:boinc einstein_64bit_0.13.tar
sudo tar -xvf einstein_64bit_0.13.tar
restart boinc-client: systemctl restart boinc-client
be sure that directories have proper ownership, i.e.,
einstein.phys.uwm.edu should be owned by boinc:boinc and not root:root
Here I want to explain the files in the second tar file as well as providing some additional information. But first the bulk of this effort was done by: N30DG-Arm (christian beer – who did the bulk of the code modification), PORKYPIES, koschi, bikeman.
—————————–cut here ——————————————
Some Notes on the Files in this second tar file (below):
HSgammapulsar: Single-threaded Binary.
HSgammapulsar_n2: Multithreaded Binary (Highly experimental). Uses 2cores per Task, but only the FFTW part is multithreaded so performance is poor. Avg. CPU-usage is around 1.25. But you can give it a try on devices with low Memory. Boinc didn’t notice that it uses 2Cores per Task, so you have to manually limit Boinc to use only half the cores of your system.
FGRPB1wisdom.dat.S905.n2: Wisdom for the Multithreaded App, generated on a Amlogic S905 (Odroid C2)
FGRPB1wisdom.dat.rk3399.LowMem: Wisdom for the single threaded app, generated on a Rockchip RK3399, uses around 600MB per Task. Please use max 5 concurrent tasks on a system with 4GB.
FGRPB1wisdom.dat.rk3399.HighMem: Same as above but uses around 800MB per Task. Run’s much faster that the lowMem-wisdom. Perfect for a quad-core-system with 4GB of Memory. That’s what I’m using on my PI4’s.
fftwf-wisdom: App for generating your own wisdom.
As a starting point you can use one of my wisdoms. Please copy the desired wisdom-file to /etc/fftw/FGRP1Bwisdom.dat and make shure boinc can access it.
For ideal performance, you will have to create your own wisdom using the fftwf-wisdom tool. But notice that this will take at least several Day’s up to several Week’s to finish.
./fftwf-wisdom -o wisdom.dat rib67108864to generate a wisdom file with low memory profile.
./fftwf-wisdom -x -o wisdom.dat rib67108864to generate a wisdom file with high memory profile. Takes way longer than above, around a month on a A53.
—————————–cut here ——————————————
2. download the tar file from http://usefulramblings.org/?page_id=12404 — off to the right will be a list of downloads. you need to get the one called eh.tar.gz
3. place this file in a directory called $HOME/eh
4. to view the contents of the tar file: tar -tvf eh.tar.gz (8 files)
5. goal: to move these files from the $HOME/eh directory to where they belong
in the boinc directory structure
6. cd to the directory where the the tar file is: $HOME/eh
7. extract the files: tar -xf eh.tar.gz
8 files are now in $HOME/eh
8. we now need to move them into the appropriate directories for boinc.
a. sudo mkdir /etc/fftw
b. sudo chown boinc:boinc /etc/fftw
c. cd $HOME/eh
d. sudo cp FGRPB1wisdom.dat.rk3399.LowMem /etc/fftw
e. sudo mv /etc/fftw/FGRPB1wisdom.dat.rk3399.LowMem FGRPB1wisdom.dat
f. sudo chown boinc:boinc FGRPB1wisdom.dat
g. sudo cp $HOME/eh/app_info.xml /var/lib/boinc-client/projects/einstein.phys.uwm.edu
h. sudo chown boinc:boinc /var/lib/boinc-client/projects/einstein.phys.uwm.edu/app_info.xml
i. sudo cp $HOME/eh/HSgammapulsar /var/lib/boinc-client/projects/einstein.phys.uwm.edu
j. sudo chown boinc:boinc /var/lib/boinc-client/projects/einstein.phys.uwm.edu/HSgammapulsar
k. sudo chmod +x /var/lib/boinc-client/projects/einstein.phys.uwm.edu/HSgammapulsar
9. on the Einstein@Home website for your location: “Use CPU” in project setting set to “yes”
10. on the Einstein@Home website for your location: “Run CPU versions of applications for which GPU versions are
available set to “Yes”
10. on the Einstein@Home website under account–>preferences–project–> preference-set check “gamma ray pulsar search #5”
11. systemctl restart boinc-client <– restart boinc-client (all currently running jobs will be lost.
12. join the einstein@home project.