climateprediction.net (CPDN) home page
Thread 'Computation errors.'

Thread 'Computation errors.'

Questions and Answers : Unix/Linux : Computation errors.
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
John Price
Avatar

Send message
Joined: 6 Aug 04
Posts: 66
Credit: 7,076,364
RAC: 12,579
Message 36895 - Posted: 9 May 2009, 19:58:08 UTC

I have recently upgraded from Fedora 9 to 10.
I chose to completely rebuild and that meant reinstalling BOINC.
Since I did this 2 weeks ago I can't seem to get CPDN to work. I have had at least 5 successful downloads, but immediately they start they end with "Computational error".
Is anyone else having a similar problem with CPDN downloads?
It could be that my system has a hardware problem. It is not exactly new. AMD 2400+ with 1Gb ram.
Using BOINC 6.4.5.



ID: 36895 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 36897 - Posted: 9 May 2009, 20:21:59 UTC

It's possibly just due to the age of the processor. See the original post in this thread.

If so, set your server prefs to NOT get any '3p' models.

ID: 36897 · Report as offensive     Reply Quote
Dave58

Send message
Joined: 8 Apr 14
Posts: 5
Credit: 164,417
RAC: 0
Message 48772 - Posted: 11 Apr 2014, 13:14:55 UTC
Last modified: 11 Apr 2014, 13:19:04 UTC

I'm getting a similar Computation Error as soon as a process starts to run. I'm using a brand new 6-core AMD processor.

AuthenticAMD
AMD FX(tm)-6100 Six-Core Processor [Family 21 Model 1 Stepping 2]
(6 processors)

Linux
3.11.0-12-generic

I'd really like to help out with this project as I have plenty of spare processing power available.

I got the error on this process: UK Met Office HadAM3P Australia New Zealand

I am going to try disabling each offending process to see if any of the available projects will run successfully.
ID: 48772 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4540
Credit: 19,022,240
RAC: 20,762
Message 48773 - Posted: 11 Apr 2014, 13:51:35 UTC

Dave, it is almost certainly due to needing the 32bit libs. There is a sticky here on the subject. Go here to get instructions for what is required. http://boinc.berkeley.edu/wiki/Installing_BOINC#64_Bit_Considerations

Some things have been renamed in ubuntu since the instructions were done.
ID: 48773 · Report as offensive     Reply Quote
Dave58

Send message
Joined: 8 Apr 14
Posts: 5
Credit: 164,417
RAC: 0
Message 48774 - Posted: 11 Apr 2014, 13:59:56 UTC
Last modified: 11 Apr 2014, 14:01:04 UTC

I tried that earlier and got this output:

dave@Cylon-MS:~/Downloads/BOINC$ sudo apt-get install ia32-libs libstdc++6 libstdc++5 freeglut3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0

E: Package 'ia32-libs' has no installation candidate

I'm new to Linux and so a lot of these things are foreign to me.
ID: 48774 · Report as offensive     Reply Quote
Dave58

Send message
Joined: 8 Apr 14
Posts: 5
Credit: 164,417
RAC: 0
Message 48775 - Posted: 11 Apr 2014, 14:03:08 UTC - in response to Message 48774.  
Last modified: 11 Apr 2014, 14:14:11 UTC

I'm using Kubuntu 13.10 64-bit
ID: 48775 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4540
Credit: 19,022,240
RAC: 20,762
Message 48776 - Posted: 11 Apr 2014, 14:09:53 UTC

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

Type the above in a terminal and when it asks you give your password.
Then start BOINC from a terminal and if anything else is missing causing models to crash it will tell you and you can repeat the sudo apt-get install with whatever shows up in the terminal.

Dave
ID: 48776 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4540
Credit: 19,022,240
RAC: 20,762
Message 48777 - Posted: 11 Apr 2014, 14:16:45 UTC

Geophi, one of the forum moderators gave the following advice to find what is missing.

From a terminal window, in the .../projects/climateprediction.net directory, If you do an

ldd hadcm3xxxxxx

for each executable (obviously replace the xxxxxx with the rest of the program name), it will give you a list of any uninstalled dependencies for that executable

It enabled me to find the missing bit that stopped the graphics from working.

I am on the next iteration of Kubuntu 2014.04
ID: 48777 · Report as offensive     Reply Quote
Dave58

