app_config.xml file

Forum rules
Welcome to The Scottish Boinc Team boards. See forum rules in pinned post. If you can't be bothered then try not to be too naughty as I have a delete button to press and a ban hammer to swing.
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 6519
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

app_config.xml file

Unread post by Alez » Tue Jun 20, 2017 12:00 pm

The app_config file to use. To do this, create an ASCII file app_config.xml in the project's directory.

<app_config>
<app>
<name>xansons_gpu</name>
<max_concurrent>4</max_concurrent>
<gpu_versions>
<gpu_usage>1.0</gpu_usage>
<cpu_usage>1.0</cpu_usage>
</gpu_versions>
</app>
</app_config>
The best form of help from above is a sniper on the rooftop....
Image

User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 6519
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

Re: app_config.xml file

Unread post by Alez » Tue Jun 20, 2017 12:01 pm

You can use this one if you wish to change the default values for the MT application. Change the X to the values you wish.
max_concurrent = The maximum number of tasks of this application to run at a given time.
fraction_done_exact = if set, base estimates of remaining time solely on the fraction done reported by the app.
[<cmdline>--nthreads 7</cmdline>] = will use 7 threads, [<cmdline>--nthreads 2</cmdline>] = will use 2 threads etc.
max_concurrent = The maximum number of tasks of this application to run at a given time.

<app_config>
<app>
<name>xansons_gpu</name>
<max_concurrent>4</max_concurrent>
<fraction_done_exact/>
<gpu_versions>
<gpu_usage>1</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_versions>
</app>

<app_version>
<app_name>xansons_cpu</app_name>
<plan_class>mt_windows</plan_class>
<avg_ncpus>X</avg_ncpus>
<cmdline>--nthreads X</cmdline>
</app_version>
<project_max_concurrent>X</project_max_concurrent>
</app_config>
The best form of help from above is a sniper on the rooftop....
Image

Post Reply Previous topicNext topic

Return to “XANSONS for COD”

Who is online

Users browsing this forum: No registered users and 1 guest