Thread 'How to assign profile to project on a specific machine'

Message boards : Projects : How to assign profile to project on a specific machine
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102843 - Posted: 7 Feb 2021, 18:27:08 UTC

I have several machines running BOINC projects. They are all at my home, but they have different purposes, OSs and hardware configurations and I wish to use different computing profiles to them. I see that there are default, home, school and work profiles available (rather quaintly constrained and unimaginative thinking, but that's a conversation for another day), but I cannot see where to assign a particular profile to a particular machine. Where do I do that, please?
ID: 102843 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5129
United Kingdom
Message 102850 - Posted: 7 Feb 2021, 19:16:14 UTC - in response to Message 102843.  

Through project web sites.

Your 'account' page at any given project website has an entry for "Computers on this account", with a link to 'view' them. For each computer linked to the project, you can see the host name, and a link for that computer's details. [Other users can't see the name - just an ID number - and a limited amount of detail]

At the foot of the page of details, you can see the 'Location' that computer is currently assigned to: this is a drop-down list, and you can change it to another profile. Click the 'Update location' to confirm a change.
ID: 102850 · Report as offensive
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102853 - Posted: 7 Feb 2021, 19:58:42 UTC - in response to Message 102850.  

Thanks for that, Richard. I found the information of which you speak for World Community Grid, but for Climate Prediction and Milky Way all machines on the same account use the same profile. I guess that's just the way they do things? I notice the Climate Predictions project has some other recommendations regarding processor usage, conditions for suspending computing.

Thanks again.
ID: 102853 · Report as offensive
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 296
United Kingdom
Message 102855 - Posted: 7 Feb 2021, 20:24:37 UTC - in response to Message 102843.  

I have several machines running BOINC projects. They are all at my home, but they have different purposes, OSs and hardware configurations and I wish to use different computing profiles to them. I see that there are default, home, school and work profiles available (rather quaintly constrained and unimaginative thinking, but that's a conversation for another day), but I cannot see where to assign a particular profile to a particular machine. Where do I do that, please?


Using the location would restrict you to 4 sets of computers. If you have more configurations than this you can set the parameters at local level and vary it by computer.
ID: 102855 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5129
United Kingdom
Message 102856 - Posted: 7 Feb 2021, 20:24:46 UTC - in response to Message 102853.  

MilkyWay certainly has the full set of locations available: Preferences for this project MilkyWay@home preferences.

CPDN is going through a minimalist phase, but the framework is there, too.
ID: 102856 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 102857 - Posted: 7 Feb 2021, 20:25:18 UTC - in response to Message 102853.  

Climate Prediction is the same as all other projects. If you want to use a different Location, then just change it from the default.
ID: 102857 · Report as offensive
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102859 - Posted: 7 Feb 2021, 20:38:42 UTC - in response to Message 102857.  
Last modified: 7 Feb 2021, 20:45:38 UTC

Thanks, Les. My request wasn't simply about locations; in fact it wasn't about location at all: it was about executing different profiles for different machines and projects on those machines. The concept of profiles in BOINC is implemented as locations, but that's only one criterion: different machines and different projects are also valid reasons for wanting different configurations IMO.

Climate Prediction expressly isn't the same as all other projects. It explicitly states that all machines on that account use the same profile. MilkyWay is the same - in fact it uses the same page layout for editing "locations" (profiles).

I can - and it looks like I will have to - configure each machine separately, but that still doesn't solve the unique recommendations of the CP project.
ID: 102859 · Report as offensive
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102860 - Posted: 7 Feb 2021, 20:43:43 UTC - in response to Message 102855.  
Last modified: 7 Feb 2021, 20:46:42 UTC

Thanks, Bryn Mawr. Yes, location-based profiles would indeed limit me that way, so I'll have to have per-machine profiling. The only issue there is that I can't customize per computer AND per project, but that's OK: Climate Prediction is the only project I run that has different recommendations to the others, so I'll probably run that on a machine that doesn't get disturbed much; that'll resolve the suspend issue.

Thanks for your response.
ID: 102860 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 102861 - Posted: 7 Feb 2021, 20:55:17 UTC - in response to Message 102859.  

I've been running Climate Prediction for 15 years or so, and if I want a different setup for different computers, I just change the setting for that machine.
ID: 102861 · Report as offensive
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102863 - Posted: 7 Feb 2021, 21:04:41 UTC - in response to Message 102861.  
Last modified: 7 Feb 2021, 21:14:03 UTC

Yes, Les, that's what I think I'll have to do, and that's no problem.
As you have a lot of experience with this project, maybe you can answer another question. I'm having trouble running it now - I don't get work units. I've made various changes to my computers and their respective project allocations over the years - nothing surprising there - but I haven't got a CP work unit on any machine for a couple of months now. Any clues?

Additionally, I just tried subscribing to it ona 2013 iMac, and received the warning that "this project may not have work for your type of computer. Do you still want to add it anyway?" The Mac icon shows up on the list of supported systems, however. Any clues there?

EDIT: Oh never mind on that last question. I got the notice that the x86_64-apple-darwin architecture isn't supported.

Thanks for your advice.
ID: 102863 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 102865 - Posted: 7 Feb 2021, 21:38:00 UTC - in response to Message 102863.  

Ah, you're running Windows.
There hasn't been much work from the 3 research groups that use that, since soon after the pandemic started.
It's all Linux at present.

There may be some Mac work in a few weeks, BUT as with all the work here, it will be 32 bit work.

********************

It occurred to me that by "preference" you mean the ability to select which area of the planet to run models.
This option was removed a few years ago, as people were ignoring some, in preference to running work from areas closer to where they lived.
And with the newer programs running at higher resolutions, it's more about the modelling, than the area that's being modeled.
So, yes, that page was removed.

Another change, is that each modelling program is only being written for a single OS, to save on programmer person power.
With a couple of exceptions, just to muddy things a bit.

You can see from the Applications page what is on which OS.
ID: 102865 · Report as offensive
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102866 - Posted: 7 Feb 2021, 21:53:31 UTC - in response to Message 102865.  
Last modified: 7 Feb 2021, 21:55:01 UTC

I have two Linux boxes, two Windows boxes and a 2013 iMac running or logistically capable of running BOINC projects. At present I can't get work units for CP on either the Windows or the Linux boxes; I don't know why. The messages in the event log tell me that nothing was downloaded, but they offer no explanation - and certainly nothing related to configuration issues.

By "preference" I'm only referring to machine configuration; I am totally happy with the organizations running whatever projects they wish on my machines; and that goes for CP and WCG. Thanks for guessing about how my deranged mind might work, though :-)

So only Linux projects for CP? That explains the empty WU list on my Windows boxes. Thanks for that info :-)