Send message
Joined: 8 Apr 14
Posts: 5
Credit: 164,417
RAC: 0
Message 48778 - Posted: 11 Apr 2014, 14:20:15 UTC

Okay. That appears to have completed successfully. I don't see anything that looks like an error.

The last couple lines are:

Setting up lib32bz2-1.0 (1.0.6-4) ...
Setting up lib32tinfo5 (5.9+20130608-1ubuntu1) ...
Setting up lib32ncurses5 (5.9+20130608-1ubuntu1) ...
Setting up lib32z1 (1:1.2.8.dfsg-1ubuntu1) ...
Processing triggers for libc-bin ...
ID: 48778 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4540
Credit: 19,022,240
RAC: 20,762
Message 48779 - Posted: 11 Apr 2014, 14:47:44 UTC

From memory,the only thing that I needed to add that didn't go in automatically was the 32 bit version of libstc++ which I would have found had I read Geophi's post before I found it out the hard way.
ID: 48779 · Report as offensive     Reply Quote
Dave58

Send message
Joined: 8 Apr 14
Posts: 5
Credit: 164,417
RAC: 0
Message 48878 - Posted: 24 Apr 2014, 1:27:26 UTC

I couldn't get it to work with Kubuntu, so I went the VM route and installed Virtual Box on here with Win7-64bit. It runs fine like that. I would still like to get it to run without a VM as that would allow more CPU time to be used for actual number crunching, instead of being wasted on Win7. The other several projects that I'm supporting have no problems running on Kubuntu.
ID: 48878 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 48879 - Posted: 24 Apr 2014, 1:59:48 UTC

I had a lot of problems trying to install the graphics lib, libjpeg.so.62
The installer was being helpful, and uninstalling all of the "old stuff" as it went.

So I dug out an old computer with Windows, got a disk with Mint 32 bit (from the cover of a computer magazine), and installed that.
There's 2 great things about Mint:
The gui is very similar to Windows XP, so it's "familiar", and
After asking the usual questions, it shows a set of install options, the first of which is: Do you want to erase everything, and start again? (Or words to that effect.) So bye bye Windows.

Then I just looked for the directory with the needed files, copied them to a USB stick, and then to the computers where I really wanted them.
And I've still got them on the stick in case future upgrades try "being helpful".

ID: 48879 · Report as offensive     Reply Quote
Eirik Redd

Send message
Joined: 31 Aug 04
Posts: 391
Credit: 219,896,461
RAC: 649
Message 48881 - Posted: 24 Apr 2014, 13:46:51 UTC
Last modified: 24 Apr 2014, 13:47:22 UTC

Yeah that old jpeg62 has annoyed me a bit. Does it even exist in 64-bit?
Anyhow, getting the right old 32-bit libs on modern linux can be a pain.
Actually the last Ubuntu release (last week or so) was relatively easy, just had to install the libc6:i386 and libstdc++:1386 version and one or two more - libz1 maybe, and jpeg62, and one or two others --

So it goes. Worth the hassle for me, anyhow.
ID: 48881 · Report as offensive     Reply Quote
el_gallo_azul

Send message
Joined: 29 Nov 13
Posts: 14
Credit: 5,526,173
RAC: 0
Message 49039 - Posted: 5 May 2014, 2:30:17 UTC

I've read through this post. It sounds like each contributor has had a bit of a go, with varying levels of success (if any was commented on).

Does anyone know the actual answer to the problem?

Ubuntu 14.04 64-bit
boinc 7.2.42

Since 26.04.2014, I've downloaded 4 lots of about 10 tasks for climateprediction.net, but as soon as they've finished downloading they go straight to Status "Computation error".

I'll go and see if I can find this "Geophi" post referred to in post 48779.
ID: 49039 · Report as offensive     Reply Quote
el_gallo_azul

Send message
Joined: 29 Nov 13
Posts: 14
Credit: 5,526,173
RAC: 0
Message 49040 - Posted: 5 May 2014, 3:00:29 UTC - in response to Message 49039.  
Last modified: 5 May 2014, 3:03:24 UTC

No luck. I found Geophi's posts, which led me to juhoiipponen's post 47953, I used command
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6 libstdc++5 freeglut3

