Project Settings -> Applications Selection is ignored

Phillip Bartschinski
Phillip Bartschinski
Joined: 8 Sep 12
Posts: 5
Credit: 10405086
RAC: 0
Topic 229370

Hi :)

I tried different things to get only one specific application, for example. But unfortunately I don't get it to work.

I set my Setting to the following:

And in the account_einstein.phys.uwm.edu.xml the settings seem to be correct:

<account>
    <master_url>https://einstein.phys.uwm.edu/</master_url>
    <authenticator></authenticator>
    <project_name>Einstein@Home</project_name>
<project_preferences>

  <venue/>
  <project_specific>
    <graphics fps="20" width="800" height="600" quality="low"/>
    <app_id>40</app_id>
    <libc215>1</libc215>
    <also_run_cpu>0</also_run_cpu>
    <allow_non_preferred_apps>0</allow_non_preferred_apps>
    <gpu_util_brp>1.00</gpu_util_brp>
    <gpu_util_fgrp>1.00</gpu_util_fgrp>
    <gpu_util_gw>1.0</gpu_util_gw>
  </project_specific>
  <resource_share>100</resource_share>
  <no_cpu>1</no_cpu>
  <no_cuda>1</no_cuda>
  <no_ati>0</no_ati>
  <no_intel_gpu>1</no_intel_gpu>
  <allow_beta_work>0</allow_beta_work>
  <modified>1681241967</modified>
</project_preferences>

 

I have also tried to restrict it over the projects/einstein.phys.uwm.edu/app_config.xml

<app_config>
    <app>
        <name>hsgamma_FGRPB1G</name>
        <max_concurrent>2</max_concurrent>
        <gpu_versions>
            <gpu_usage>.5</gpu_usage>
            <cpu_usage>2.0</cpu_usage>
        </gpu_versions>
    </app>
</app_config>

 

But I get every time more and more O3MDFG2 tasks.

My expectation is, that I get only FGRPB1G when I select only "Gamma-ray pulsar binary search #1 (GPU)" and Allow non-preferred apps=no.  Or are my expectations or settings wrong?

 

Thanks in advance for your help :)

Phillip

mikey
mikey
Joined: 22 Jan 05
Posts: 12702
Credit: 1839107786
RAC: 3605

Phillip Bartschinski

Phillip Bartschinski wrote:

Hi :)

I tried different things to get only one specific application, for example. But unfortunately I don't get it to work.

I set my Setting to the following:

 

 

But I get every time more and more O3MDFG2 tasks.

My expectation is, that I get only FGRPB1G when I select only "Gamma-ray pulsar binary search #1 (GPU)" and Allow non-preferred apps=no.  Or are my expectations or settings wrong?

 

Thanks in advance for your help :)

Phillip 

Over to the far right and at the bottom of the page above, it's off the screen shot, is 

click on it and see if maybe you have separate preferences in the different venues that conform to what you are seeing on your pc. You can then check you list of pc's to see which venue this one is in.

GWGeorge007
GWGeorge007
Joined: 8 Jan 18
Posts: 3075
Credit: 4975207686
RAC: 1433272

Hi Phillip

Hi Phillip Bartschinski,

Welcome to Einstein!

You said:  "And in the account_einstein.phys.uwm.edu.xml the settings seem to be correct:"

 

Actually, they are not... follow along...

<account>
    <master_url>https://einstein.phys.uwm.edu/</master_url>
    <authenticator></authenticator>
    <project_name>Einstein@Home</project_name>
<project_preferences>

This should be okay...

 

This isn't...  In the highlighted text (BOLD) you have a few errors...   Make the changes I've given...

  <venue/>
  <project_specific>
    <graphics fps="20" width="800" height="600" quality="low"/>
    <app_id>40</app_id>
    <libc215>1</libc215>
    <also_run_cpu>0</also_run_cpu>
    <allow_non_preferred_apps>0</allow_non_preferred_apps>
    <gpu_util_brp>0</gpu_util_brp>
    <gpu_util_fgrp>1.00</gpu_util_fgrp>
    <gpu_util_gw>0</gpu_util_gw>
  </project_specific>
  <resource_share>100</resource_share>
  <no_cpu>1</no_cpu>
  <no_cuda>1</no_cuda>
  <no_ati>1</no_ati>
  <no_intel_gpu>0</no_intel_gpu>
  <allow_beta_work>0</allow_beta_work>
  <modified>1681241967</modified>
</project_preferences>

You did not need to enter <venue/> (without the '/'), but if you did you would also need to have </venue>.  I changed your GPU settings for "BRP", "GW", "no_ati" and "no_intel_gpu".

Try this and see if it works!

George

Proud member of the Old Farts Association

GWGeorge007
GWGeorge007
Joined: 8 Jan 18
Posts: 3075
Credit: 4975207686
RAC: 1433272

Hi Phillip