So... on to the 32-bit Linux issue: in my investigation I saw this morning that I needed to install 32-bit libraries on my Linux boxes (the upgrade from 32 to 64 was one of the changes I was talking about having made relatively recently). I've just done that earlier this afternoon, so it may be that I simply need to wait for the server to notice.

Thanks again for your help.
ID: 102866 · Report as offensive
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 296
United Kingdom
Message 102870 - Posted: 7 Feb 2021, 23:15:42 UTC - in response to Message 102860.  

Thanks, Bryn Mawr. Yes, location-based profiles would indeed limit me that way, so I'll have to have per-machine profiling. The only issue there is that I can't customize per computer AND per project, but that's OK: Climate Prediction is the only project I run that has different recommendations to the others, so I'll probably run that on a machine that doesn't get disturbed much; that'll resolve the suspend issue.

Thanks for your response.


But you cannot have different profiles per project anyway. Things like %cpu, memory allocation, etc are machine based, not project based.
ID: 102870 · Report as offensive
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 296
United Kingdom
Message 102871 - Posted: 7 Feb 2021, 23:20:19 UTC - in response to Message 102866.  

I have two Linux boxes, two Windows boxes and a 2013 iMac running or logistically capable of running BOINC projects. At present I can't get work units for CP on either the Windows or the Linux boxes; I don't know why. The messages in the event log tell me that nothing was downloaded, but they offer no explanation - and certainly nothing related to configuration issues.

By "preference" I'm only referring to machine configuration; I am totally happy with the organizations running whatever projects they wish on my machines; and that goes for CP and WCG. Thanks for guessing about how my deranged mind might work, though :-)

So only Linux projects for CP? That explains the empty WU list on my Windows boxes. Thanks for that info :-)

So... on to the 32-bit Linux issue: in my investigation I saw this morning that I needed to install 32-bit libraries on my Linux boxes (the upgrade from 32 to 64 was one of the changes I was talking about having made relatively recently). I've just done that earlier this afternoon, so it may be that I simply need to wait for the server to notice.

Thanks again for your help.


With the 32bit libraries CP blacklist hosts where they notice that the libraries are not installed and you may have to post a request on the forum for them to clear that.

The other possibility is one that stopped me from processing CP for 8 months, check you cc_config to make sure no_alt_platform is not set.
ID: 102871 · Report as offensive
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102873 - Posted: 8 Feb 2021, 3:25:49 UTC - in response to Message 102871.  
Last modified: 8 Feb 2021, 3:29:19 UTC

