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.

Previous · 1 . . . 6 · 7 · 8 · 9

AuthorMessage
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7183
Credit: 22,883,095
RAC: 1,397
Message 61725 - Posted: 19 Dec 2019, 4:37:26 UTC - in response to Message 61724.  

At the time I posted, those were the numbers for the N216 models.
Looking at Properties now, they show similar to what you say. :(

I have a very vague memory that something like this occurred earlier in the year when I was looking at some that I was running.

Which is another reason for saying that 3-4 Gigs per model is a good amount of ram to have these days. :)
ID: 61725 · Report as offensive     Reply Quote
Profile JIM

Send message
Joined: 31 Dec 07
Posts: 1103
Credit: 20,168,736
RAC: 848
Message 61728 - Posted: 19 Dec 2019, 8:08:19 UTC - in response to Message 61712.  

Yes, these new Linux tasks are huge memory hogs.
ID: 61728 · Report as offensive     Reply Quote
DuckyDuck

Send message
Joined: 10 Jan 20
Posts: 2
Credit: 59,413
RAC: 9
Message 62021 - Posted: 24 Jan 2020, 11:09:55 UTC - in response to Message 51564.  

Hi
I'm using Debian GNU/Linux 10 (buster).
Can you help me how to load the 32 libs needed to run CPDN ?

Regards
Christian
ID: 62021 · Report as offensive     Reply Quote
Profile Michael Goetz
Avatar

Send message
Joined: 2 Feb 05
Posts: 11
Credit: 367,390
RAC: 0
Message 62022 - Posted: 24 Jan 2020, 12:12:27 UTC - in response to Message 62021.  

Hi
I'm using Debian GNU/Linux 10 (buster).
Can you help me how to load the 32 libs needed to run CPDN ?

Regards
Christian


Sure. These are my notes for my Buster installations. This worked for me:

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

Want to find one of the largest known primes? Try PrimeGrid. Or help cure disease at WCG.

ID: 62022 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 2679
Credit: 3,259,434
RAC: 2,149
Message 62023 - Posted: 24 Jan 2020, 12:13:26 UTC - in response to Message 62021.  
Last modified: 24 Jan 2020, 12:15:40 UTC

Hi
I'm using Debian GNU/Linux 10 (buster).
Can you help me how to load the 32 libs needed to run CPDN ?

Regards
Christian


Hi Christian,

try the instructions from this post in the thread.
https://www.cpdn.org/forum_thread.php?id=8008&postid=61468
ID: 62023 · Report as offensive     Reply Quote
DuckyDuck

Send message
Joined: 10 Jan 20
Posts: 2
Credit: 59,413
RAC: 9
Message 62029 - Posted: 24 Jan 2020, 17:49:52 UTC - in response to Message 62023.  

THX a lot Dave
Christian
ID: 62029 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 2679
Credit: 3,259,434
RAC: 2,149
Message 62044 - Posted: 26 Jan 2020, 8:14:04 UTC

To try and keep all the information at the top of it's thread, the instructions have been placed into a new thread and this one re-named. Only moderators can add to the new thread however.

If you have instructions for a distro that isn't covered, please post them here and they will be added to the sticky.

Gentoo is one that springs to mind. I know there are crunchers out there using it but I am sure there are many others.
ID: 62044 · Report as offensive     Reply Quote
Jim1348

Send message
Joined: 15 Jan 06
Posts: 474
Credit: 21,601,363
RAC: 1,709
Message 62073 - Posted: 3 Feb 2020, 17:27:12 UTC

This is strange. Very, very strange. I just built a new Ryzen 3600 machine and installed Ubuntu 18.04.4 (actually it was 18.04.3, but it updates itself immediately).
I then attached to CPDN, but had not gotten around to installing the 32-bit libraries yet when the first N216 started running.

Now it has been running for 1 1/2 hours without a problem and is making good progress.
https://www.cpdn.org/results.php?hostid=1497978

So:
    Ubuntu now includes 32-bit libraries by default.
    HadAM4 now is 64-bit
    It is taking a long time to crash


Take your pick.

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