Hi Phillip Bartschinski,

Welcome to Einstein!

You said:  "And in the account_einstein.phys.uwm.edu.xml the settings seem to be correct:"

You also said:  "My expectation is, that I get only FGRPB1G when I select only "Gamma-ray pulsar binary search #1 (GPU)" and Allow non-preferred apps=no.  Or are my expectations or settings wrong?"

 

In the highlighted text (BOLD) you have a few errors...   Make the changes I've given...

 


<account>
    <master_url>https://einstein.phys.uwm.edu/</master_url>
    <authenticator></authenticator>
    <project_name>Einstein@Home</project_name>
<project_preferences>

  <venue/>
  <project_specific>
    <graphics fps="20" width="800" height="600" quality="low"/>
    <app_id>40</app_id>
    <libc215>1</libc215>
    <also_run_cpu>0</also_run_cpu>
    <allow_non_preferred_apps>0</allow_non_preferred_apps>
    <gpu_util_brp>0</gpu_util_brp>
    <gpu_util_fgrp>1.00</gpu_util_fgrp>
    <gpu_util_gw>0</gpu_util_gw>
  </project_specific>
  <resource_share>100</resource_share>
  <no_cpu>1</no_cpu>
  <no_cuda>1</no_cuda>
  <no_ati>1</no_ati>
  <no_intel_gpu>0</no_intel_gpu>
  <allow_beta_work>0</allow_beta_work>
  <modified>1681241967</modified>
</project_preferences>

</account>


 

You did not need to enter <venue/> (without the '/'), but if you did you would also need to have </venue>, but you needed to add </account).  I've changed your GPU settings for "BRP", "GW", "no_ati" and "no_intel_gpu". 

For the time being, I have left you with  FGRPB1G  to receive the tasks.

Try this and see if it works!  Let me know if it doesn't.

George

Proud member of the Old Farts Association

GWGeorge007
GWGeorge007
Joined: 8 Jan 18
Posts: 3075
Credit: 4975207686
RAC: 1433272

Please ignore the message  "

Please ignore the message  " https://einsteinathome.org/goto/comment/210928 "

George

Proud member of the Old Farts Association

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5872
Credit: 117783785274
RAC: 34703061

GWGeorge007 wrote: Please

GWGeorge007 wrote:

Please ignore the message  " https://einsteinathome.org/goto/comment/210928 "

The OP should ignore all of your responses because you are giving bad advice.

The account file is NOT meant to be edited by the user.  It is created by the client at the time a user first joins the project.  Under normal circumstances when changes need to be made, the client will take care of it.  It is not normal procedure for a user to mess with that file.

If you want to give advice about that file, you should first ask if the user has made any changes to it.  If he has not, you shouldn't be suggesting any changes at all.  The file should be strictly left alone.

There is one thing that indicates that the user has not published the full file and that's just as well.  That thing is the authenticator line which normally has a 32 character value.  My guess is that the OP (for security reasons) deliberately excluded that value.  It was correct not to reveal that since it would allow someone else to hijack the account.

The <venue/> line you are telling the user to delete is required.  You should not be deleting it.  If you want to understand the meaning of tags like that with trailing slashes, take a look at your state file for examples like <sticky/>, <executable/> or <signature_required/>.  These things specify 'properties' which don't have a specific value other than the obvious meaning of the word itself.

My guess (and that's all it is) is that <venue/> is a placeholder to tell the client where to put the details of the home, school, work locations if a user ever decides to start using venues.  The fact that the placeholder is still there, suggests to me that the OP has not created specific locations and is just using the default "generic" preference set.  By looking at my own account file, the placeholder has been replaced by the three 'non-default' locations or venues.

Since the OP has only a single computer, why would he need the added burden of setting up the different locations?  He should just be editing the default generic preference set and giving locations a big miss.  They are really not needed for the current situation.

Since the actual set of generic preferences as given by the OP look OK, and if alternate locations (venues) haven't been specified, maybe it's just a matter of forcing an update through the manager to make sure the client has become aware of the latest generic settings.

Cheers,
Gary.

Phillip Bartschinski
Phillip Bartschinski
Joined: 8 Sep 12
Posts: 5
Credit: 10405086
RAC: 0

Hi @all, Thanks for the

Hi @all,

Thanks for the replies.

I din't modify the account_einstein.phys.uwm.edu.xml except to remove the authenticator value and leave out the gui_urls and the closing </account> tag. I added the xml to show that the settings from the project site is also on the client site. And when I see it right the file ist updatet every time you hit the Update Button.

I modified only the generic settings and my computer ist also set to generic location.

I have also tried to set the "GPU utilization factor of BRP/GW apps" to 0, but I get anyway GW apps.

@Gary how do I force an update to the manager?

@George Why should I set Intel GPU on and AMD/ATI off, when I want to use my AMD graphics processor? (<no_ati>1</no_ati> <no_intel_gpu>0</no_intel_gpu>)

For <venue/> it is a normal empty xml tag quotation.

Thanks

Phillip

GWGeorge007
GWGeorge007
Joined: 8 Jan 18
Posts: 3075
Credit: 4975207686
RAC: 1433272

Gary Roberts

Gary Roberts wrote:

GWGeorge007 wrote:

Please ignore the message  " https://einsteinathome.org/goto/comment/210928 "

The OP should ignore all of your responses because you are giving bad advice.

Thank you Gary for pointing out the error(s) of my ways.  I bow to your supremacy.

George

Proud member of the Old Farts Association

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5872
Credit: 117783785274
RAC: 34703061

Phillip Bartschinski

Phillip Bartschinski wrote:
@Gary how do I force an update to the manager?

Since you have also now stated, "... the file ist updatet every time you hit the Update Button." then you already know how to force an 'update' using the controls in BOINC Manager :-).