I have two Linux boxes, two Windows boxes and a 2013 iMac running or logistically capable of running BOINC projects. At present I can't get work units for CP on either the Windows or the Linux boxes; I don't know why. The messages in the event log tell me that nothing was downloaded, but they offer no explanation - and certainly nothing related to configuration issues.

By "preference" I'm only referring to machine configuration; I am totally happy with the organizations running whatever projects they wish on my machines; and that goes for CP and WCG. Thanks for guessing about how my deranged mind might work, though :-)

So only Linux projects for CP? That explains the empty WU list on my Windows boxes. Thanks for that info :-)

So... on to the 32-bit Linux issue: in my investigation I saw this morning that I needed to install 32-bit libraries on my Linux boxes (the upgrade from 32 to 64 was one of the changes I was talking about having made relatively recently). I've just done that earlier this afternoon, so it may be that I simply need to wait for the server to notice.

Thanks again for your help.

With the 32bit libraries CP blacklist hosts where they notice that the libraries are not installed and you may have to post a request on the forum for them to clear that.

The other possibility is one that stopped me from processing CP for 8 months, check you cc_config to make sure no_alt_platform is not set.


So, "no_alt_platform" is not in /etc/boinc-client/cc_config.xml; I take it that it shouldn't be. (The file only contains settings for log flags). In fact, the file is date-stamped Feb 23 2016, along with gui_rpc_auth.cfg and remote-hosts.cfg. Only global_prefs_override.xml is recently changed, and that's because I made the configuration local this morning.

I'll post a message on the forum, as you suggest.

Thanks.
ID: 102873 · Report as offensive
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102874 - Posted: 8 Feb 2021, 5:34:47 UTC - in response to Message 102870.  



But you cannot have different profiles per project anyway. Things like %cpu, memory allocation, etc are machine based, not project based.


Yeah, that should have been blindingly obvious to me :-)
ID: 102874 · Report as offensive
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102875 - Posted: 8 Feb 2021, 5:40:52 UTC - in response to Message 102871.  



With the 32bit libraries CP blacklist hosts where they notice that the libraries are not installed and you may have to post a request on the forum for them to clear that.

The other possibility is one that stopped me from processing CP for 8 months, check you cc_config to make sure no_alt_platform is not set.


I removed the project and reconnected. cpdn immediately downloaded and app, aa work unit, and started crunching. As of this moment I'm 20 minutes in, and only 24 days, 9 hours and 30 minutes to go :-)

Thanks, once again for your help; you too, Les :-)

Julian.
ID: 102875 · Report as offensive
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2694
United Kingdom
Message 102876 - Posted: 8 Feb 2021, 7:50:20 UTC

With the 32bit libraries CP blacklist hosts where they notice that the libraries are not installed and you may have to post a request on the forum for them to clear that.


For completeness, if a host is blacklisted it will when you look at the page for that computer show

Maximum daily WU quota per CPU -1/day
Instead of

Maximum daily WU quota per CPU 0/day

When he has time, Andy is looking to write a script to automate this for machines crashing tasks with the missing 32bit libraries message though given the lack of posts on the CPDN boards from those crashing everything, I don't expect a flood of complaints about no tasks being sent when it happens.
ID: 102876 · Report as offensive
Julian Opificius

Send message
Joined: 11 Jan 15
Posts: 12
United States
Message 102878 - Posted: 8 Feb 2021, 14:17:34 UTC - in response to Message 102876.  



For completeness, if a host is blacklisted it will when you look at the page for that computer show

Maximum daily WU quota per CPU -1/day
Instead of

Maximum daily WU quota per CPU 0/day

When he has time, Andy is looking to write a script to automate this for machines crashing tasks with the missing 32bit libraries message though given the lack of posts on the CPDN boards from those crashing everything, I don't expect a flood of complaints about no tasks being sent when it happens.


"-1/day" a bit cryptic, don't you think??? I wouldn't have guessed that that meant I was blacklisted.

Anyway, thank to you, to Andy, and all of those who help make the world a better place.

Julian.
ID: 102878 · Report as offensive
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2694
United Kingdom
Message 102879 - Posted: 8 Feb 2021, 17:59:59 UTC

"-1/day" a bit cryptic, don't you think??? I wouldn't have guessed that that meant I was blacklisted.


I am sure Richard or Jord among others could say why it is -1 rather than 0 which to my mind would make more sense. Also worth noting when it says /cpu it really means /core so a machine that has the number set to 0 could in some instances be trashing 128 tasks/day. When the majority of machines had only one or two cores it was in some ways less of an issue.
ID: 102879 · Report as offensive
1 · 2 · Next

Message boards : Projects : How to assign profile to project on a specific machine

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.