Setting up Linux to crunch CUDA90 and above for Windows users

Message boards : Number crunching : Setting up Linux to crunch CUDA90 and above for Windows users
Message board moderation

To post messages, you must log in.

Previous · 1 . . . 121 · 122 · 123 · 124 · 125 · 126 · 127 . . . 162 · Next

AuthorMessage
Ian&Steve C.
Avatar

Send message
Joined: 28 Sep 99
Posts: 4267
Credit: 1,282,604,591
RAC: 6,640
United States
Message 2003478 - Posted: 20 Jul 2019, 21:36:01 UTC - in response to Message 2003472.  

what are the two edits you need to do to preserve a system like that, again? like when moving OSes. I know I've done it in a couple cases but don't remember what exactly needed to be changed.

just host ID and the connection counter+1?
Seti@Home classic workunits: 29,492 CPU time: 134,419 hours

ID: 2003478 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2003481 - Posted: 20 Jul 2019, 21:42:01 UTC - in response to Message 2003478.  

what are the two edits you need to do to preserve a system like that, again? like when moving OSes. I know I've done it in a couple cases but don't remember what exactly needed to be changed.

just host ID and the connection counter+1?

Yes. HostID and the <rpc_seqno>xxxxxxx</rpc_seqno> Just put back the original host ID and increment the <rpc_seqno> value by +1 from what the website shows as the number of times the old host has contacted the project. <Number of times client has contacted server> from the host Details page.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2003481 · Report as offensive     Reply Quote
Stephen "Heretic" Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 5557
Credit: 192,787,363
RAC: 628
Australia
Message 2003500 - Posted: 21 Jul 2019, 0:30:36 UTC - in response to Message 2003441.  

what I am talking about is creating a new host ID only temporarily.