Because you already had lots of tasks, I had wondered if there might have been a delay before the client would need to talk to the project and be advised of any recent preference changes.  Obviously, with your further comment about using update, that isn't the reason for the problem.

In your first message, you also mentioned trying to use an app_config.xml file.  The file you showed doesn't need a <max_concurrent> setting since <gpu_usage> set to 0.5 limits the concurrent FGRPB1G tasks to 2 anyway.  AMD GPUs need very little CPU support so setting <cpu_usage> to 2 is way overkill.  Since you're not running CPU tasks, that doesn't matter for now.

Please realise that you don't really need to use an app_config.xml file to achieve what you want.  The easiest way would have been to use website settings with GPU utilization factor for FGRP apps set to 0.5.  The settings you showed have all 3 values at 1.00, which is correct for the defaults.  Put them back that way if you have changed any of them.

If an app_config.xml file is in use (have you restarted boinc or have you used the controls in BOINC Manager to 'reread config files'?) then you can't just delete it and simply go back to using the website settings.  So the basic question is whether or not an app_config.xml file is currently being used?  If it is, then just deleting it doesn't get rid of it since it's contents will have already been installed in the state file, client_state.xml.

Here is an easy way for you to tell if app_config.xml has been recognised.  On the assumption that the values you showed earlier are still the same, just open a user terminal session on your Arch Linux and execute the following command:-

grep -E '<count>|<avg_ncpus>' path/to/boinc/client_state.xml

where "path/to/boinc" is the path from where you are logged in to where the BOINC state file is stored.  You should see at least two <count> values, one for how many GPUs you are running and the other for the fraction of a GPU that a task will use.  The <avg_ncpus> value will be 2.000000 if your app_config.xml is in play.  Of course, this assumes that Einstein is your only project.  You may see multiple sets if there are other projects but the <avg_ncpus> value should still be indicative.  You will also see multiple sets for other Einstein science apps that you have run.

Report back on what you find.  It's possible that you just happened to get more non-FGRPB1G tasks until the changed settings had been communicated to the client.  There doesn't seem to be anything obvious that is allowing more of the wrong type of work.  Maybe I'm just blind - or dumb - or both :-).

Cheers,
Gary.

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5872
Credit: 117783785274
RAC: 34703061

GWGeorge007 wrote:...  I bow

GWGeorge007 wrote:
...  I bow to your supremacy.

Nobody has 'supremacy' around here. We all just try to help each other solve any problems that arise.

It's not helpful to give direct and forceful assertions about what to do unless you're really, really sure you understand the problem, and that you have direct experience that what you propose is guaranteed to work.  If it's just a possible suggestion and you're not 100% sure of the outcome, you need to make that clear.

There's an important Mark Twain quote that is always in my mind when I tell people what to do.  That quote is:-

"It ain't what you don't know that gets you into trouble.  It's what you know for sure that just ain't so."

 

Cheers,
Gary.

GWGeorge007
GWGeorge007
Joined: 8 Jan 18
Posts: 3075
Credit: 4975207686
RAC: 1433272

Gary Roberts wrote: It's not

Gary Roberts wrote:

It's not helpful to give direct and forceful assertions about what to do unless you're really, really sure you understand the problem, and that you have direct experience that what you propose is guaranteed to work.  If it's just a possible suggestion and you're not 100% sure of the outcome, you need to make that clear.

There's an important Mark Twain quote that is always in my mind when I tell people what to do.  That quote is:-

"It ain't what you don't know that gets you into trouble.  It's what you know for sure that just ain't so."

Well I thought I was confident in my response to Phillip until you pointed out that the "account" xml file wasn't to be messed with.  I guess I was in too big of a hurry to realize that I shouldn't have done, and said, what I did.  I was thinking that it was the "app_info.xml" file.  Obviously I was way wrong.

As for your quote, I like that one...  maybe I'll use it on myself.

I'll get something correct one of these days...

George

Proud member of the Old Farts Association

Comment viewing options

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