create account

A important warning to everyone trying to run cosmology@home in cpus with more than 8 threads. by ivanviso

View this thread on: hive.blogpeakd.comecency.com
· @ivanviso ·
$4.75
A important warning to everyone trying to run cosmology@home in cpus with more than 8 threads.
http://www.cosmologyathome.org/img/banner.jpg

It simply does not work. The application will crash and get frozen if you have more than 8 threads. Fortunately, we can fix it, well, sort of. 

First, we must go to the boinc folder. In windows systems it is C:\ProgramData\BOINC\ , in linux systems most users will have it installed in /var/lib/boinc . 

Once there we enter the projects folder, and then, the www.cosmologyathome.org folder. And we create a file named app_config.xml . In windows, make sure you are using the UTF-8 enconding, and not the ANSI one and copy and paste this : 




    <app_config>
     <app>
           <name>camb_boinc2docker</name>
           <max_concurrent>1</max_concurrent> 
     </app>
    <app_version>
          <app_name>camb_boinc2docker</app_name>
          <plan_class>vbox64_mt</plan_class>
          <avg_ncpus>8</avg_ncpus>
      </app_version>
    </app_config>


It will lock the project to a maximum of 8 cores, case we  want to lock it to less, we just have to change that number 8 for a smaller number.


I found this answer originally in the boinc forums, but i have not managed to find the original post again.
👍  , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorivanviso
permlinka-important-warning-to-everyone-trying-to-run-cosmology-home-in-cpus-with-more-than-8-threads
categorygridcoin
json_metadata{"tags":["gridcoin","steemstem","cosmology","boinc"],"image":["http://www.cosmologyathome.org/img/banner.jpg"],"app":"steemit/0.1","format":"markdown"}
created2018-04-27 22:33:27
last_update2018-04-27 22:33:27
depth0
children4
last_payout2018-05-04 22:33:27
cashout_time1969-12-31 23:59:59
total_payout_value3.662 HBD
curator_payout_value1.087 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,162
author_reputation448,087,264,912
root_title"A important warning to everyone trying to run cosmology@home in cpus with more than 8 threads."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id52,533,213
net_rshares757,943,695,734
author_curate_reward""
vote details (21)
@lumendan · (edited)
Thanks for the advice, I am only crunching Cosmology on a PC without VitrualBox so I haven't run into this problem  but I will bookmark this article for future reference.
I have used app_config.xml to restrict memory hungry projects on my low spec computers but this is a much more detailed fix than I would have created on my own.
>In windows, make sure you are using the UTF-8 enconding, and not the ANSI one

I have created ANSI encoded (default encoding for Notepad) app_config.xml files on Windows without any problems but it's also advice I will keep on file in case the encoding does ever cause issues for me.  

Fellow BOINC hackers can find general information about the use of app_info.xml at [https://boinc.berkeley.edu/wiki/Client_configuration](https://boinc.berkeley.edu/wiki/Client_configuration#Application_configuration)
properties (22)
authorlumendan
permlinkre-ivanviso-a-important-warning-to-everyone-trying-to-run-cosmology-home-in-cpus-with-more-than-8-threads-20180428t025503069z
categorygridcoin
json_metadata{"tags":["gridcoin"],"links":["https://boinc.berkeley.edu/wiki/Client_configuration#Application_configuration"],"app":"steemit/0.1"}
created2018-04-28 02:55:06
last_update2018-04-28 02:58:09
depth1
children3
last_payout2018-05-05 02:55:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length837
author_reputation155,257,586,704
root_title"A important warning to everyone trying to run cosmology@home in cpus with more than 8 threads."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id52,562,176
net_rshares0
@jamezz ·
thats not hacking its pretty well known you can create and edit app xml files , you can even run multiple threads on GPU's , that too is not hacking its called configuring your setup.
👍  
properties (23)
authorjamezz
permlinkre-lumendan-re-ivanviso-a-important-warning-to-everyone-trying-to-run-cosmology-home-in-cpus-with-more-than-8-threads-20180428t055105392z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-04-28 05:51:24
last_update2018-04-28 05:51:24
depth2
children2
last_payout2018-05-05 05:51:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length183
author_reputation-97,065,259,885
root_title"A important warning to everyone trying to run cosmology@home in cpus with more than 8 threads."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id52,583,559
net_rshares2,462,083,475
author_curate_reward""
vote details (1)
@ivanviso ·
Hacking depends a lot on context . Manipulating images used to be called hacking too. Its one of the most peculiar examples of language evolution.
properties (22)
authorivanviso
permlinkre-jamezz-re-lumendan-re-ivanviso-a-important-warning-to-everyone-trying-to-run-cosmology-home-in-cpus-with-more-than-8-threads-20180502t151628260z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-05-02 15:16:27
last_update2018-05-02 15:16:27
depth3
children0
last_payout2018-05-09 15:16:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length146
author_reputation448,087,264,912
root_title"A important warning to everyone trying to run cosmology@home in cpus with more than 8 threads."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id53,461,021
net_rshares0
@lumendan · (edited)
$0.05
I meant hacker as in a computer operator using some ingenuity to overcome a problem. Since the use of app_config.xml requires knowledge of the BOINC system beyond its everyday use I consider it a basic hack.  
I was using the word hacker as way of  creating a distinction between users who are willing to take extra steps to optimize their systems and users who prefer automatically configured settings or GUI based configuration tools. 
Some definitions of Hacker:
https://en.wikipedia.org/wiki/Hacker (definition 1)
http://www.catb.org/jargon/html/meaning-of-hack.html
https://en.oxforddictionaries.com/definition/hacker (definition 1.1)
I did not intend to imply malicious or unauthorized activity.
👍  
properties (23)
authorlumendan
permlinkre-jamezz-re-lumendan-re-ivanviso-a-important-warning-to-everyone-trying-to-run-cosmology-home-in-cpus-with-more-than-8-threads-20180428t095945745z
categorygridcoin
json_metadata{"tags":["gridcoin"],"links":["https://en.wikipedia.org/wiki/Hacker","http://www.catb.org/jargon/html/meaning-of-hack.html","https://en.oxforddictionaries.com/definition/hacker"],"app":"steemit/0.1"}
created2018-04-28 09:59:48
last_update2018-04-28 10:00:39
depth3
children0
last_payout2018-05-05 09:59:48
cashout_time1969-12-31 23:59:59
total_payout_value0.042 HBD
curator_payout_value0.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length701
author_reputation155,257,586,704
root_title"A important warning to everyone trying to run cosmology@home in cpus with more than 8 threads."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id52,614,929
net_rshares8,737,761,157
author_curate_reward""
vote details (1)