Find my BOINC CPID

Message boards : Questions and problems : Find my BOINC CPID
Message board moderation

To post messages, you must log in.

AuthorMessage
Jeff_Wright

Send message
Joined: 15 Aug 18
Posts: 2
United States
Message 87657 - Posted: 15 Aug 2018, 14:50:18 UTC

I run gridcoin client with BOINC. I ran gridcoin's diagnostics and it says my CPIDs don't match. My BOINC project accounts all show the right account but I have no idea where to find the CPID in BOINC's files. It was working fine until I got a new computer and had to reinstall BOINC and gridcoin. I know where to find the CPID for gridcoin in the conf file and it is right so somewhere in BOINC it must be wrong but it makes no sense as all my projects link to BOINC through BAM just fine! HELP BTW I'm running 7.12.1 for BOINC. Windows 10, and not installed as a service.
ID: 87657 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 87658 - Posted: 15 Aug 2018, 15:25:41 UTC - in response to Message 87657.  

A surprisingly interesting question.

There are two values which might be called into use as 'CPID'. One describes an individual computer (or 'host', as we tend to refer to it in BOINC circles), and the other describes you, the computer's owner.

You can find both of them in the file called 'client_state.xml', which you can find in your BOINC data directory. On this machine, I'm finding:

<host_cpid>		823018b1231e10f28da302ec7a92c01a	(right at the top - line 5 - under <host_info>

<cross_project_id>	d7965dba1521bf2508ec781b0b43bd23
<external_cpid>		68aa4b6077c3fe48975e530f6ad94ca5
The second two occur at intervals throughout the file, within each new <project> section.

Both <cross_project_id> and <external_cpid> are identical throughout the file, in whichever <project> section they appear - they are truly cross-project. But in several projects, <external_cpid> is blank. Which is odd, because that's the one which is used to identify me uniquely at the sites which collect statistics from all BOINC projects (such as BOINCstats)

I have no idea why there are three different values, instead of two. And I also have no idea which of the two (or three) values GridCoin wants you to use - they will have to explain that for themselves.

In BOINC circles, and thus for this message board, <external_cpid> is the most important one. That depends - critically - on the user using the same e-mail address when making accounts at each separate project. It also depends on a new computer being attached to a project where the user already has an existing active computer. If those two conditions are satisfied, the new computer will quickly learn the true <external_cpid> for the user's account.
ID: 87658 · Report as offensive
Jeff_Wright

Send message
Joined: 15 Aug 18
Posts: 2
United States
Message 87666 - Posted: 16 Aug 2018, 3:06:02 UTC - in response to Message 87658.  

Thanks, I found mine were backwards so I manually reversed them and reinstalled gridcoin. Diagnostics all pass now. Strange that my clint_state.xml would be messed up that way, may of been an older version of BOINC that did it. Anyhows, fingers crossed that I can get gridcoin to stake again, it has been 3 months!!!
ID: 87666 · Report as offensive

Message boards : Questions and problems : Find my BOINC CPID

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.