Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go ยป
No member browsing this thread
Thread Status: Active
Total posts in this thread: 31
Posts: 31   Pages: 4   [ 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4147 times and has 30 replies Next Thread
themoonscrescent
Veteran Cruncher
UK
Joined: Jul 1, 2006
Post Count: 1320
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
App_config.xml help required

Sorry for being a "Tim, nice but dim", but I'm not finding the answers that I'm looking for regarding App_config.xml and I'm hoping someone can answer them (I don't want to mess things up).

1) I can't find an App_config.xml file anywhere, so I assume I have to create one and put it in place?

2) I'm assuming that Boinc is best shut down when placing file in place? and also in what folder/s to place it?

3) Do I need to to finish All current work units before doing this, or can I just add it on the fly and restart Boinc? (assuming it has been shut down when putting the file in place).

4) Do I need to add an entry for each project or just those I wish to manipulate?

Thankyou in advance.
----------------------------------------


[Jan 10, 2013 10:01:47 PM]   Link   Report threatening or abusive post: please login first  Go to top 
twilyth
Master Cruncher
US
Joined: Mar 30, 2007
Post Count: 2130
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: App_config.xml help required

Here is the link for working with app_info.xml files.
http://www.xtremesystems.org/forums/showthrea...09-Working-app_info-files

You can add other projects but the app_info file must be coded for this with an entry for each additional project you wish to run.

The file goes in c:\program data\boinc\projects\www.worldcommunitygrid.org directory - assuming that you are using the default boinc directories. If not, adjust accordingly.

As long as you have been crunching at least one ver 7.05 HCC wu, you should have the science app needed for crunching the HCC-GPU wu's. If so, you can exit boinc manager making sure that you have also shut down all of the running science apps, put the xml file in the above noted directory and then restart boinc.

You should set the max and avg cpu parameters to 1.0 and the count parameter to 1 divided by the number of gpu threads you want. For example, here is my xml for a 2600k running 2 7950's with 8 threads per gpu.

<app_info>

<app>
<name>hcc1</name>
<user_friendly_name>Help Conquer Cancer</user_friendly_name>
</app>
<file_info>
<name>wcg_hcc1_img_7.05_windows_intelx86__ati_hcc1</name>
<executable/>
</file_info>
<file_info>
<name>hcckernel.cl.7.05</name>
<executable/>
</file_info>
<app_version>
<app_name>hcc1</app_name>
<version_num>705</version_num>
<platform>windows_intelx86</platform>
<plan_class>ati_hcc1</plan_class>
<avg_ncpus>0.5</avg_ncpus>
<max_ncpus>1.0</max_ncpus>

<coproc>
<type>ATI</type>
<count>0.125</count>
</coproc>
<file_ref>
<file_name>wcg_hcc1_img_7.05_windows_intelx86__ati_hcc1</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>hcckernel.cl.7.05</file_name>
<open_name>hcckernel.cl</open_name>
</file_ref>
</app_version>
</app_info>

As you can see, I have the avg cpu parm set to .5 since I have 2 gpu's. You would use 1.0 if you only have one gpu.

I have the count set to 0.125 since 1/8(threads) is 0.125

edit:note: program data is a hidden directory - you will need to unhide that. Let us know if you need help there.

edit2: the number of threads depends of various factors but as a general rule should not exceed the number of thread your cpu can run. i have a 2600k which runs 4 cores and 8 threads so I have selected a count of 8 - but that's 8 for each gpu or a total of 16.
----------------------------------------


----------------------------------------
[Edit 3 times, last edit by twilyth at Jan 10, 2013 10:40:50 PM]
[Jan 10, 2013 10:33:17 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: App_config.xml help required

twilyth, he's talking the [much simpler than app_info] new app_config.xml that became operational with the 7.0.42 test client. Once WCG adopts the 7.0.xx client, the app_info use will be immobilized, with timely notice so you have time to convert. You can though still use it for other projects that continue to allow so.

themooncrescent,
Sorry for being a "Tim, nice but dim", but I'm not finding the answers that I'm looking for regarding App_config.xml and I'm hoping someone can answer them (I don't want to mess things up).

1) I can't find an App_config.xml file anywhere, so I assume I have to create one and put it in place? Yes

2) I'm assuming that Boinc is best shut down when placing file in place? and also in what folder/s to place it? Yes too. It goes into projects\subfolder of WCG located in the BOINC data directory

3) Do I need to to finish All current work units before doing this No, or can I just add it on the fly and restart Boinc? Yes(assuming it has been shut down when putting the file in place). A future BOINC version after 7.0.44 will have a read in function same as for the cc_config.xml file

4) Do I need to add an entry for each project or just those I wish to manipulate? Yes, only for those sciences you which to deviate from defaults, all CPU processors, or more than 1 task per GPU card.

