climateprediction.net home page
*** Running 32bit CPDN from 64bit Linux - Discussion ***

*** Running 32bit CPDN from 64bit Linux - Discussion ***

Questions and Answers : Unix/Linux : *** Running 32bit CPDN from 64bit Linux - Discussion ***
Message board moderation

To post messages, you must log in.

1 · 2 · 3 · 4 . . . 18 · Next

AuthorMessage
Greg Tippitt

Send message
Joined: 22 Nov 05
Posts: 2
Credit: 2,202,322
RAC: 0
Message 51428 - Posted: 18 Feb 2015, 6:07:24 UTC - in response to Message 51277.  

I have some systems running 64 bit Ubuntu 14.04 LTS. I used the command below to install extra stuff that got CPDN jobs running for me.

   sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 -y


ID: 51428 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2167
Credit: 64,403,322
RAC: 5,085
Message 51564 - Posted: 7 Mar 2015, 23:01:17 UTC
Last modified: 7 May 2020, 17:31:30 UTC

**** IMPORTANT ****

As of October 2019, all cpdn apps are still 32bit. Most/all 64bit Linux distributions do not by default have 32bit compatibility libraries installed. In order to get cpdn models to run on 64bit Linux, you must have these libraries installed. Below is guidance for later versions of Ubuntu and Redhat/CentOS to have compatibility with cpdn.

*********************************************************

Edit...Added in commands for Ubuntu 16.04 and 18.04 (which should also work for 19.04) and 19.10. This is copied to earlier in the thread for anyone new looking for help with 32bit CPDN in 64bit Linux.

For 64bit Ubuntu 19.10 and 20.04, the following command should work to ensure 32 bit compatibility with cpdn apps

sudo  apt-get  install  lib32ncurses6  lib32z1  lib32stdc++-7-dev


For 64bit Ubuntu 18.04 and 19.04, the following command should work to ensure 32bit compatibility with cpdn apps (or at least it worked in April 2019):

sudo  apt-get  install  lib32ncurses5  lib32z1  lib32stdc++-6-dev


For 64bit Ubuntu 16.04, the following command should work:

sudo  apt-get  install  lib32ncurses5  lib32z1  gcc-4.7-multilib


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

For Redhat/CentOS/SciLinux 6, the following command should work:

yum  install  compat-libstdc++-296.i686  compat-libstdc++-33.i686  compat-libstdc++-33.x86_64  zlib.i686  libstdc++.i686


For Redhat/CentOS/SciLinux 7, the following command should work:

yum  install  compat-libstdc++-33.i686  compat-libstdc++-33.x86_64  zlib.i686  libstdc++.i686


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

For recent versions of Debian, try the advice in this post

https://www.cpdn.org/forum_thread.php?id=8008&postid=61468


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

The generic guidance from boinc on running 32bit apps on 64bit Linux is here:

https://boinc.berkeley.edu/wiki/Installing_BOINC#64_Bit_Considerations

It might give you ideas for installing 32bit compatibility libraries on previous versions of Ubuntu or on Fedora/Redhat.

*********************************************************
ID: 51564 · Report as offensive     Reply Quote
bernard_ivo

Send message
Joined: 18 Jul 13
Posts: 438
Credit: 24,488,575
RAC: 2,962
Message 51566 - Posted: 8 Mar 2015, 8:40:02 UTC - in response to Message 51564.  

Hi, the E7300 is the 32 bit machine, and the T8300 is the 64

the 64 has just errored out on the MOSES II model (missing zips). Will install all the 32 libraries to see whether something will change
ID: 51566 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,378,503
RAC: 3,632
Message 51567 - Posted: 8 Mar 2015, 10:54:58 UTC

Just done an ldd on hadam3p_eu_graphics_7.23_i686-pc-linux-gnu on my new x64 Kubuntu installation on laptop.

went to utopic site to get LibX11-6_1.6.2ubuntu2 and clicked on downloaded deb to install it. - couldn't work out the right command for it in a hurry.
then sudo
apt-get install libX6 :i386
apt-get install LibXt6 :i386
apt-get install LibXmu6 :i386
apt-get install libXi6 :i386
apt-get install libGL1 :i386

There were a few others but I assume they were dependencies of libGL as once that was installed nothing showed as missing.

And true to form I am now out of tasks that have graphics on that machine so I can't test it.
ID: 51567 · Report as offensive     Reply Quote
bernard_ivo

Send message
Joined: 18 Jul 13
Posts: 438
Credit: 24,488,575
RAC: 2,962
Message 51569 - Posted: 8 Mar 2015, 12:59:22 UTC

