Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

hello 5.03

log in

Advanced search

Message boards : Pirate Applications : hello 5.03

Author Message
Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 2846 - Posted: 20 Feb 2006 | 0:05:06 UTC

Version 5.03 of the BOINC 'hello world' is now being released for testing on Linux. There will also be work for Windows, and hopefully Mac to follow.

This version of the app was built using BOINC 5.3.19, the very latest development release.

This new version is the result of trying to track down a problem found with hello 5.01 on Linux. After much searching, it seems that the problem was with the compiler. The failing version 5.01 was built with gcc 4.0.2 (on Fedora Core 4) while version 5.03 was built with gcc 3.4.4 (on Fedora Core 3). There are no other significant differences. This is, as you might expect, a bit worrying, but at least we know the cause of the problem.

There are a few minor changes to the code and Makefile, just to make it clearer for beginnners. A tarball will be available soon, and the code will also be available via CVS.


____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Darren
Volunteer tester
Avatar
Send message
Joined: 21 Jul 04
United States
Credit: 188.9
RAC: 0.00
Joined: Jul 21, 2004
Verified: NEVER
Dubloons: 1
Punishment: Cat o' Nine Tails
Message 2847 - Posted: 20 Feb 2006 | 0:58:56 UTC - in response to Message 2846.

Version 5.03 of the BOINC 'hello world' is now being released for testing on Linux. There will also be work for Windows, and hopefully Mac to follow.

This version of the app was built using BOINC 5.3.19, the very latest development release.

This new version is the result of trying to track down a problem found with hello 5.01 on Linux. After much searching, it seems that the problem was with the compiler. The failing version 5.01 was built with gcc 4.0.2 (on Fedora Core 4) while version 5.03 was built with gcc 3.4.4 (on Fedora Core 3). There are no other significant differences. This is, as you might expect, a bit worrying, but at least we know the cause of the problem.

There are a few minor changes to the code and Makefile, just to make it clearer for beginnners. A tarball will be available soon, and the code will also be available via CVS.



Had many of these last night, all ran with no problems I could see at my end on Ubuntu Breezy.

I'll keep an eye out for the tarball and compile it and give it a try it on both my Ubuntu and Gentoo systems. The Ubuntu is gcc 4.0.1 (gentoo I'll have to check later).

I assume that the link from http://pirates.spy-hill.net/help/hello.html pointing to http://pirates.spy-hill.net/pub/myers/src/boinc/ will be where to find it, though it currently just gives a 404 - or will it be somewhere else?



____________

I beg to dream and differ from the hollow lies

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 2863 - Posted: 21 Feb 2006 | 0:41:40 UTC
Last modified: 21 Feb 2006 | 0:42:06 UTC

Here's some good news:

Version OS Total Results Pass Rate Fail Rate 503 Darwin 1127 100.00 0.00 503 Linux 1342 97.54 2.46 503 Windows 1000 99.70 0.30



____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 2866 - Posted: 21 Feb 2006 | 13:52:58 UTC

'Crunched' also a great bunch of them, mostly on Linux, with 0% failed. (So at least it's not worse than before :)
____________
Peter .-)

Profile Ageless
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 20 Jul 04
Netherlands
Machinae Supremacy
Credit: 1,524.1
RAC: 0.00
Joined: Jul 20, 2004
Verified: Jul 9, 2011
Dubloons: 3
Pieces of Eight: 7
Punishment: Walk Plank
Message 2870 - Posted: 21 Feb 2006 | 17:21:59 UTC

No graphics (?) and a run time of less than 9 seconds. That's gonna be massive credits... ack. :P
____________
Jord.

Used to be a single voice that vanished in a crowd. Vague just like a distant sun when hidden by the clouds.
Found a way to surface and to speak my truth aloud. Be powerful. Stand fast and proud

Profile Darren
Volunteer tester
Avatar
Send message
Joined: 21 Jul 04
United States
Credit: 188.9
RAC: 0.00
Joined: Jul 21, 2004
Verified: NEVER
Dubloons: 1
Punishment: Cat o' Nine Tails
Message 2871 - Posted: 21 Feb 2006 | 18:03:51 UTC - in response to Message 2846.

Version 5.03 of the BOINC 'hello world' is now being released for testing on Linux. There will also be work for Windows, and hopefully Mac to follow.

This version of the app was built using BOINC 5.3.19, the very latest development release.

This new version is the result of trying to track down a problem found with hello 5.01 on Linux. After much searching, it seems that the problem was with the compiler. The failing version 5.01 was built with gcc 4.0.2 (on Fedora Core 4) while version 5.03 was built with gcc 3.4.4 (on Fedora Core 3). There are no other significant differences. This is, as you might expect, a bit worrying, but at least we know the cause of the problem.

There are a few minor changes to the code and Makefile, just to make it clearer for beginnners. A tarball will be available soon, and the code will also be available via CVS.



Here's the info on my compile - probably not of any use, but just in case here it is.

