Best app_config.xml

[AF>EDLS]zOU
[AF>EDLS]zOU
Joined: 5 May 15
Posts: 65
Credit: 384235373
RAC: 0

just anything in the

just write anything in the app_config (<name>test</name>) and BOINC notice will immediatly tell you which are the valid app names.

Drago75
Drago75
Joined: 19 Sep 20
Posts: 15
Credit: 22660049
RAC: 44723

Does anybody have an

Does anybody have an app_config.xml to set up the new O3MD cpu tasks to be run on several cpu threads? On a single thread they run for a long time so I would like to run the tasks on 7 cpu threads.

mikey
mikey
Joined: 22 Jan 05
Posts: 12718
Credit: 1839120911
RAC: 3603

Drago75 wrote: Does anybody

Drago75 wrote:

Does anybody have an app_config.xml to set up the new O3MD cpu tasks to be run on several cpu threads? On a single thread they run for a long time so I would like to run the tasks on 7 cpu threads.

Not all apps can be multi-threaded so you might ask around before you try

Here's one I use for Yoyo ecmp2 tasks:

<app_config>
<app_version>
<app_name>ecmp2</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
</app_version>
</app_config>

You can copy and paste that into the Einstein folder in c:\program data\boinc\program\'einstein folder' save it as app_config.xml and be sure it doesn't add .txt to the end of the filename when you do it, Windows has a bad habit of that.

use Notepad in Windows and test editor in Linux. Once you have it saved come back to Boinc Manager and click on Options, read config files and it should show an error message under Notices with a listing what to put instead of ecmp2 as it's not an Einstein recognized file name.

Drago75
Drago75
Joined: 19 Sep 20
Posts: 15
Credit: 22660049
RAC: 44723

Thanks Mikey.My

Thanks Mikey.

My app_config.xml looks like this now:

<app_config>
<app>
<name>einsteinbinary_BRP7</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.5</cpu_usage>
</gpu_versions>
</app>

<app_version>
<app_name>einstein_O3MD1</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
</app_version>
</app_config>

Boinc throws this error message: Entry in app_config.xml for app 'einstein_O3MD1', plan class '' doesn't match any app versions.

 

I don't see any line that says 'plan class'. Or do you think it has something to do with the part above? Anyway I will use this also for ECM2 where I had the same problem. :-)

Ian&Steve C.
Ian&Steve C.
Joined: 19 Jan 20
Posts: 3983
Credit: 47421742642
RAC: 62426157

mikey's app_config example is

mikey's app_config example is from a completely different project. it's not applicable to the application here.

these tasks cannot be multithreaded. they are coded for 1 thread only. adding additional command line parameters that the app isnt coded for will either have no affect or cause errors.

 

the nature of your specific error about the plan class not matching appears to be because you did not define what the plan class is. you likely need a plan class element there. check your client_state file for the app_version section correlating to that app and find what it's plan class is listed as and use that.

_________________________________________________________________________

Drago75
Drago75
Joined: 19 Sep 20
Posts: 15
Credit: 22660049
RAC: 44723

Ah ok, thanks Ian & Steve.

Ah ok, thanks Ian & Steve. That explains it. So they are best left alone. It would be great if a multithread setting would be implimented in the preferances IF possible. If not I need more time to complete those units.

mikey
mikey
Joined: 22 Jan 05
Posts: 12718
Credit: 1839120911
RAC: 3603

Drago75 wrote: Ah ok,

Drago75 wrote:

Ah ok, thanks Ian & Steve. That explains it. So they are best left alone. It would be great if a multithread setting would be implimented in the preferances IF possible. If not I need more time to complete those units. 

I too had to stop running the cpu app on alot of my pc's because they were taking more than 24 hours each and then trying to run 10+ at a time at a time and a 1.5 day cache meant I had waaaaay too many tasks and I had to abort a bunch of them. I was hoping you could make it work but as Ian & Steve said some apps just can't be multi-threaded.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.