Multithreading / app_config.xml
log in

Advanced search

Message boards : Number crunching : Multithreading / app_config.xml

Author Message
EG
Send message
Joined: 29 May 17
Posts: 3
Credit: 4,735,094
RAC: 0
Message 5317 - Posted: 30 Jun 2019, 21:18:10 UTC

Just tried this from the FAQ....

Multithreading / app_config.xml

It doesn't work for me.....

this is what I get....

6/30/2019 1:49:58 PM | SRBase | Your app_config.xml file refers to an unknown application 'srbase'. Known applications: None
6/30/2019 1:49:58 PM | SRBase | Your app_config.xml file refers to an unknown application 'srbase2'. Known applications: None
6/30/2019 1:49:58 PM | SRBase | Your app_config.xml file refers to an unknown application 'srbase3'. Known applications: None
6/30/2019 1:49:58 PM | SRBase | Your app_config.xml file refers to an unknown application 'srbase4'. Known applications: None

Please advise if this still works and how to implement it?

I may have gotten dumber in my old age....

Thank you...

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,686,081
RAC: 42,669
Message 5318 - Posted: 30 Jun 2019, 21:20:08 UTC - in response to Message 5317.

Thats ok because you havent report any result for app x yet.

EG
Send message
Joined: 29 May 17
Posts: 3
Credit: 4,735,094
RAC: 0
Message 5319 - Posted: 30 Jun 2019, 21:22:55 UTC - in response to Message 5318.
Last modified: 30 Jun 2019, 21:48:22 UTC

But when I try to implement it the client stops working....

You mean I have to go and return a specific wu before this works?

Maybe I"m just kinda dense. {chuckle}

EG
Send message
Joined: 29 May 17
Posts: 3
Credit: 4,735,094
RAC: 0
Message 5320 - Posted: 30 Jun 2019, 21:58:41 UTC - in response to Message 5318.
Last modified: 30 Jun 2019, 21:59:00 UTC

That's ok,

I'll just run with this.....

<app_config>

<project_max_concurrent>24</project_max_concurrent>

</app_config>

If there is a better way I'm all ears....

mmonnin
Send message
Joined: 1 Feb 17
Posts: 30
Credit: 544,175,973
RAC: 45,412
Message 5321 - Posted: 3 Jul 2019, 23:32:36 UTC

It works fine even if a client has never ran all of the apps.

srbase = Sierpinski / Riesel Base
srbase2 = Riesel Base
srbase3 = Sierpinski Base
srbase4 = Sierpinski / Riesel Base - short

These aren't even long enough run times to need mt setup.

If the app_config from the FAQ isn't working its because of the part in ( ).
<avg_ncpus>4</avg_ncpus> (for WUprop optional)

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,686,081
RAC: 42,669
Message 5322 - Posted: 4 Jul 2019, 5:02:42 UTC

I have removed the note (for WUprop optional). Its confusing.

Profile mikey
Avatar
Send message
Joined: 29 Apr 16
Posts: 59
Credit: 1,506,585,415
RAC: 339,626
Message 5591 - Posted: 10 Jan 2020, 16:53:04 UTC - in response to Message 5320.

That's ok,

I'll just run with this.....

<app_config>

<project_max_concurrent>24</project_max_concurrent>

</app_config>

If there is a better way I'm all ears....


That has very little to do with multi-threading, all that does is tell your pc to run a max of 24 workunits at a time.

You need something like this:
<app_config>
<app>
<name>llrSR5</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrSR5</app_name>
<cmdline>-t 6</cmdline>
<avg_ncpus>4</avg_ncpus>
</app_version>
</app_config>

But this one is forPrime Grid and NOT SRBase.
Note that it has a maxconcurrent of one workunit and then is set to use 4 cpu cores for that single workunit.

Profile mikey
Avatar
Send message
Joined: 29 Apr 16
Posts: 59
Credit: 1,506,585,415
RAC: 339,626
Message 5592 - Posted: 10 Jan 2020, 17:04:21 UTC - in response to Message 5321.
Last modified: 10 Jan 2020, 17:22:06 UTC

It works fine even if a client has never ran all of the apps.

srbase = Sierpinski / Riesel Base
srbase2 = Riesel Base
srbase3 = Sierpinski Base
srbase4 = Sierpinski / Riesel Base - short

These aren't even long enough run times to need mt setup.

If the app_config from the FAQ isn't working its because of the part in ( ).
<avg_ncpus>4</avg_ncpus> (for WUprop optional)


I'm running the Sierpinski / Riesel Base - long workunits, do you happen to know the name and number of it?

I agree the ones you listed aren't worth assigning multiple cores for.

ps--never mind I guessed and counted down from the top of the app page and it's srbase5. The file is now working running 3 wu's at a time and using 6 cpu cores for each one.

pps--well poop!! Every wu running multi-threaded crashed after running for 5 1/2 days single threaded, I thought that might happen but was getting concerned that they wouldn't finish in time if I left them alone.

Sorry to all my wingmen I was trying to return them in time!!


Post to thread

Message boards : Number crunching : Multithreading / app_config.xml


Main page · Your account · Message boards


Copyright © 2014-2024 BOINC Confederation / rebirther