Send message
Joined: 7 Aug 04
Posts: 1919
Credit: 40,598,866
RAC: 6,597
Message 62074 - Posted: 3 Feb 2020, 19:07:13 UTC - in response to Message 62073.  

This is strange. Very, very strange. I just built a new Ryzen 3600 machine and installed Ubuntu 18.04.4 (actually it was 18.04.3, but it updates itself immediately).
I then attached to CPDN, but had not gotten around to installing the 32-bit libraries yet when the first N216 started running.

Now it has been running for 1 1/2 hours without a problem and is making good progress.
https://www.cpdn.org/results.php?hostid=1497978

So:
    Ubuntu now includes 32-bit libraries by default.
    HadAM4 now is 64-bit
    It is taking a long time to crash


Take your pick.


Well, if it's now 64-bit, the Applications page doesn't have any change for that app since June 2019 (8.52), and the requirements when doing an ldd on the 8.52 executables include 32bit libraries so that is not it, unless you are running a version of hadam4h not listed on the Applications page. Without 32 bit libraries, it should crash right away, but you can go into the climateprediction.net directory and do a sudo ldd on the hadam4 type executables to make sure all the requirements are satisfied. So maybe it's the automatic inclusion of 32bit libraries in Ubuntu 18.04.4? Seems strange to me. Maybe you accidentally installed 32bit Ubuntu? LOL ;-)

There's been some talk of statically linking the executables to libraries downloaded along with the app from cpdn, but nothing has been announced and I would think there would be a new version of hadam4 for that.
ID: 62074 · Report as offensive     Reply Quote
Jim1348

Send message
Joined: 15 Jan 06
Posts: 474
Credit: 21,601,363
RAC: 1,709
Message 62075 - Posted: 3 Feb 2020, 19:53:55 UTC - in response to Message 62074.  

Maybe you accidentally installed 32bit Ubuntu? LOL ;-)

I have a checklist for my installations, and hadn't gotten to that part yet. But I do it so often, that it probably figured it out for itself.
It is an example of machine learning.
ID: 62075 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 376
Credit: 3,595,519
RAC: 201
Message 62076 - Posted: 3 Feb 2020, 20:12:03 UTC - in response to Message 62073.  

Ubuntu now includes 32-bit libraries by default.
HadAM4 now is 64-bit


Not on my 64-bit machine. All seem to be 32-bit.

$ file hadam4_8.09_i686-pc-linux-gnu hadam4_8.52_i686-pc-linux-gnu hadam4_um_8.09_i686-pc-linux-gnu hadam4_um_8.52_i686-pc-linux-gnu hadcm3s_8.36_i686-pc-linux-gnu hadcm3s_um_8.34_i686-pc-linux-gnu hadcm3s_um_8.36_i686-pc-linux-gnu

hadam4_8.09_i686-pc-linux-gnu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
hadam4_8.52_i686-pc-linux-gnu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
hadam4_um_8.09_i686-pc-linux-gnu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
hadam4_um_8.52_i686-pc-linux-gnu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
hadcm3s_8.36_i686-pc-linux-gnu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
hadcm3s_um_8.34_i686-pc-linux-gnu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
hadcm3s_um_8.36_i686-pc-linux-gnu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
ID: 62076 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 2679
Credit: 3,259,434
RAC: 2,149
Message 62077 - Posted: 4 Feb 2020, 7:09:05 UTC
Last modified: 4 Feb 2020, 10:26:42 UTC

Ubuntu now includes 32-bit libraries by default.
HadAM4 now is 64-bit
It is taking a long time to crash


Take your pick.

Batch statistics for #863 show 5% hard fails, the overwhelming majority within about six seconds due to missing 32bit libraries.

https://www.cpdn.org/result.php?resultid=21909648

In reality many are not hard fails as they now get 4 chances but they are shown as hard fails after 3.

Edit: At least one I found is running 18.04 and crashing everything because of that missing lib.

https://www.cpdn.org/show_host_detail.php?hostid=1495316
ID: 62077 · Report as offensive     Reply Quote
Previous · 1 . . . 6 · 7 · 8 · 9

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

©2020 climateprediction.net