I've installed the libraries, did some project reset and I tried to get a MOSES model.

I've got this for several hours already after 32bit libraries installed (it might be not related to the 32bit update)
Sun 08 Mar 2015 13:13:33 EET | climateprediction.net | Started download of hadam3pm2_7.03_i686-pc-linux-gnu
Sun 08 Mar 2015 13:13:33 EET | climateprediction.net | Started download of hadam3pm2_data_7.03_i686-pc-linux-gnu.zip
Sun 08 Mar 2015 13:13:35 EET | | Project communication failed: attempting access to reference site
Sun 08 Mar 2015 13:13:35 EET | climateprediction.net | Temporarily failed download of hadam3pm2_7.03_i686-pc-linux-gnu: connect() failed
Sun 08 Mar 2015 13:13:35 EET | climateprediction.net | Backing off 00:07:32 on download of hadam3pm2_7.03_i686-pc-linux-gnu
Sun 08 Mar 2015 13:13:35 EET | climateprediction.net | Temporarily failed download of hadam3pm2_data_7.03_i686-pc-linux-gnu.zip: connect() failed
Sun 08 Mar 2015 13:13:35 EET | climateprediction.net | Backing off 00:07:36 on download of hadam3pm2_data_7.03_i686-pc-linux-gnu.zip
Sun 08 Mar 2015 13:13:35 EET | climateprediction.net | Started download of hadam3pm2_se_7.03_i686-pc-linux-gnu.zip
Sun 08 Mar 2015 13:13:35 EET | climateprediction.net | Started download of hadam3pm2_um_7.03_i686-pc-linux-gnu.zip
Sun 08 Mar 2015 13:13:36 EET | | Internet access OK - project servers may be temporarily down.
Sun 08 Mar 2015 13:13:36 EET | climateprediction.net | Temporarily failed download of hadam3pm2_se_7.03_i686-pc-linux-gnu.zip: connect() failed
Sun 08 Mar 2015 13:13:36 EET | climateprediction.net | Backing off 00:06:10 on download of hadam3pm2_se_7.03_i686-pc-linux-gnu.zip
Sun 08 Mar 2015 13:13:36 EET | climateprediction.net | Temporarily failed download of hadam3pm2_um_7.03_i686-pc-linux-gnu.zip: connect() failed
Sun 08 Mar 2015 13:13:36 EET | climateprediction.net | Backing off 00:04:58 on download of hadam3pm2_um_7.03_i686-pc-linux-gnu.zip

so far can't download the model - server status seems to be ok

additionally when doing
sudo ldd hadam3p_eu_um_7.23_i686-pc-linux-gnu
I got this
linux-gate.so.1 => (0xf774d000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7727000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76e1000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76c4000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7516000)
/lib/ld-linux.so.2 (0xf774e000)

Any ideas?
ID: 51569 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,378,503
RAC: 3,632
Message 51570 - Posted: 8 Mar 2015, 15:37:49 UTC

The server page doesn't tell you about the download server in question which is down due to a hardware fault. See this thread. http://climateapps2.oerc.ox.ac.uk/cpdnboinc/forum_thread.php?id=8035
ID: 51570 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1045
Credit: 16,506,818
RAC: 5,001
Message 51837 - Posted: 15 Apr 2015, 18:28:15 UTC - in response to Message 51277.  

On my Red Hat Enterprise Linux 6.6 system, they are in this package:

compat-libstdc++-33-3.2.3-69.el6.x86_64

At least, the 32-bit C++ library is.

And it is called

/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
ID: 51837 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,378,503
RAC: 3,632
Message 51885 - Posted: 24 Apr 2015, 12:59:09 UTC

Just upgraded my laptop to Kubuntu 15.04. Upgrade failed so I then did it by downloading iso Running sudo apt-get and the required packages says it can't find them. I am going to have to possibly add some extra repositories to my system to get them or find the .debs and install them individually. Hoping the desktop box upgrade will work successfully and so will keep the libs from before.

If anyone finds the way around this before I do, please post!
ID: 51885 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,378,503
RAC: 3,632
Message 51887 - Posted: 24 Apr 2015, 14:49:36 UTC - in response to Message 51885.  

Ok, got them all via package manager on laptop with fresh install but the 32 bit libs were obviously deleted during the upgrade on desktop so now got to find them on there.
ID: 51887 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,378,503
RAC: 3,632
Message 51888 - Posted: 24 Apr 2015, 15:02:40 UTC

Installing libc6 i386 and libc6-dev i386 through the package manager seems to do the trick. Also had to install webkit on the laptop to get BOINC to run at all.

