Message boards : Number crunching : How to edit cc_config under Ubuntu.
Author | Message |
---|---|
P . P . L . Send message Joined: 20 Aug 06 Posts: 581 Credit: 4,865,274 RAC: 0 |
Hi. I've looked around and haven't found an answer. I have tried to edit the file but it says i don't have permission, and i can't change it! I want to disable the cuda card so it stops trying to get tasks from every project i run. It's a pain in the A__. Any help would be good :) |
Chris Holvenstot Send message Joined: 2 May 10 Posts: 220 Credit: 9,106,918 RAC: 0 |
I will "assume" that you installed BOINC using the Synaptic package manager and thus it is likely root owns the files and directories involved. It should be a simple matter for you to edit these files. Since by default Ubuntu does not create a root password for you (for your protection ?!?) you must become root using sudo. From a terminal window issue the following command: sudo su You will be prompted for a password - enter the same password you use when performing a software upgrade (likely your user password) At this point you should be root - note that the prompt character changed from "$" to "#" You should now be able to edit any file you want using "vi" or if you prefer a more user friendly editor you can start gedit (assuming you are using the Gnome desktop) with the command: gedit Don't forget that while you are root you are "King of the World" and the system will do just about anything you tell it to - wise or unwise - so get in, do what you need to do, and get out. Hope that helps |
P . P . L . Send message Joined: 20 Aug 06 Posts: 581 Credit: 4,865,274 RAC: 0 |
Hi Chris. Thanks that did the trick, took me two goes to get it in the right spot but at least i know now. Edit/ Well something odd is still going on even though it now says ( don't use coprocessors ) it's still asking for GPU work! very odd. Thanks again. |
Chris Holvenstot Send message Joined: 2 May 10 Posts: 220 Credit: 9,106,918 RAC: 0 |
Sorry, I'm not going to be of much use to you beyond getting the edit done - I know Linux / UNIX fairly well (that's how I make my living) but I am still a rank amateur when it comes to BOINC internals. Good luck - I'm sure someone will come up with a suggestion. And now at least you know how to edit it in :) |
Chris Holvenstot Send message Joined: 2 May 10 Posts: 220 Credit: 9,106,918 RAC: 0 |
You know, you might want to take the follow-on question over to the SETI board. Even though the place is infested with unwashed hippies <grin> from what I have seen they can make BOINC stand up and tap dance. If you do get a solution do us all a favor and post it here - we can all learn from it and not have to run the health risk involved with hanging around their forums! It's going to be a great day! |
mikey Send message Joined: 5 Jan 06 Posts: 1896 Credit: 9,387,844 RAC: 9,807 |
Hi Chris. Okay I will try and help, although I am NOT a Linux guy, can you post the actual error message where it says it is asking for gpu work please. In most cases it is not requesting work it is just saying for instance you don't have an ATI gpu, which could be true if you are using an Nvidia one! For instance on my laptop it says "7/12/2010 7:49:05 PM No usable GPUs found". Well that is true but is not an actual error message, Dr. A calls it a 'check list' of things Boinc is going thru. The other thing it could be is that you do in fact have a usable gpu but since Rosetta is not have a gpu project, it is asking for gpu work and not getting any and it is telling you that. The actual message should help. |
Jochen Send message Joined: 6 Jun 06 Posts: 133 Credit: 3,847,433 RAC: 0 |
From my experience Rosetta asks for GPU-tasks only the first 4 to 5 times after connecting a new client. Or if you hit the Update-Button. Just leave it running and everything will be fine... cu Joe |
Chilean Send message Joined: 16 Oct 05 Posts: 711 Credit: 26,694,507 RAC: 0 |
I will "assume" that you installed BOINC using the Synaptic package manager and thus it is likely root owns the files and directories involved. |
P . P . L . Send message Joined: 20 Aug 06 Posts: 581 Credit: 4,865,274 RAC: 0 |
Hi Chris. It's all O.K. now it was just you have to shut down the system for the changes to take affect not just a reboot. I tried rebooting last night a few times and it kept asking for GPU work but this morning after a cold boot the card doesn't even show up now. :) Me happy now. |
Message boards :
Number crunching :
How to edit cc_config under Ubuntu.
©2025 University of Washington
https://www.bakerlab.org