Trouble with Gamma-ray pulsar search #2 v0.01

Justin La Sotten
Justin La Sotten
Joined: 9 Dec 05
Posts: 6
Credit: 2930440
RAC: 0

I'm at a loss at this

I'm at a loss at this point.
Running 7.0.42 breaks Einstein, but downgrading to 7.0.24 breaks seti@home.
I also tried 7.0.33 as it was below the 7.0.36 that was recommended to me, but that breaks Einstein as well.

So since it's just he Gamma-ray Pulsar app that doesn't work, anyone have any idea why deselecting it in the Project Preferences doesn't seem to work? I still seem to get units for this app when I have clearly chosen that I don't want them.

Gundolf Jahn
Gundolf Jahn
Joined: 1 Mar 05
Posts: 1079
Credit: 341280
RAC: 0

RE: ...anyone have any idea

Quote:
...anyone have any idea why deselecting it in the Project Preferences doesn't seem to work?


Did you double check the venue (default, home, work, school) of your host and your preferences?

Gruß,
Gundolf

Computer sind nicht alles im Leben. (Kleiner Scherz)

Jeroen
Jeroen
Joined: 25 Nov 05
Posts: 379
Credit: 740030628
RAC: 0

I built the dev BOINC client

I built the dev BOINC client from the latest source in the repository available yesterday. Here are the logs files for hsgamma restarting. I had the same thing happen with 7.0.42 and a later build from 12-22-12. After reverting back to 7.0.36, hsgamma ran successfully without restarting.

BOINC Log
Stderr Log

Claggy
Claggy
Joined: 29 Dec 06
Posts: 560
Credit: 2699403
RAC: 0

Boinc 7.0.38 and later have

Boinc 7.0.38 and later have this changeset:

Quote:

client and API: improve the way an app checks for the death of the client.

Old: heartbeat mechanism
Problem: if the client is blocked for > 30 secs (e.g. because it takes a long time to write the state file, or because it's stopped in a debugger) then apps exit. This is bad if the app doesn't checkpoint and has been running for a long time.

New: the client passes its PID to the app.
The app periodically (10 sec) checks that the process still exists.

Notes:
For backward compatibility (e.g. new API w/ old client, or vice versa) the client still sends heartbeats, and the API checks heartbeats if the client doesn't pass a PID.
The new mechanism works only if the client's PID isn't assigned to a new process within 10 secs of the client exiting. Windows 2000 reuses PIDs immediately, so check for Win2K and don't use this mechanism if so.

TODO: For Unix multithread apps, critical sections aren't currently being enforced. Need to fix this by masking signals.

It is possible that the Gamma-ray pulsar search #2 v0.01 app has been built with the new api, and this is the first try to see if it works, (looks like it, app restarts after 11 seconds on your host)

Edit: the app says (on Windows 7 x64) '20:48:10 (4936): [normal]: This Einstein@home App was built at: Dec 11 2012 20:42:01', while the says 7.1.0, but is computing normally here.

Claggy

Claggy
Claggy
Joined: 29 Dec 06
Posts: 560
Credit: 2699403
RAC: 0

I posted to the boinc_dev

I posted to the boinc_dev list last night:

Quote:
Linux users running the new Einstein Gamma-ray pulsar search #2 app and Boinc 7.0.38 and later are reporting the app constantly restarts with no heartbeat,
seems the app has been built with the new api:

http://einsteinathome.org/node/196705

Seems to work O.K at the moment on my C2D T8100 running Windows 7 x64

and Dave responded with a fix:

Quote:
I checked in a fix.
E@h guys: please build new Linux apps
and let me know if it works now.
-- David

Changeset 624deb45 in boinc

Quote:

•API: fix Unix bug when checking if client is alive based on PID.

Can't use waitpid() here; works only for children.
Use kill(pid, 0) instead.

Claggy

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5872
Credit: 117709442394
RAC: 35062703

Thanks for following this up.

Thanks for following this up. I'm sure Bernd will see your report and take whatever action he deems appropriate.

When this thread first started, I took immediate interest because I had seen Jord's comment about the new app configuration feature in 7.0.42 and I was really keen to try it out on a Linux host with a HD7770 that is currently running 7.0.31. It's a dual core and the GPU is doing tasks 2x so the 0.5 CPUs requirement restricts CPU tasks to just one core.

I gave 7.0.42 a spin and saw exactly the behaviour reported by others earlier in this thread, so I immediately reverted to 7.0.31. I could achieve what I want with AP but the app configuration feature seems a much cleaner way to do it - 2 CPU tasks (FGRP2) and 2 GPU tasks simultaneously.

So hopefully Bernd will be able to build new Linux FGRP2 apps fairly quickly for us to try out on 7.0.42.

Cheers,
Gary.

Justin La Sotten
Justin La Sotten
Joined: 9 Dec 05
Posts: 6
Credit: 2930440
RAC: 0

Yes, the preferences I set

Yes, the preferences I set are the global prefs, I don't have any specific prefs set for work, hone, school, etc...

For now, i've set GRP2 app to non-executable so that it doesn't take up 6 processing slots for 14 hours not doing anything.

Jeroen
Jeroen
Joined: 25 Nov 05
Posts: 379
Credit: 740030628
RAC: 0

Claggy, thanks for posting to

Claggy, thanks for posting to the boinc_dev and for posting the updates.

I pulled the latest updates and did a fresh compile of the latest software. I checked the latest commit logs to make sure 624deb45 is there. Unfortunately, my hsgamma tasks are still restarting as before.

BOINC Log
Stderr Log

Claggy
Claggy
Joined: 29 Dec 06
Posts: 560
Credit: 2699403
RAC: 0

RE: Claggy, thanks for

Quote:

Claggy, thanks for posting to the boinc_dev and for posting the updates.

I pulled the latest updates and did a fresh compile of the latest software. I checked the latest commit logs to make sure 624deb45 is there. Unfortunately, my hsgamma tasks are still restarting as before.

BOINC Log
Stderr Log


You don't need to do anything, what you need is a new app built with the fixed api, not a rebuilt client.

Claggy

Jeroen
Jeroen
Joined: 25 Nov 05
Posts: 379
Credit: 740030628
RAC: 0

RE: You don't need to do

Quote:


You don't need to do anything, what you need is a new app built with the fixed api, not a rebuilt client.

Claggy

I misunderstood "build new Linux apps" and thought he was referring to the client. Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.