Graphics will have to wait till I have some models that let me test them.
ID: 51888 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,378,503
RAC: 3,632
Message 51889 - Posted: 25 Apr 2015, 13:29:57 UTC - in response to Message 51888.  

Not totally sure if the -dev files are needed or not but if I hadn't been stuffed up with a cold, I would have realised that installing the -dev package would have installed the other one anyway.
ID: 51889 · Report as offensive     Reply Quote
klepel

Send message
Joined: 9 Oct 04
Posts: 76
Credit: 67,812,914
RAC: 5,809
Message 52330 - Posted: 25 Jul 2015, 1:50:43 UTC

I am not really sure, why I am doing it again...

I downloaded the Berkeley Installer from the BOINC site: Linux x64 7.2.42 and installed it on under /home/user/BOINC on a Linux Mint Cinnamon 17.1 64bits system. All of it on a USB-Stick 3.0 32GB.

Yes i did download the lib32 files.
I started with run_manager as usual nothing happens. I start run_client - it works but I am not able to attach to a project, because of my very rudimentary computer knowledge...

I do ldd boincmgr and I do get:
roland@roland-desktop ~/BOINC $ ldd boincmgr
linux-gate.so.1 => (0xf779f000)
libwx_gtk2u_html-2.8.so.0 => not found
libwx_gtk2u_adv-2.8.so.0 => not found
libwx_gtk2u_core-2.8.so.0 => not found
libwx_baseu_net-2.8.so.0 => not found
libwx_baseu-2.8.so.0 => not found
All the rest seems installed.

So my question: where do I find these 5 libwx files? I tried with Synaptic Package Manager: No success!

Any ideas?

I would really like to help with these "hadam3prm3pm2t_eu (hadam3p global model with hadrm3p regional model with MOSES II land scheme and TRIFFID available) (currently no graphics) (Linux only)" WUs but I am not able to get BOINC running... I do have two idle computers with another OS installed, so I would be able to run with LINUX on a stick.

PS I do use the Berkeley installer as I would like to run NVIDIA GPU as well, but this never worked before, although I did not have these missing lib s either...





ID: 52330 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2167
Credit: 64,403,322
RAC: 5,085
Message 52337 - Posted: 26 Jul 2015, 21:30:41 UTC - in response to Message 52330.  

Whenever I get that message, I do a search for libwx in package manager and then install anything that has that and has gtk or graphical toolkit in it. This would be the 64bit version for boincmanager.
ID: 52337 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 52338 - Posted: 27 Jul 2015, 0:24:10 UTC - in response to Message 52330.  

Hello klepel

If you can't get BOINC to work, then this is the wrong forum. You need the BOINC/dev forum.
This thread is about 32 bit libs needed by the climate programs. (And, as Geophi says, you'll need the 64 bit versions of the libs for the 64 bit BOINC.)

Doing a web search for: libwx seems to indicate that they might be Widget files.

This one may help:
Where do I get libwx-gtk-2.6.so.0 ?

although it's for 2.6, and you want 2.8

ID: 52338 · Report as offensive     Reply Quote
klepel

Send message
Joined: 9 Oct 04
Posts: 76
Credit: 67,812,914
RAC: 5,809
Message 52339 - Posted: 27 Jul 2015, 5:10:58 UTC

Sorry, when I misused this thread, but I could not find a better one on climteprediction.net and I am not a user of the boinc forums, however I do climateprediction.net since 2004. So I thought I will find some linux-geek (mint) in this forum who might easily help...

And their should be a certain interest from project people to bring down:
"hadam3prm3pm2t_eu (Linux only) Tasks ready to send 25,459 [As of 27 Jul 2015 4:49:00 UTC]" as well.

Back to my problem: I searched around for an other two hours without any success, and I think I used the Syanptic Package Manager and installed nearly all libwx packages I thought might be usefull, whithout any success. So if anybody has a solution o might be willing to help just PM me!
ID: 52339 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,378,503
RAC: 3,632
Message 52343 - Posted: 27 Jul 2015, 6:21:16 UTC

Hi, on my recent installs on ubuntu, I installing webkit got me the missing file(s) needed for BOINC Manager to run. On ubuntu if using KDE I think it is installed automagically but not with xfce which I am using now due to it's lower memory overhead.

Interestingly, my last install with kde produced a missing library error on some tasks, right at the end of computation even though the library was present. With XFCE the tasks complete normally.
ID: 52343 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,378,503
RAC: 3,632
Message 52570 - Posted: 15 Sep 2015, 11:28:13 UTC - in response to Message 51277.  

sudo apt-get install libxmu:i386 gets the graphics to work, at least it does on my beta tasks, none of the other work I have has graphics available.
ID: 52570 · Report as offensive     Reply Quote
Wes

Send message
Joined: 24 Aug 08
Posts: 7
Credit: 37,536,564
RAC: 163
Message 52840 - Posted: 11 Nov 2015, 10:27:47 UTC

I have CPDN running on several 64-bit boxes running Ubuntu 14.04. However on two other 64-bit boxes (also running Ubuntu 14.04) the jobs all die after about 23 seconds with the message 'Computation error'. I have checked that all the 32-bit libraries mentioned in various posts are installed. I am at a loss as to what more to check. Does anyone have an idea? [/quote]
ID: 52840 · Report as offensive     Reply Quote
Digby

Send message
Joined: 17 Feb 06
Posts: 89
Credit: 4,309,159
RAC: 0
Message 52841 - Posted: 11 Nov 2015, 12:45:39 UTC - in response to Message 52840.  
Last modified: 11 Nov 2015, 12:46:43 UTC

Wes, here are some notes I recently made when installing Boinc 7.6.12 on to Ubuntu 15.04...they need editing to simplify them but could perhaps give pointers to people running Ubuntu 64bit.

64bit Ubuntu:
The tasks for CPDN seem to be 32bit at the moment (apparently they originate from legacy UK Met Office mainframe code). Recent Ubuntu releases don't have 32bit libraries and out of the box Ubuntu 15.04 will not run CPDN. The solution is to identify what is missing and then add it. Initially I tried the instructions in http://boinc.berkeley.edu/wiki/installing_on_Linux#64_Bit_Considerations but they were out of date. I ended up installing:
- sudo apt-get install lib32z1 lib32ncurses5 and it added lib32tinfo5 libc6-i386 as well.
- tried installing libstdc++6 but it was already the newest version.
- sudo apt-get install freeglut3 installed ok but I don't know what it does...

I then ran boinc manager and attached to climateprediction.net. It downloaded tasks and they promptly crashed! This suggested that some libraries were still missing. I learned from http://askubuntu.com/questions/409821/install-package-for-missing-libraries how to find missing libraries. The gist is:
- Ensure build-essential is installed then go to
/home/directory/for/boinc/projects/climateprediction.net and find a the file that has crashed. Use the 'ldd' command to determine the missing libraries e.g.
- ldd hadcm3s_7.24_i686-pc-linux-gnu | grep not
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
However, remember that the climateprediction.net could be 32bit!!

You can use then use apt-file to search for the package that contains that file. To install it, type:
sudo apt-get install apt-file
Then you have to update the index.
sudo apt-file update
After that, you can search for the package which contains the file libstdc++.so.6:
sudo apt-file find libstdc++.so.6
Then you find a lot packages that contains the searched file. The two that are relevant are:
libstdc++6: /usr/lib/x86_64-linux-gnu/libstdc++.so.6 and
lib32stdc++6: /usr/lib32/libstdc++.so.6

also
libgcc1: /lib/x86_64-linux-gnu/libgcc_s.so.1
lib32gcc1: /usr/lib32/libgcc_s.so.1

Remember that sudo apt-get install libstdc++6 is already the newest version (64bit), that means we need to install
sudo apt-get install lib32stdc++6 and you get
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
lib32gcc1
The following NEW packages will be installed
lib32gcc1 lib32stdc++6

The extra package is that second file listed as missing (libgcc_s.so.1 => not found)

The important point to note here is that these are the 32bit libraries missing!!!
ID: 52841 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,378,503
RAC: 3,632
Message 52842 - Posted: 11 Nov 2015, 14:19:47 UTC

Wes, the two machines that keep crashing tasks don't have the missing libraries error message but,

unzip: cannot find or open /scratch/wes/BOINC/projects/climateprediction.net/hadam3prm3pm2t_eu_se_7.01_i686-pc-linux-gnu.zip, /scratch/wes/BOINC/projects/climateprediction.net/hadam3prm3pm2t_eu_se_7.01_i686-pc-linux-gnu.zip.zip or /scratch/wes/BOINC/projects/climateprediction.net/hadam3prm3pm2t_eu_se_7.01_i686-pc-linux-gnu.zip.ZIP.

unzip:

There is something ab out your set up stopping the files from being found.
ID: 52842 · Report as offensive     Reply Quote
1 · 2 · 3 · 4 . . . 18 · Next

Questions and Answers : Unix/Linux : *** Running 32bit CPDN from 64bit Linux - Discussion ***

©2024 climateprediction.net