then you go onto the seti website and merge the systems, which deletes the new one and merges it with the old one. but that only works if the hostname is the same (which can be changed if you didn't initially make then the same during OS install) and the OS has to be the same also. Windows to Linux is a no go, but I'm not sure if Ubuntu 14 to Ubuntu 18 is too different to merge or not.


. . Fair enough about the merge but that still involves creating a new Host ID, and when you merge it keeps the new ID and buries the older one. I have been there before. Sadly, while simpler, it defeats my objectives on two counts.

Stephen

:(
ID: 2003500 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2003512 - Posted: 21 Jul 2019, 1:42:56 UTC - in response to Message 2003500.  

what I am talking about is creating a new host ID only temporarily.

then you go onto the seti website and merge the systems, which deletes the new one and merges it with the old one. but that only works if the hostname is the same (which can be changed if you didn't initially make then the same during OS install) and the OS has to be the same also. Windows to Linux is a no go, but I'm not sure if Ubuntu 14 to Ubuntu 18 is too different to merge or not.


. . Fair enough about the merge but that still involves creating a new Host ID, and when you merge it keeps the new ID and buries the older one. I have been there before. Sadly, while simpler, it defeats my objectives on two counts.

Stephen

:(

But you don't merge. You just edit the client state to get back the original hostID and name. Simple.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2003512 · Report as offensive     Reply Quote
elec999 Project Donor

Send message
Joined: 24 Nov 02
Posts: 375
Credit: 416,969,548
RAC: 141
Canada
Message 2003531 - Posted: 21 Jul 2019, 3:18:33 UTC

I got another 1070ti and 1050ti coming in soon.
ID: 2003531 · Report as offensive     Reply Quote
Profile Todderbert
Avatar

Send message
Joined: 17 Jun 99
Posts: 221
Credit: 53,153,779
RAC: 0
United States
Message 2003535 - Posted: 21 Jul 2019, 4:11:39 UTC - in response to Message 2003531.  

I got another 1070ti and 1050ti coming in soon.


Nice, I have a 2060 Super arriving in a few days. Should be an interesting time with the driver setup.
ID: 2003535 · Report as offensive     Reply Quote
Stephen "Heretic" Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 5557
Credit: 192,787,363
RAC: 628
Australia
Message 2003539 - Posted: 21 Jul 2019, 5:40:44 UTC

. . OK, several cross discussion going on here ... so to focus on one machine which will be :- First rig - i5-6600 + 2 x GTX1070s. No Boinc or apps on this new drive, so blank slate

. . o Step 1 - make a BOINC directory on my 'Home' drive.

. . o Step 2 - extract the Boinc version 7.14.2 and copy all the files into the new BOINC directory.

. . o Step 3 - make a projects directory in the BOINC folder.

. . o Step 4 - copy all the files from the top level of the extracted BOINC folder plus the files in the projects sub-folder into the new projects directory.

. . o Step 5 - copy the file list from Keith from the old Linux 14.04 BOINC folder over the new BOINC folder.

. . o Step 6 - disable the network

. . o Step 7 - double click on the Boincmanager file to test

. . Where have I gotten this part wrong?

Stephen

? ?
ID: 2003539 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2003543 - Posted: 21 Jul 2019, 7:28:26 UTC - in response to Message 2003539.  

. . OK, several cross discussion going on here ... so to focus on one machine which will be :- First rig - i5-6600 + 2 x GTX1070s. No Boinc or apps on this new drive, so blank slate

. . o Step 1 - make a BOINC directory on my 'Home' drive.

. . o Step 2 - extract the Boinc version 7.14.2 and copy all the files into the new BOINC directory.

. . o Step 3 - make a projects directory in the BOINC folder.

. . o Step 4 - copy all the files from the top level of the extracted BOINC folder plus the files in the projects sub-folder into the new projects directory.

. . o Step 5 - copy the file list from Keith from the old Linux 14.04 BOINC folder over the new BOINC folder.

. . o Step 6 - disable the network

. . o Step 7 - double click on the Boincmanager file to test

. . Where have I gotten this part wrong?

Stephen

? ?

Step 6.5 Use ldd to check for missing dependencies of boinc and boincmgr. Shouldn't be any with the AIO, but it has tripped people up before who have had a wonky default installation of Ubuntu. Doesn't take more than a minute to check.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2003543 · Report as offensive     Reply Quote
Stephen "Heretic" Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 5557
Credit: 192,787,363
RAC: 628
Australia
Message 2003549 - Posted: 21 Jul 2019, 9:49:35 UTC - in response to Message 2003543.  
Last modified: 21 Jul 2019, 10:11:49 UTC

Step 6.5 Use ldd to check for missing dependencies of boinc and boincmgr. Shouldn't be any with the AIO, but it has tripped people up before who have had a wonky default installation of Ubuntu. Doesn't take more than a minute to check.


. . I did all of that but still managed to screw up, I triple checked everything with the BOINC and Seti folders and files but I got careless on the install and did not notice that a 't' had not registered in the rig name :( aaarrrghh! I hate changing things :(

. . Now I have to find where to change the rig name once it is it running ...

{edit} I have corrected the host name but I am still stuck with the new host ID. Is it possible at this stage to go back to the correct host ID? I still have the files from the old setup intact.

Stephen

:(
ID: 2003549 · Report as offensive     Reply Quote
Stephen "Heretic" Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 5557
Credit: 192,787,363
RAC: 628
Australia
Message 2003558 - Posted: 21 Jul 2019, 11:00:51 UTC
Last modified: 21 Jul 2019, 11:19:23 UTC

. . If I delete client_state.xml and recopy those files back into the new directory would that possibly restore the rig to its original ID?

. . Getting desperate here :(

{EDIT- the answer is no} "Not happy Jan!"

Stephen

? ?
ID: 2003558 · Report as offensive     Reply Quote
Profile Tom M
Volunteer tester

Send message
Joined: 28 Nov 02
Posts: 5124
Credit: 276,046,078
RAC: 462
Message 2003559 - Posted: 21 Jul 2019, 12:24:46 UTC - in response to Message 2003531.  

I got another 1070ti and 1050ti coming in soon.


+1
A proud member of the OFA (Old Farts Association).
ID: 2003559 · Report as offensive     Reply Quote
Profile Tom M
Volunteer tester

Send message
Joined: 28 Nov 02
Posts: 5124
Credit: 276,046,078
RAC: 462
Message 2003560 - Posted: 21 Jul 2019, 12:25:33 UTC - in response to Message 2003535.  

I got another 1070ti and 1050ti coming in soon.


Nice, I have a 2060 Super arriving in a few days. Should be an interesting time with the driver setup.


happy upgrading :)
A proud member of the OFA (Old Farts Association).
ID: 2003560 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2003589 - Posted: 21 Jul 2019, 16:17:06 UTC - in response to Message 2003558.  

. . If I delete client_state.xml and recopy those files back into the new directory would that possibly restore the rig to its original ID?

. . Getting desperate here :(

{EDIT- the answer is no} "Not happy Jan!"

Stephen

? ?

No you can't do that unless you strip out all references to the applications. It is easier to just edit your new client_state file and change the hostid to your old one. And increment <rpc_seqno> by +1.
Your host ID is listed at Seti in your Computers page. You can also change your hostname to the correct one after the typo. Hostname is domain_name in the file.

It is imperative you increment <rpc_seqno> by adding one to the existing value or you will create another new hostid.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2003589 · Report as offensive     Reply Quote
Stephen "Heretic" Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 5557
Credit: 192,787,363
RAC: 628
Australia
Message 2003621 - Posted: 21 Jul 2019, 19:17:11 UTC - in response to Message 2003589.  
Last modified: 21 Jul 2019, 19:41:59 UTC

No you can't do that unless you strip out all references to the applications. It is easier to just edit your new client_state file and change the hostid to your old one. And increment <rpc_seqno> by +1.
Your host ID is listed at Seti in your Computers page. You can also change your hostname to the correct one after the typo. Hostname is domain_name in the file.
It is imperative you increment <rpc_seqno> by adding one to the existing value or you will create another new hostid.


. . Ok will do :-

. . Does this sound right?

. . Suspend all unstarted WUs and allow running units to complete and report, then suspend and exit BOINC

. . Check the Computers listing at SETI for the original ID number and take note of the "Number of times SETI has been contacted".

. . Edit client_state.xml and find Host ID , replace it with old one, find rpc_seqno and change it to the posted number +1
. . {edit- these only appear once right?}

. . Restart and resume BOINC and all suspended WUs.

. . Would that be safe?

. . That will then pose the question, if the old number is the active one and the newer ID is defunct would the old ID win out in a merge? I am guessing NO! :(

. . {edit} on rethink should I abort all uncompleted tasks because they will be assigned to the new ID and SETI will have pups ? ? ?

Stephen

? ?
ID: 2003621 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2003642 - Posted: 21 Jul 2019, 20:49:21 UTC - in response to Message 2003621.  

Yes, that is correct. Host ID appears as lower case hostid in the file. Both hostid and rpc_seqno only appears once in the very first part of the file near the top for a Seti project only host. A Find in the Editor will find them. If you have other projects in the client_state, make sure to adjust the hostid's and rpc_seqno's for those projects in their respective sections.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2003642 · Report as offensive     Reply Quote
Stephen "Heretic" Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 5557
Credit: 192,787,363
RAC: 628
Australia
Message 2003686 - Posted: 22 Jul 2019, 1:57:40 UTC - in response to Message 2003642.  

Yes, that is correct. Host ID appears as lower case hostid in the file. Both hostid and rpc_seqno only appears once in the very first part of the file near the top for a Seti project only host. A Find in the Editor will find them. If you have other projects in the client_state, make sure to adjust the hostid's and rpc_seqno's for those projects in their respective sections.


. . Again Keith thanks for your help! Thanks to a slow keyboard interface I stuffed up part of the process but overall it was a success. I failed one objective because of poor typing skills but got there in the end.

. . Is this the technique that Juan used/uses to preserve a host ID when migrating from one OS to another?

Stephen

?
ID: 2003686 · Report as offensive     Reply Quote
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 2003687 - Posted: 22 Jul 2019, 2:02:10 UTC - in response to Message 2003686.  

. . Is this the technique that Juan used/uses to preserve a host ID when migrating from one OS to another?

Yes
ID: 2003687 · Report as offensive     Reply Quote
Stephen "Heretic" Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 5557
Credit: 192,787,363
RAC: 628
Australia
Message 2003691 - Posted: 22 Jul 2019, 2:48:34 UTC - in response to Message 2003687.  

. . Is this the technique that Juan used/uses to preserve a host ID when migrating from one OS to another?

Yes


. . Thank you Juan, you are a man of few words :)

. . I must say it is a far less dramatic process than most of the hoops one has to jump through in this pastime, and very successful.

Stephen

:)
ID: 2003691 · Report as offensive     Reply Quote
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 2003692 - Posted: 22 Jul 2019, 2:51:29 UTC - in response to Message 2003691.  

. . Is this the technique that Juan used/uses to preserve a host ID when migrating from one OS to another?

Yes


. . Thank you Juan, you are a man of few words :)

. . I must say it is a far less dramatic process than most of the hoops one has to jump through in this pastime, and very successful.

Stephen

:)

Just remember, completely exit the boinc (not just the manager, the boinc client itself) before try to edit the file or nothing will work.
ID: 2003692 · Report as offensive     Reply Quote
Stephen "Heretic" Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 5557
Credit: 192,787,363
RAC: 628
Australia
Message 2003693 - Posted: 22 Jul 2019, 2:52:21 UTC - in response to Message 2003642.  

. . Many thanks Keith.

. . Are you currently using any scripts/tools to achieve automatic fan control? The script I had been using ceased to function, one of the updates changed something and it just produced errors. It would be good not to have to keep manually adjusting the fans when the weather gets warm(hot).

Stephen

? ?
ID: 2003693 · Report as offensive     Reply Quote
Previous · 1 . . . 121 · 122 · 123 · 124 · 125 · 126 · 127 . . . 162 · Next

Message boards : Number crunching : Setting up Linux to crunch CUDA90 and above for Windows users


 
©2024 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.