Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
World Community Grid Forums
Category: Active Research Forum: OpenPandemics - COVID-19 Project Thread: Can't recognize ARM architecture |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 46
|
Author |
|
jab_au
Cruncher Australia Joined: Aug 23, 2005 Post Count: 5 Status: Offline Project Badges: |
This is how I did it. Assuming your using Boinc Stats to manage your Boinc systems https://www.boincstats.com/
Install Ubuntu 20.04 LTS 64bit https://ubuntu.com/download/raspberry-pi Setup OS with internet access Install Boinc (sudo apt install boinc-client) for headless sudo boinccmd --join_acct_mgr https://bam.boincstats.com <username> <password> Add armhf compatibility sudo dpkg --add-architecture armhf sudo apt update sudo apt-get install libc6:armhf libstdc++6:armhf sudo reboot Edit config file to support both types sudo nano /var/lib/boinc/cc_config.xml Add these lines to cc_config.xml <options> <alt_platform>arm-unknown-linux-gnueabihf</alt_platform> </options> Add the projects you want to your Pi to work on through boinc stats. |
||
|
poppinfresh99
Cruncher Joined: Feb 29, 2020 Post Count: 49 Status: Offline Project Badges: |
Setup OS with internet access I never needed to do this. Do you mean setup WiFi? Over Ethernet, I could immediately do one of the following... ssh -Y ubuntu@<ip address> ssh -Y ubuntu@ubuntu.local where password was initially ubuntu. How to find your IP address if you don't have access to your router is explained in tutorial in the link you gave. Install Boinc (sudo apt install boinc-client) for headless I also do headless, but I recommend the full install... sudo apt install boinc This allows you to run boincmgr & if you are using the "ssh -Y" with the -Y flag to enable trusted X11 forwarding (on macOS and Linux). If your OS is Windows and you are using PuTTY for SSH, install Xming and configure PuTTY to enable X11 forwarding... https://superuser.com/questions/119792/how-to-use-x11-forwarding-with-putty Add armhf compatibility sudo dpkg --add-architecture armhf sudo apt update sudo apt-get install libc6:armhf libstdc++6:armhf sudo reboot WCG doesn't require this, though Universe@home did, and I think some projects require extra libraries. The following command tells me that WCG is statically-linked rather than dynamically-linked... file /var/lib/boinc/projects/www.worldcommunitygrid.org/wcgrid_opn1_autodock_7.17_arm-unknown-linux-gnueabihf Add the projects you want to your Pi to work on through boinc stats. Oh, that's neat. I guess you don't need to run the following if you add the projects after changing cc_config.xml... sudo systemctl restart boinc-client |
||
|
mgpointner
Advanced Cruncher Argentina Joined: Nov 16, 2009 Post Count: 55 Status: Offline Project Badges: |
I use boinctui to manage the boinc client in my headless instalations
----------------------------------------sudo apt-get install boinctui |
||
|
hintsala
Advanced Cruncher Joined: Aug 2, 2006 Post Count: 128 Status: Offline Project Badges: |
I am trying to do the workout but my Pi wont let me change the cc_config.xml file. It says I don't have permission. What do I need to do?
---------------------------------------- |
||
|
spRocket
Senior Cruncher Joined: Mar 25, 2020 Post Count: 262 Status: Offline Project Badges: |
|
||
|
spRocket
Senior Cruncher Joined: Mar 25, 2020 Post Count: 262 Status: Offline Project Badges: |
I am trying to do the workout but my Pi wont let me change the cc_config.xml file. It says I don't have permission. What do I need to do? You need to be root. You could use sudo nano /var/lib/boinc-client/cc_config.xml as an example (nano the easiest-to-use editor, and is installed by default along with a cut-down version of vim). I'm running Ubuntu on my Raspberry Pis right now (aarch64), and have the following in my cc_config.xml, which came from a sticky thread somewhere (I don't remember if it was on this forum, or maybe Rosetta?): <options> |
||
|
|