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

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

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

To post messages, you must log in.

AuthorMessage
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 2858
Credit: 4,287,525
RAC: 15,203
Message 62038 - Posted: 25 Jan 2020, 6:41:35 UTC
Last modified: 8 Oct 2020, 5:12:52 UTC

Instructions for running 32 bit apps on Debian Stretch and Buster:

dpkg --add-architecture i386
dpkg --print-foreign-architectures
apt update
apt install zlib1g:i386 libncurses5:i386 libbz2-1.0:i386 libstdc++6:i386 -y


For 64bit Ubuntu 19.10and 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:

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


For Ubuntu 16.04, the following command should work:

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


For Ubuntu 14.04 - 15.10 The following command should work.

     sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6 libstdc++5 freeglut3




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


Fedora 32 (64 bit) the following needs to be installed for everything to work with hadam4 type models as well as hadcm3s.
sudo dnf install libstdc++.so.6
sudo dnf install libnsl.so.1
sudo dnf install libz.so.1
Last one needed for compressing the zips.
ID: 62038 · Report as offensive

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

©2020 climateprediction.net