The most current boinc I could find is the stable cvs of 5.2.14, so I went with that one and compiled it. I then compiled hello from the tarball you posted. This was done on Ubuntu 5.10 with kernel 2.6.12-10-686-smp and gcc version 4.0.1. Hello runs in about 35 seconds and produces the following output on the first run:

out.txt

Hello, BOINC World!
Starting some computation...
Computation completed.


stderr.txt

Hello, stderr!
Can't open init data file - running in standalone mode
goodbye!


Any subsequent runs produce the same out.txt, but the stderr.txt then reads

Hello, stderr!
Can't set up shared mem: -1
goodbye!


Again, I have no idea if anything from this may be even remotely beneficial, but if so and you need any more info or copies of files or whatever, just let me know.


____________

I beg to dream and differ from the hollow lies

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 2874 - Posted: 21 Feb 2006 | 18:40:42 UTC - in response to Message 2871.


Here's the info on my compile - probably not of any use, but just in case here it is....

Again, I have no idea if anything from this may be even remotely beneficial, but if so and you need any more info or copies of files or whatever, just let me know.


It's helpful information. On Fedora Core 4 with gcc 4.0.2 the program does everything you show but also fails at the end with a SIGSEGV. You used gcc 4.0.1 and it worked, so it's possible that my compiler is misconfigured.

You can probably see what I got (and it would be interesting to see what you get) if you go to http://pirates.spy-hill.net/download/ and get hello-5.01 for linux and run it standalone.

Thanks.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Darren
Volunteer tester
Avatar
Send message
Joined: 21 Jul 04
United States
Credit: 188.9
RAC: 0.00
Joined: Jul 21, 2004
Verified: NEVER
Dubloons: 1
Punishment: Cat o' Nine Tails
Message 2875 - Posted: 21 Feb 2006 | 19:13:39 UTC - in response to Message 2874.

You can probably see what I got (and it would be interesting to see what you get) if you go to http://pirates.spy-hill.net/download/ and get hello-5.01 for linux and run it standalone.

Thanks.


Yep, here's what I get with 5.01

Hello, stderr!
Can't set up shared mem: -1
goodbye!
[0x804c050]
[0xffffe420]
SIGSEGV: segmentation violationStack trace (2 frames):

Exiting...


It runs for about 6 minutes with 5.01. I did have 3 of these assigned on Jan 30 that all errored with Max CPU time exceeded at 5 minutes, but I guess in those cases the time just got to it before it had a chance to get the SIGSEGV.



____________

I beg to dream and differ from the hollow lies

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 2883 - Posted: 21 Feb 2006 | 23:32:09 UTC - in response to Message 2875.

Yep, here's what I get with 5.01

Hello, stderr!
Can't set up shared mem: -1
goodbye!
[0x804c050]
[0xffffe420]
SIGSEGV: segmentation violationStack trace (2 frames):

Exiting...


That's exactly the problem I saw, compiled with gcc 4.0.2. Works fine with gcc 3.4.4 so I suspect a problem with the compiler.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 928.1
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 2900 - Posted: 22 Feb 2006 | 16:59:31 UTC

On my Pentium III they take 70 seconds, but show 0.00% progress during the run (jumping to 100% when finished).

Is it an expected behavior?
____________
Peter .-)

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 2901 - Posted: 22 Feb 2006 | 17:06:30 UTC - in response to Message 2900.
Last modified: 22 Feb 2006 | 17:11:50 UTC

On my Pentium III they take 70 seconds, but show 0.00% progress during the run (jumping to 100% when finished).

Is it an expected behavior?


Exactly so.

This is the absolutely simplest BOINC app that creates some output and sends it back to the server. Nothing more. No graphics. No progress report. It was designed to do about 60 sec on one of my development machines, which is also a Pentium III.

You can find more detail in these release notes

Since we now have so many faster machines in the fleet, I will make the next batch longer.

There is another test to run on 'hello' and then we will move up to 'yello'.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Misfit
Son of a Gunn
Avatar
Send message
Joined: 24 Feb 05
United States
BOINC Synergy
Credit: 2,127.4
RAC: 0.00
Joined: Feb 24, 2005
Verified: Apr 18, 2010
Dubloons: 3
Punishment: Misfit
Message 2911 - Posted: 23 Feb 2006 | 2:59:32 UTC - in response to Message 2901.

On my Pentium III they take 70 seconds, but show 0.00% progress during the run (jumping to 100% when finished).

Is it an expected behavior?


Exactly so.

This is the absolutely simplest BOINC app that creates some output and sends it back to the server. Nothing more. No graphics. No progress report. It was designed to do about 60 sec on one of my development machines, which is also a Pentium III.

You can find more detail in these release notes

Since we now have so many faster machines in the fleet, I will make the next batch longer.

There is another test to run on 'hello' and then we will move up to 'yello'.

Then after that I hear the next version 'arrr' will be a fully interactive video game.
____________

Post to thread

Message boards : Pirate Applications : hello 5.03

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2020 Capt. Jack Sparrow