climateprediction.net

BOINC project discussions and announcements
Post Reply
User avatar
Contact
Posts: 160
Joined: Mon Sep 07, 2020 10:08 am

Re: climateprediction.net

Post by Contact »

Image

Only Linux 32bit tasks are available. Instructions on how to run these tasks on a 64 bit systems are below.
https://www.cpdn.org/forum_thread.php?id=8008&postid=51564 wrote:**** 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

Code: Select all

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):

Code: Select all

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

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

Code: Select all

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

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

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

Code: Select all

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:

Code: Select all

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?i ... stid=61468


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

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

https://boinc.berkeley.edu/wiki/Install ... iderations

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

*********************************************************
https://www.cpdn.org/forum_thread.php?id=8008&postid=61468 wrote:To install 32 bits libraries on recent Debian versions, you will need to add the i386 architecture to Apt, using the multiarch mechanism:

Code: Select all

$ sudo dpkg --add-architecture i386
Validate it is properly taken in account:

Code: Select all

$ dpkg --print-foreign-architectures
i386
Update your Apt packages knowledge base:

Code: Select all

$ sudo apt update
And then you can install all the libraries you want in 32 bits thanks to multiarchitecture mode. Assuming the listing on top of the forum thread is still accurate, the Debian Buster equivalent would be:

Code: Select all

$ sudo apt install zlib1g:i386 libncurses5:i386 libbz2-1.0:i386 libstdc++6:i386 -y
I have this in place on my Debian Sid, but it works on Debian 10 too. I guess multiarchitecture handling should not have changed too much since Wheezy, so I guess it roughly the same procedure for Debian 9.

I hope this helps
https://wuprop.boinc-af.org/forum_thread.php?id=191&postid=7941 wrote:I just setup an additional PC using the 1st link on Ubuntu 18.04. The changes I had to make were

Updating go version to 1.13
From

Code: Select all

cd wget https://dl.google.com/go/go1.11.linux-amd64.tar.gz
To

Code: Select all

cd wget https://dl.google.com/go/go1.13.linux-amd64.tar.gz

Then of course unpacking it:

Code: Select all

sudo tar -C /usr/local -xzf go1.13.linux-amd64.tar.gz

And installing an awk application:
sudo apt install gawk


It's been running between 1800-1900 MB memory usage on 4 cores set per LHC profile. BoincTasks was showing more than 4 cores usage once it got going (I hadn't checked actual usage). The task got near the end and is now using 4 cores and is slowly processing through the last %.

2 other PCs aren't working, I think I had setup singularity from a PPA a long time ago instead of the longer process of make. They don't work with non-dev LHC either any more.

Found the post discussing this on my team forum. It basically mentioned using the instructions for adding the repository and installing
https://singularity.lbl.gov/install-linux

Could probably do the same with cvmfs:

Code: Select all

sudo apt-get install lsb-release wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb sudo dpkg -i cvmfs-release-latest_all.deb rm -f cvmfs-release-latest_all.deb

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install cvmfs
Plus the configuring mentioned at LHC.
👉 Warning: ⚠️
https://wuprop.boinc-af.org/forum_thread.php?id=191&postid=8006 wrote:you may have previously set the option to run only selected applications
you can't see them now, but they're still there.
check your logs for "no tasks for WaH / HadCM3 / HadAM4 apps"

try changing your host "venue" or create a new one
If all else fails:
https://wuprop.boinc-af.org/forum_thread.php?id=191&postid=8003 wrote:try this:

Add the following to the options section of your cc_config.xml:

Code: Select all

<alt_platform>i686-pc-linux-gnu</alt_platform>
That should force the 32 bit alt-platform to be sent to the server, so you should be able to get tasks if that's indeed the problem.

If you're really missing libraries, the tasks will fail, but you should be able to figure out what you're missing once you have the app on the computer.


Image
Post Reply