, some of these packages were installed, I paused BOINC, rebooted my computer, started BOINC, downloaded some fresh climateprediction.net tasks, but alas as soon as they finish downloading (and try to start calculating) they go straight to Status "Computation error".

I haven't got any climateprediction.net tasks working yet.

I was able to work on them successfully until a couple of months ago on Ubuntu 13.04, when my motherboard fried. It has been replaced, I have freshly installed Ubuntu 14.04 and I am able to use 7 other BOINC projects, but not climateprediction.net so far.
ID: 49040 · Report as offensive     Reply Quote
Profilegeophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2187
Credit: 64,822,615
RAC: 5,275
Message 49041 - Posted: 5 May 2014, 4:32:15 UTC - in response to Message 49040.  

If you do a

sudo ldd name_of_cpdn_executable

on each executable file in the projects/climateprediction.net directory, does the command find any unsatisfied dependencies?
ID: 49041 · Report as offensive     Reply Quote
el_gallo_azul

Send message
Joined: 29 Nov 13
Posts: 14
Credit: 5,526,173
RAC: 0
Message 49079 - Posted: 10 May 2014, 5:39:32 UTC
Last modified: 10 May 2014, 5:41:35 UTC

With Les's help, I managed to get climateprediction.net working again on BOINC. I had tried installing a million 32-bit libraries etc into my 64-bit machine, such as
sudo apt-get install ia32-libs libstdc++6 libstdc++5 freeglut3 libxmu6  lib32z1 lib32ncurses5 lib32bz2-1.0

but it still didn't work.

The final step/s that got it working again was:

1. Start a 32-bit machine that I have;
2. Copy 32-bit file /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 from that computer to (the corresponding folder of the same name in) my 64-bit computer; and
3. Make a link to the file called /usr/lib/i386-linux-gnu/libstdc++.so.6.

Hey presto!
ID: 49079 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 50067 - Posted: 8 Sep 2014, 12:28:35 UTC - in response to Message 50063.  

I don't think that the project people have the source code of the main, HUGE, program.
And one of the Met Office people said some years ago, to some professional climatologists that were sharing our old php board, that only 32 bit programs were available.
If they aren't going to provide 64 bit programs to professionals, it's unlikely that they'd do so for us amateurs.


ID: 50067 · Report as offensive     Reply Quote
ProfileIain Inglis
Volunteer moderator

Send message
Joined: 16 Jan 10
Posts: 1084
Credit: 7,815,352
RAC: 5,242
Message 50073 - Posted: 8 Sep 2014, 15:27:03 UTC

... actually, I wouldn't be surprised if the opposite was true - i.e. that the original Met Office application had to be converted from 64-bit to run on 32-bit Windows (and other) machines. My suggestion is based on no knowledge whatsoever, but even if it were true it wouldn't change the situation: the project staff would still have to build a 64-bit wrapper for the Met Office code (which would undoubtedly be an easier task than porting the Met Office code itself). However, you only have to look at the array of operational problems the project needs to sort out to see that adding another application type isn't going to make it to the top of any list soon.
ID: 50073 · Report as offensive     Reply Quote
ProfileastroWX
Volunteer moderator

Send message
Joined: 5 Aug 04
Posts: 1496
Credit: 95,522,203
RAC: 0
Message 50076 - Posted: 8 Sep 2014, 19:19:46 UTC - in response to Message 50063.  

In addition to Les' and Iain's posts, until the pool of volunteer's machines has no (or few) 32-bit operating systems, don't expect action to be taken to exclude that group.

Double the required testing of new projects, with attendant doubling of effort to build models, as Iain noted, boggles the mind.

Shoehorning supercomputer models into PCs is no small task -- and, to my knowledge, Murphy's Law hasn't been repealed (nor has McGillicuddy's Corollary: Murphy was an optimist!).

If it's any consolation, many of us were bit by the gremlin at some point. In my case it was when 64-bit SuSE (as it was called before OpenSuSE) hit the offerings.


"We have met the enemy and he is us." -- Pogo
Greetings from coastal Washington state, the scenic US Pacific Northwest.
ID: 50076 · Report as offensive     Reply Quote
1 · 2 · Next

Questions and Answers : Unix/Linux : Computation errors.

©2024 cpdn.org