Thankyou in advance.

----------------------------------------
Help articles have been drafted and will be released when WCG formally adopts 7.0.42 or higher.
----------------------------------------
[Edit 1 times, last edit by Former Member at Jan 10, 2013 10:55:39 PM]
[Jan 10, 2013 10:52:18 PM]   Link   Report threatening or abusive post: please login first  Go to top 
branjo
Master Cruncher
Slovakia
Joined: Jun 29, 2012
Post Count: 1892
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: App_config.xml help required

Sorry for being a "Tim, nice but dim", but I'm not finding the answers that I'm looking for regarding App_config.xml and I'm hoping someone can answer them (I don't want to mess things up).

1) I can't find an App_config.xml file anywhere, so I assume I have to create one and put it in place?

2) I'm assuming that Boinc is best shut down when placing file in place? and also in what folder/s to place it?

3) Do I need to to finish All current work units before doing this, or can I just add it on the fly and restart Boinc? (assuming it has been shut down when putting the file in place).

4) Do I need to add an entry for each project or just those I wish to manipulate?

Thankyou in advance.


Hi themoonscrescent,

1. You have to install at least 7.0.42 Boinc Manager / Boinc Client from here (try 7.0.44): http://boinc.berkeley.edu/dev/forum_thread.php?id=6698

2. Here is my app_config.xml (containing all projects except of CEP2) which has to be modified by you according to your preferences and placed in C - ProgramData (hidden by default) - BOINC - projects - www.worldcommunitygrid.org (if you are running W7 64b, for other OS's follow SekeRob's recommendation)

<app_config>
<app>
<name>hcc1</name>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>dsfl</name>
<max_concurrent>8</max_concurrent>
</app>
<app>
<name>dddt2</name>
<max_concurrent>8</max_concurrent>
</app>
<app>
<name>sn2s</name>
<max_concurrent>8</max_concurrent>
</app>
<app>
<name>gfam</name>
<max_concurrent>8</max_concurrent>
</app>
<app>
<name>c4cw</name>
<max_concurrent>8</max_concurrent>
</app>
<app>
<name>faah</name>
<max_concurrent>8</max_concurrent>
</app>
<app>
<name>hpf2</name>
<max_concurrent>8</max_concurrent>
</app>
<app>
<name>beta</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta3</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta5</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta7</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta10</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta11</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta12</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta13</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta14</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta15</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta17</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
<app>
<name>beta18</name>
<max_concurrent>17</max_concurrent>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
</app_config>


The part <app>
<name>hcc1</name>
<gpu_versions>
<gpu_usage>.083333</gpu_usage>
<cpu_usage>.25</cpu_usage>
</gpu_versions>
</app>
allows me to run 12 HCC1 GPU tasks (on one GPU: 1/12 = 0.08333) using 3 CPU cores (4 tasks on each CPU core: 1/4 = 0.25) and choose what CPU projects will be run on the remaining 5 CPU threads (I have octo CPU) with Profile settings I described here http://www.worldcommunitygrid.org/forums/wcg/...d,34395_offset,100#405515

If you wish to run e.g. 3 C4CW tasks + 2 FAAH tasks, keep in your app_config only
<app_config>
<app>
<name>c4cw</name>
<max_concurrent>3</max_concurrent>
</app>
<app>
<name>faah</name>
<max_concurrent>2</max_concurrent>
</app>
</app_config>


I added all those "BetaXX" just to check if they will work in case WCG will run it in the future based on info from uplinger http://www.worldcommunitygrid.org/forums/wcg/...ad,34480_offset,50#407581 (and read also next post by SekeRob in the same thread)

3. If it will not work for you, post the details about your system and projects you would like to run and we will do our best to help you smile

Good luck and cheers peace
----------------------------------------

Crunching@Home since January 13 2000. Shrubbing@Home since January 5 2006

----------------------------------------
[Edit 1 times, last edit by branjo at Jan 10, 2013 11:23:55 PM]
[Jan 10, 2013 11:22:27 PM]   Link   Report threatening or abusive post: please login first  Go to top 
twilyth
Master Cruncher
US
Joined: Mar 30, 2007
Post Count: 2130
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: App_config.xml help required

twilyth, he's talking the [much simpler than app_info] new app_config.xml that became operational with the 7.0.42 test client. Once WCG adopts the 7.0.xx client, the app_info use will be immobilized, with timely notice so you have time to convert. You can though still use it for other projects that continue to allow so.

themooncrescent,
Sorry for being a "Tim, nice but dim", but I'm not finding the answers that I'm looking for regarding App_config.xml and I'm hoping someone can answer them (I don't want to mess things up).

