How to edit cc_config under Ubuntu.

Message boards : Number crunching : How to edit cc_config under Ubuntu.

To post messages, you must log in.

AuthorMessage
P . P . L .

Send message
Joined: 20 Aug 06
Posts: 581
Credit: 4,865,274
RAC: 0
Message 66891 - Posted: 14 Jul 2010, 5:44:26 UTC
Last modified: 14 Jul 2010, 5:45:39 UTC

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 :)
ID: 66891 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Chris Holvenstot
Avatar

Send message
Joined: 2 May 10
Posts: 220
Credit: 9,106,918
RAC: 0
Message 66892 - Posted: 14 Jul 2010, 7:18:59 UTC - in response to Message 66891.  

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


ID: 66892 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
P . P . L .

Send message
Joined: 20 Aug 06
Posts: 581
Credit: 4,865,274
RAC: 0
Message 66893 - Posted: 14 Jul 2010, 8:20:49 UTC
Last modified: 14 Jul 2010, 9:05:54 UTC

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.
ID: 66893 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Chris Holvenstot
Avatar

Send message
Joined: 2 May 10
Posts: 220
Credit: 9,106,918
RAC: 0
Message 66894 - Posted: 14 Jul 2010, 9:24:56 UTC
Last modified: 14 Jul 2010, 9:29:20 UTC

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 :)
ID: 66894 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Chris Holvenstot
Avatar

Send message
Joined: 2 May 10
Posts: 220
Credit: 9,106,918
RAC: 0
Message 66895 - Posted: 14 Jul 2010, 9:36:42 UTC

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!

ID: 66895 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
mikey
Avatar

Send message
Joined: 5 Jan 06
Posts: 1896
Credit: 9,387,844
RAC: 9,807
Message 66897 - Posted: 14 Jul 2010, 11:56:52 UTC - in response to Message 66893.  

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.


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.
ID: 66897 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Jochen

Send message
Joined: 6 Jun 06
Posts: 133
Credit: 3,847,433
RAC: 0
Message 66901 - Posted: 14 Jul 2010, 12:42:37 UTC

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
ID: 66901 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Chilean
Avatar

Send message
Joined: 16 Oct 05
Posts: 711
Credit: 26,694,507
RAC: 0
Message 66903 - Posted: 14 Jul 2010, 16:16:09 UTC - in response to Message 66892.  

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



ID: 66903 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
P . P . L .

Send message
Joined: 20 Aug 06
Posts: 581
Credit: 4,865,274
RAC: 0
Message 66910 - Posted: 14 Jul 2010, 21:54:42 UTC

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.



ID: 66910 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : How to edit cc_config under Ubuntu.



©2025 University of Washington
https://www.bakerlab.org