Exclude Applications from CPU

Questions and Answers : Preferences : Exclude Applications from CPU
Message board moderation

To post messages, you must log in.

AuthorMessage
Don

Send message
Joined: 23 Aug 17
Posts: 7
Credit: 2,418,000
RAC: 6
United States
Message 1929825 - Posted: 13 Apr 2018, 22:43:51 UTC

Is it possible to exclude applications from running on a project. For example I run SETI@Home on my Surface Pro and I would like to exclude AstroPulse from running. The SP is not on all the time and AP takes so long to run that I don't want to run it. I've looked at the app config xml file but could not see any way to do this. Maybe I missed it.

Thanks
ID: 1929825 · Report as offensive
Profile Mr. Kevvy Crowdfunding Project Donor*Special Project $250 donor
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 3280
Credit: 1,114,826,392
RAC: 3,319
Canada
Message 1929828 - Posted: 13 Apr 2018, 22:49:06 UTC - in response to Message 1929825.  
Last modified: 13 Apr 2018, 22:52:13 UTC

You can exclude Astropulse from all your machines easily in your account settings... click your name top-right then SETI@home preferences, click Edit preferences and uncheck AstroPulse v7.

If you want to restrict on only one machine you can do this by editing app_info.xml (not app_config.xml as you indicated.)

There will be a section with "<app_name>astropulse_v7</app_name>" in it. You can remove this (back the file up first of course!)
ID: 1929828 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15183
Credit: 4,362,181
RAC: 3
Netherlands
Message 1929830 - Posted: 13 Apr 2018, 23:09:03 UTC - in response to Message 1929828.  
Last modified: 13 Apr 2018, 23:14:57 UTC

If you want to restrict on only one machine you can do this by editing app_info.xml (not app_config.xml as you indicated.)
He's not using the anonymous platform, but stock applications instead.

@Don,
To stop running AP on the SP only, you'll have to put it on a location of its own.
Normally - by default- everything starts at location --- (or default). To change this, so you can set separate preferences for it, do:
- log in to your account here at Seti
- go to your account at https://setiathome.berkeley.edu/home.php
- at the Computing section look for Computers on this account and click View
- find the one that's the Surface pro and click Details
- at the bottom change Location from --- to work (for instance)
- click the Update Location button
- go back to your account at https://setiathome.berkeley.edu/home.php
- click preferences for this project https://setiathome.berkeley.edu/prefs.php?subset=project
- scroll to the bottom and click "Add separate preferences for Work"
- click Edit preferences
- uncheck Astropulse v7 under Run only the selected applications
- if checked, uncheck If no work for selected applications is available, accept work from other applications?
- click Add preferences

If need be, go back to your account at https://setiathome.berkeley.edu/home.php and set up separate computing preferences, although it's easier to do so via the local preferences.

Last, open BOINC Manager on the Surface Pro, and Update the project. That gets the preferences in you set above and from that moment onwards, it won't ask for AP anymore.

Of course, if you have set up via an account manager, you'll have to change the location there.
ID: 1929830 · Report as offensive
Profile Mr. Kevvy Crowdfunding Project Donor*Special Project $250 donor
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 3280
Credit: 1,114,826,392
RAC: 3,319
Canada
Message 1929831 - Posted: 13 Apr 2018, 23:20:06 UTC

I am so used to custom apps I forgot that stock doesn't have an app_info.xml. :^)
ID: 1929831 · Report as offensive
Don

Send message
Joined: 23 Aug 17
Posts: 7
Credit: 2,418,000
RAC: 6
United States
Message 1929869 - Posted: 14 Apr 2018, 4:45:48 UTC

Thanks for the replies. app_config was typo on my part.

@Ageless - exactly what I wanted to do. I have two NAS devices that run 24 x 7 and they can run AstroPulse. Setting a separate location for the SP solved it! I'm surprised that you can't do it via app_info.xml. It seems to me to be the logical place to do it. Doesn't matter, it's done.

Thanks again.
Don
ID: 1929869 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15183
Credit: 4,362,181
RAC: 3
Netherlands
Message 1929917 - Posted: 14 Apr 2018, 13:25:35 UTC - in response to Message 1929869.  

I'm surprised that you can't do it via app_info.xml. It seems to me to be the logical place to do it.
The app_info.xml file is used for the anonymous platform, where you tell BOINC which applications to use and have to supply those applications yourself - as opposed to downloading them directly from the project. It's not really a logical place when project settings are much easier.

So I do think you confuse this with the app_config.xml file, which is the application configuration file. But through that file you tell the applications how to run, what resources to use. Not whether they should run or not.

For documentation on this:
- Anonymous Platform
- Application Configuration
ID: 1929917 · Report as offensive
Don

Send message
Joined: 23 Aug 17
Posts: 7
Credit: 2,418,000
RAC: 6
United States
Message 1929967 - Posted: 14 Apr 2018, 20:16:40 UTC - in response to Message 1929917.  

Sorry. I keep saying app_info when I mean app_config. :-(
ID: 1929967 · Report as offensive

Questions and Answers : Preferences : Exclude Applications from CPU


 
©2021 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.