1) I can't find an App_config.xml file anywhere, so I assume I have to create one and put it in place? Yes

2) I'm assuming that Boinc is best shut down when placing file in place? and also in what folder/s to place it? Yes too. It goes into projects\subfolder of WCG located in the BOINC data directory

3) Do I need to to finish All current work units before doing this No, or can I just add it on the fly and restart Boinc? Yes(assuming it has been shut down when putting the file in place). A future BOINC version after 7.0.44 will have a read in function same as for the cc_config.xml file

4) Do I need to add an entry for each project or just those I wish to manipulate? Yes, only for those sciences you which to deviate from defaults, all CPU processors, or more than 1 task per GPU card.

Thankyou in advance.

----------------------------------------
Help articles have been drafted and will be released when WCG formally adopts 7.0.42 or higher.

What do you mean by "immobilized"? Will there be parameters in the advanced config menus for GPU multithreading?
----------------------------------------


[Jan 10, 2013 11:30:54 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: App_config.xml help required

Config menus? The Advanced menu in BOINC Manager has an option to read in whatever you entered in the cc_config.xml. The plan is to do same for the app_config.xml, which *replaces* app_info. It has 2 simple lines to set the fractions a GPU task uses of GPU and CPU core, to multithread your GPU. Whilst, reading in the config files does not effectuate all changes, often still requiring to restart the client... it's like good old windows getting patched... still requiring a boot most of the time. KSplice for Linux the MS Bros still have not figured out.
[Jan 10, 2013 11:41:16 PM]   Link   Report threatening or abusive post: please login first  Go to top 
twilyth
Master Cruncher
US
Joined: Mar 30, 2007
Post Count: 2130
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: App_config.xml help required

Config menus? The Advanced menu in BOINC Manager has an option to read in whatever you entered in the cc_config.xml. The plan is to do same for the app_config.xml, which *replaces* app_info. It has 2 simple lines to set the fractions a GPU task uses of GPU and CPU core, to multithread your GPU. Whilst, reading in the config files does not effectuate all changes, often still requiring to restart the client... it's like good old windows getting patched... still requiring a boot most of the time. KSplice for Linux the MS Bros still have not figured out.

So IOW, instead of an app_info.xml file, I'll modify the existing cc_config.xml file to specify threads per gpu?

So that means I can then pick up other CPU projects without having to code them explicitly in an app_info as is now required? Cool beans .
----------------------------------------


[Jan 10, 2013 11:53:00 PM]   Link   Report threatening or abusive post: please login first  Go to top 
nanoprobe
Master Cruncher
Classified
Joined: Aug 29, 2008
Post Count: 2998
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: App_config.xml help required

So that means I can then pick up other CPU projects without having to code them explicitly in an app_info as is now required?

Exactly. All you need it the correct app name. You can run any project and dedicate any amount of CPU cores or GPU resources you want to each project by creating an app_config file for the projects you want to run and placing it in the correct project folder.
I was running 4 WCG, 2 SIMAP and 2 SkynetPOGS CPU tasks on an i7-860 by doing what I stated above. I then switched it to 8 WCG GPU tasks (0.50 CPU cores per task), 2 SIMAP and 2 POGS. Worked flawlessly. The combos are endless and the file creation is infinitely easier.
----------------------------------------
In 1969 I took an oath to defend and protect the U S Constitution against all enemies, both foreign and Domestic. There was no expiration date.


[Jan 11, 2013 1:23:02 AM]   Link   Report threatening or abusive post: please login first  Go to top 
themoonscrescent
Veteran Cruncher
UK
Joined: Jul 1, 2006
Post Count: 1320
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: App_config.xml help required

Wow, Thankyou everyone for the responses, I'm a little tired at the moment, but will read all in full and get testing asap, any other questions / queries / problems, I'll post as I'm setting up and testing.

Thankyou all again biggrin
----------------------------------------


[Jan 11, 2013 2:14:33 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Ingleside
Veteran Cruncher
Norway
Joined: Nov 19, 2005
Post Count: 974
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: App_config.xml help required

So IOW, instead of an app_info.xml file, I'll modify the existing cc_config.xml file to specify threads per gpu?

Not cc_config.xml, the new file is called app_config.xml

So that means I can then pick up other CPU projects without having to code them explicitly in an app_info as is now required? Cool beans .

Yes, for most users just adding info to run multiple HCC1 on their GPU at once is enough, while all CPU-projects works as before.

Only if WCG releases a new XYZ-project for GPU would it be neccessary to add another application to app_config.xml for most users.
----------------------------------------


"I make so many mistakes. But then just think of all the mistakes I don't make, although I might."
[Jan 11, 2013 8:42:58 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 31   Pages: 4   [ 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread