Message boards :
Number crunching :
Local control of which subprojects run`
Message board moderation
Author | Message |
---|---|
Send message Joined: 22 Oct 07 Posts: 27 Credit: 808,821 RAC: 0 ![]() ![]() |
The various subprojects of LHC have really different characteristics, and the only existing way to control which one are run is at the account level. I'm wondering if this control is possible at the local machine level. Can a make an app_config that will have, e.g., LHCb tasks never downloaded or run? Thanks, ++PLS |
Send message Joined: 13 Apr 18 Posts: 443 Credit: 8,438,885 RAC: 0 ![]() ![]() |
I haven't tried it but I have read <max_concurrent>0</max_concurrent> accomplishes what you want. |
Send message Joined: 22 Oct 07 Posts: 27 Credit: 808,821 RAC: 0 ![]() ![]() |
I will give it a try and report. By the way, could someone who can post a pinned message please post one containing the formula for computing memory requirements for all of the mt apps? Thanks |
Send message Joined: 16 Jul 05 Posts: 24 Credit: 35,251,537 RAC: 0 ![]() ![]() |
The various subprojects of LHC have really different characteristics, and the only existing way to control which one are run is at the account level Why do you feel the "Location" feature is insufficient/inappropriate for you? The only issue I've had with locations is that the website splits their configuration across two separate pages on different menus, which is a nuisance when making sure everything's consistent at setup. After that it worked fine and it's trivial to flip a machine between subprojects when needed. |
![]() ![]() Send message Joined: 29 Sep 04 Posts: 281 Credit: 11,835,484 RAC: 93 ![]() ![]() |
As Argo says, just set whatever app preferences you like for Default, Home, Work or School and change the Location of your machine(s) to match. If you really want to do it by app_config, here's mine, which you can edit to your own requirements. This is more to limit the number of each app that I allow to run as my 3 machines have limited resources and can therefore only run 1 Atlas (single core) or 2 LHCb's at a time but are happy with up to 4 Theorys running concurrently without difficulty. Again I find single cores work best on my setups. Boinc constantly reminds me that it doesn't recognise Alice as she hasn't made it to Production from -dev yet but I've left her in to save having to edit once she does arrive. The memory requirements formulae are in a few posts but I haven't got time tonight to look for them. Perhaps in Yeti's setup checklist? Happy to pin it if anyone finds a definitive formula as it is useful to work out app load versus machine resources to see what will/might run successfully and what definitely won't. <app_config> <project_max_concurrent>4</project_max_concurrent> <app> <name>ATLAS</name> <max_concurrent>1</max_concurrent> <fraction_done_exact>1</fraction_done_exact> </app> <app> <name>sixtrack</name> <max_concurrent>4</max_concurrent> <fraction_done_exact>1</fraction_done_exact> </app> <app> <name>sixtracktest</name> <max_concurrent>4</max_concurrent> <fraction_done_exact>1</fraction_done_exact> </app> <app> <name>ALICE</name> <max_concurrent>1</max_concurrent> <fraction_done_exact>1</fraction_done_exact> </app> <app> <name>CMS</name> <max_concurrent>1</max_concurrent> <fraction_done_exact>1</fraction_done_exact> </app> <app> <name>LHCb</name> <max_concurrent>2</max_concurrent> <fraction_done_exact>1</fraction_done_exact> </app> <app> <name>Theory</name> <max_concurrent>4</max_concurrent> <fraction_done_exact>1</fraction_done_exact> </app> </app_config> |
Send message Joined: 22 Oct 07 Posts: 27 Credit: 808,821 RAC: 0 ![]() ![]() |
I can't use the account setting because I am also pool mining gridcoin and therefore running under the pool account. The only mechanism I have is something local to the machine, like app_config. |
Send message Joined: 16 Jul 05 Posts: 24 Credit: 35,251,537 RAC: 0 ![]() ![]() |
The memory requirements formulae are in a few posts ... Happy to pin it if anyone finds a definitive formula I found the following for Virtualbox tasks fairly recently; apologies for not noting where: Atlas: 3GB + (0.9GB * ncores.) (the numbers show the memory requirement for multiple threads within one VM; the LHCb and Theory figures match what I see boinc_client pass to the vboxwrapper, so there will be a little bit more overhead needed) I don't know what the requirements for Sixtrack are, certainly <= 512MB per task. I don't know what the requirements for native Atlas are; I have successfully (HITS files produced!) run 4-core native Atlas on 4-core 4 GB machines without drama. I did increase BOINC's allowed memory usage from the default 50% to 85%. |
Send message Joined: 13 Apr 18 Posts: 443 Credit: 8,438,885 RAC: 0 ![]() ![]() |
Most helpful would be a web page where users could select one of the apps from a dropdown box, set the # of cores on a spin control, click a "Submit" button and get the RAM required and a bit of XML to copy 'n paste into an app_config.xml. The page could also have a tutorial on app_config.xml format and location, how to properly paste a section into an existing app_config.xml, how to get the client to read and verify the new app_config.xml, etc. |
Send message Joined: 16 Jul 05 Posts: 24 Credit: 35,251,537 RAC: 0 ![]() ![]() |
I disagree: Most helpful would be.... ... not having to hand-hack XML to make things work, in the first place. |
Send message Joined: 13 Apr 18 Posts: 443 Credit: 8,438,885 RAC: 0 ![]() ![]() |
Substitute "more" for "most" if it makes it more palatable for you. I agree with you. It shouldn't be necessary but the people who could make it so don't seem to want to. |
©2023 CERN