climateprediction.net home page
64 bit Linux and CPDN - problems/solutions

64 bit Linux and CPDN - problems/solutions

Questions and Answers : Unix/Linux : 64 bit Linux and CPDN - problems/solutions
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2167
Credit: 64,403,322
RAC: 5,085
Message 38077 - Posted: 9 Oct 2009, 15:59:53 UTC
Last modified: 12 Jan 2015, 3:08:15 UTC

climateprediction.net (CPDN) applications are 32bit.

Some 64bit Linux distributions do not have 32bit compatibility libraries installed by default. In order to run cpdn on a 64bit Linux operating system without errors, you may have to install these 32bit compatibility libraries.

See this boinc wiki article for instructions on installing these compatibility libraries on certain versions of Fedora and Ubuntu.

===========

Edit 1...The above link works for some versions of Ubuntu/Debian and Fedora. The 32 bit compatibility libraries may be named differently on later distributions of these operating systems. See this post for the differently named compatibility libraries for more recent versions of Ubuntu/Debian. Or this post for another way to do it in Debian.

* Note that the instructions in the wiki for Ubuntu contains the line:
sudo apt-get install ia32-libs libstdc++6 libstdc++5 freeglut3

With newer versions of Ubuntu, the first package (ia32-libs) is named differently and the response to the above command will tell you what its name is. The command will likely install the last three packages as 64 bit versions. You will have to specify the i386 versions. It goes beyond this sticky to provide specific instructions for every version of common Linux OS's. Just know that you need the i386/32bit versions of these files. You can use some package managers and specify to list non-native (non-64bit) packages. You can then look for the 32 bit/i386/compatibility versions and install them from that package manager.

===========

Edit 2...you can run the command "ldd" from command line in a terminal window on the cpdn executable programs, which should give you the dependencies that need to be installed. The executables are in the projects/climateprediction.net directory under the main BOINC installation directory.

So, for each cpdn program/application in the ..../projects/climateprediction.net folder you would run an ldd command on it and it will return the needed dependencies.

ldd hadam3p_anz_um_6.10_i686-pc-linux-gnu (for a main model executable in for the regional Australia/New Zealand model)

ldd hadam3p_anz_graphics_6.10_i686-pc-linux-gnu (for the graphics display program for that model)

etc.

Of course the ldd command will only work if you are able to download the model executables in the first place (or if you move them over from another Linux PC where cpdn is working). So if the cpdn boinc site doesn't recognize your PC OS as compatible, you won't be able run the ldd command on anything since it won't download the files, unless you move over the BOINC folder from a Linux PC that works with cpdn, and then run ldd on the files in that transferred folder.
ID: 38077 · Report as offensive
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2167
Credit: 64,403,322
RAC: 5,085
Message 48780 - Posted: 11 Apr 2014, 18:06:27 UTC
Last modified: 11 Apr 2014, 18:06:53 UTC

bump to move to top of stickies.
ID: 48780 · Report as offensive
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 49678 - Posted: 1 Aug 2014, 3:19:02 UTC
Last modified: 1 Aug 2014, 3:20:32 UTC

The most common error message is:
hadam3pm2_7.03_i686-pc-linux-gnu: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


This so.6 file is probably missing because it's an older version of the current version 8. It's needed/being used, for compatibility with older OS versions.

For how I dealt with a similar issue, see my post here.
ID: 49678 · Report as offensive

Questions and Answers : Unix/Linux : 64 bit Linux and CPDN - problems/solutions

©2024 climateprediction.net