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 . . . 8 · 9 · 10 · 11 · 12 · 13 · 14 . . . 18 · Next

AuthorMessage
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,379,331
RAC: 3,596
Message 64858 - Posted: 8 Dec 2021, 19:29:34 UTC

Ah this explains why I haven't been able to get tasks... seemingly forever. Guess I should check the forums more than once every 5 years. Hopefully I'll be back to crunching this project soon!
If after installing the 32bit libraries you still can't get tasks, it will be because Andy has set the max tasks/day for your computer to -1. Reporting back here will let myself or one of the other moderators inform Andy to return it to the default of 0.

I never did get around to asking why -1 for no tasks and not 0!
ID: 64858 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 64859 - Posted: 8 Dec 2021, 19:51:44 UTC

I think that zero means No limit

And Finrond has his set to zero, so that's not a problem.
ID: 64859 · Report as offensive     Reply Quote
Finrond

Send message
Joined: 15 Jan 13
Posts: 14
Credit: 16,118,564
RAC: 0
Message 64861 - Posted: 9 Dec 2021, 15:51:02 UTC - in response to Message 64859.  

I think that zero means No limit

And Finrond has his set to zero, so that's not a problem.



Tasks are crunching!

Thanks!
ID: 64861 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 64862 - Posted: 9 Dec 2021, 16:03:55 UTC - in response to Message 64861.  

The amount of memory that computer has is not nearly enough for 8 tasks at a time.
2 gigs per model is needed, unless you want to take forever.
ID: 64862 · 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 64864 - Posted: 9 Dec 2021, 17:11:22 UTC - in response to Message 64861.  

What Les said. Only 4 GB of RAM would mean you should crunch at most 2 of the tasks at the same time.

Also, you may want to manually run a boinc benchmark, as the default boinc 1 billion ops/sec that is showing up for your computer will result in ridiculously long estimates to completion for tasks. If you run one now, it likely won't show up in better estimates until you download new tasks.
ID: 64864 · Report as offensive     Reply Quote
Profile Thomas McFarland
Avatar

Send message
Joined: 28 Feb 05
Posts: 19
Credit: 7,441,243
RAC: 19,454
Message 65067 - Posted: 5 Feb 2022, 17:11:16 UTC

I recently installed Ubuntu 21.10 on two computers. I am new to Linux, so I'm not sure if I am doing something wrong, but I can't get any of the commands in this thread to work for installing the 32 bit libs. All I get is:

E: Unable to locate package lib32stdc++-7-dev
E: Couldn't find any package by regex 'lib32stdc++-7-dev'

Same goes for -6 and -5. Am I missing some step?
ID: 65067 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1045
Credit: 16,506,818
RAC: 5,001
Message 65070 - Posted: 5 Feb 2022, 19:15:05 UTC - in response to Message 65067.  

I do not know Ubuntu because I run Red Hat Enterprise Linux 8.5.
But if I look at a couple of files for CPDN to see their dependencies, I get the following:
$ ldd hadam4_se_8.52_i686-pc-linux-gnu.so
	linux-gate.so.1 (0xf7f07000)
	libnsl.so.1 => /lib/libnsl.so.1 (0xf7db8000)
	libstdc++.so.6 => /lib/libstdc++.so.6 (0xf7c25000)
	libm.so.6 => /lib/libm.so.6 (0xf7b53000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7b36000)
	libc.so.6 => /lib/libc.so.6 (0xf798e000)
	/lib/ld-linux.so.2 (0xf7f09000)

$ ldd hadam4_um_8.52_i686-pc-linux-gnu
	linux-gate.so.1 (0xf7fa8000)
	libdl.so.2 => /lib/libdl.so.2 (0xf7f8e000)
	libm.so.6 => /lib/libm.so.6 (0xf7ebc000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xf7e9c000)
	libc.so.6 => /lib/libc.so.6 (0xf7cf4000)
	/lib/ld-linux.so.2 (0xf7faa000)

# ldd hadcm3s_se_8.36_i686-pc-linux-gnu.so
	linux-gate.so.1 (0xf7f3b000)
	libz.so.1 => /lib/libz.so.1 (0xf7e83000)
	libnsl.so.1 => /lib/libnsl.so.1 (0xf7e67000)
	libstdc++.so.6 => /lib/libstdc++.so.6 (0xf7cd4000)
	libm.so.6 => /lib/libm.so.6 (0xf7c02000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7be5000)
	libc.so.6 => /lib/libc.so.6 (0xf7a3d000)
	/lib/ld-linux.so.2 (0xf7f3d000)

# ldd hadcm3s_um_8.36_i686-pc-linux-gnu
	linux-gate.so.1 (0xf7f41000)
	libdl.so.2 => /lib/libdl.so.2 (0xf7f27000)
	libm.so.6 => /lib/libm.so.6 (0xf7e55000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xf7e35000)
	libc.so.6 => /lib/libc.so.6 (0xf7c8d000)
	/lib/ld-linux.so.2 (0xf7f43000)



I do not know what your commands do to get these messages:

E: Unable to locate package lib32stdc++-7-dev

E: Couldn't find any package by regex 'lib32stdc++-7-dev'

I do not know why you would need the development packages anyway..
But if you insist, might they not be up here?

https://ubuntu.pkgs.org/18.04/ubuntu-updates-main-amd64/lib32stdc++-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb.html
ID: 65070 · Report as offensive     Reply Quote
Profile Thomas McFarland
Avatar

Send message
Joined: 28 Feb 05
Posts: 19
Credit: 7,441,243
RAC: 19,454
Message 65079 - Posted: 6 Feb 2022, 3:02:17 UTC - in response to Message 65070.  

I was running the command at the beginning of this thread:

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

And that's what I got. I assume it's because it's for up to 20.04, and I have not been able to find a command that works in 21.10. I'll browse through your link and see if something jumps out.
ID: 65079 · 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 65080 - Posted: 6 Feb 2022, 5:44:47 UTC - in response to Message 65079.  

I was running the command at the beginning of this thread:

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

And that's what I got. I assume it's because it's for up to 20.04, and I have not been able to find a command that works in 21.10. I'll browse through your link and see if something jumps out.

Replace the 7 with 8 in the last package and it should work.
ID: 65080 · Report as offensive     Reply Quote
Profile Thomas McFarland
Avatar

Send message
Joined: 28 Feb 05
Posts: 19
Credit: 7,441,243
RAC: 19,454
Message 65095 - Posted: 6 Feb 2022, 18:05:04 UTC - in response to Message 65080.  
Last modified: 6 Feb 2022, 18:13:08 UTC

Thank you! I replaced it with a 6 and it worked before I read this. The command I was copying from the thread also had double spaces between the parameters, which needed to be single. Also, I dropped the -dev. I did not see an 8 option in the "main" archive, only as a -dev file:

http://us.archive.ubuntu.com/ubuntu impish/main amd64

So, this ran and installed everything without issue:

sudo apt-get install lib32ncurses6 lib32z1 lib32stdc++6

II ran each one separately on one computer, and the other I did it as a single script. Both worked. Is this sufficient, or do I need to run it with an 8 and/or -dev?
ID: 65095 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1045
Credit: 16,506,818
RAC: 5,001
Message 65098 - Posted: 6 Feb 2022, 19:49:10 UTC - in response to Message 65095.  

sudo apt-get install lib32ncurses6 lib32z1 lib32stdc++6

II ran each one separately on one computer, and the other I did it as a single script. Both worked. Is this sufficient, or do I need to run it with an 8 and/or -dev?


On RHEL8 systems, I do not need the development libraries. I do not know about Ubuntu. One good way to find out is to run ldd on the executable files.

For example, on my system, the hadcm3s_8.36 models require these libraries.
$ ldd hadcm3s_um_8.36_i686-pc-linux-gnu
	linux-gate.so.1 (0xf7f74000)
	libdl.so.2 => /lib/libdl.so.2 (0xf7f5a000)
	libm.so.6 => /lib/libm.so.6 (0xf7e88000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xf7e68000)
	libc.so.6 => /lib/libc.so.6 (0xf7cc0000)
	/lib/ld-linux.so.2 (0xf7f76000)
l$ ldd hadcm3s_se_8.36_i686-pc-linux-gnu.so
	linux-gate.so.1 (0xf7f34000)
	libz.so.1 => /lib/libz.so.1 (0xf7e7c000)
	libnsl.so.1 => /lib/libnsl.so.1 (0xf7e60000)
	libstdc++.so.6 => /lib/libstdc++.so.6 (0xf7ccd000)
	libm.so.6 => /lib/libm.so.6 (0xf7bfb000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7bde000)
	libc.so.6 => /lib/libc.so.6 (0xf7a36000)
	/lib/ld-linux.so.2 (0xf7f36000)


and the hadam4_8.52 models seem to need less
$ ldd hadam4_um_8.52_i686-pc-linux-gnu
	linux-gate.so.1 (0xf7f10000)
	libdl.so.2 => /lib/libdl.so.2 (0xf7ef6000)
	libm.so.6 => /lib/libm.so.6 (0xf7e24000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xf7e04000)
	libc.so.6 => /lib/libc.so.6 (0xf7c5c000)
	/lib/ld-linux.so.2 (0xf7f12000)
$ ldd hadam4_se_8.52_i686-pc-linux-gnu.so
	linux-gate.so.1 (0xf7fc2000)
	libnsl.so.1 => /lib/libnsl.so.1 (0xf7e73000)
	libstdc++.so.6 => /lib/libstdc++.so.6 (0xf7ce0000)
	libm.so.6 => /lib/libm.so.6 (0xf7c0e000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7bf1000)
	libc.so.6 => /lib/libc.so.6 (0xf7a49000)
	/lib/ld-linux.so.2 (0xf7fc4000)


If libraries are missing, the ldd output will reveal them.
ID: 65098 · 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 65101 - Posted: 6 Feb 2022, 20:59:38 UTC - in response to Message 65098.  

If libraries are missing, the ldd output will reveal them.


That would work if he had been able to download any cpdn apps/tasks. But it wouldn't give him any because none of those dependencies were installed. Now, there is no new work for linux, just the occasional resend.

However, you can download the had type programs from the below URLs and try ldd on those. Obviously, unzip the ones that are zipped before you try ldd. I would download them into a separate directory (not the boinc directory) to do this test.

http://www.cpdn.org/cpdnboinc/applications//hadam4_8.52_i686-pc-linux-gnu

http://www.cpdn.org/cpdnboinc/applications//hadam4_se_8.52_i686-pc-linux-gnu.zip

http://www.cpdn.org/cpdnboinc/applications//hadam4_um_8.52_i686-pc-linux-gnu.zip

https://www.cpdn.org/applications//hadcm3s_8.36_i686-pc-linux-gnu

https://www.cpdn.org/applications//hadcm3s_se_8.36_i686-pc-linux-gnu.zip

https://www.cpdn.org/applications//hadcm3s_um_8.36_i686-pc-linux-gnu.zip
ID: 65101 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1045
Credit: 16,506,818
RAC: 5,001
Message 65102 - Posted: 6 Feb 2022, 23:05:55 UTC - in response to Message 65101.  

That would work if he had been able to download any cpdn apps/tasks. But it wouldn't give him any because none of those dependencies were installed. Now, there is no new work for linux, just the occasional resend.


True enough. But it would not matter if the dependencies were installed or not. What the O.P. needs is a list of those dependencies and it is enough to start with the tasks (s)he wishes to run. In my lists, of course, they are all there, but in the past I could find the missing ones pretty quickly using ldd. Of course, it could happen that downloading one of the missing dependencies would require yet another one required by the just-loaded one.

As a matter of fact, at the moment, I have no CPDN work units on my machine at all, but I do have the software required. These are what the boinc-client has left me after running CPDN on this machine for somewhat over a year. app_config.xml I put in there, but I believe everything else was put there by the boinc-client. (I should probably delete the hadam4h_20m... lines that probably resulted to some mishap.)

$ ls -l
total 48608
-rw-r--r--. 1 boinc boinc      83 Dec 18 13:39 app_config.xml
-rwxr-xr-x. 1 boinc boinc 3634637 Dec 18 14:33 hadam4_8.09_i686-pc-linux-gnu
-rwxr-xr-x. 1 boinc boinc 3635629 Dec 18 14:35 hadam4_8.52_i686-pc-linux-gnu
-rwxr-xr-x. 1 boinc boinc   75539 Dec 18 14:33 hadam4_data_8.09_i686-pc-linux-gnu.zip
-rwxr-xr-x. 1 boinc boinc   75539 Dec 18 14:33 hadam4_data_8.52_i686-pc-linux-gnu.zip
-rw-r--r--. 1 boinc boinc    1333 Dec 18 12:16 hadam4h_20m8_209408_4_925_012126476.xml
drwxrwx--x. 6 boinc boinc     122 Dec 27 08:22 hadam4h_20mc_209408_4_925_012126480
-rw-r--r--. 1 boinc boinc    1332 Dec 18 12:14 hadam4h_20mc_209408_4_925_012126480.xml
-rwxr-xr-x. 1 boinc boinc 1166623 Dec 18 14:33 hadam4_se_8.09_i686-pc-linux-gnu.zip
-rwxrwxr-x. 1 boinc boinc 3736644 May  1  2019 hadam4_se_8.52_i686-pc-linux-gnu.so
-rwxr-xr-x. 1 boinc boinc 1166623 Dec 18 14:33 hadam4_se_8.52_i686-pc-linux-gnu.zip
-rwxr-xr-x. 1 boinc boinc 2723666 Dec 18 14:33 hadam4_um_8.09_i686-pc-linux-gnu.zip
-rwxrwxr-x. 1 boinc boinc 6574073 May  1  2019 hadam4_um_8.52_i686-pc-linux-gnu
-rwxr-xr-x. 1 boinc boinc 2725214 Dec 18 14:33 hadam4_um_8.52_i686-pc-linux-gnu.zip
-rwxr-xr-x. 1 boinc boinc 2459392 Dec 18 14:33 hadcm3s_8.36_i686-pc-linux-gnu
-rwxr-xr-x. 1 boinc boinc  679156 Dec 18 14:33 hadcm3s_data_8.36_i686-pc-linux-gnu.zip
-rwxr-xr-x. 1 boinc boinc 2583233 Jun 10  2019 hadcm3s_se_8.36_i686-pc-linux-gnu.so
-rwxr-xr-x. 1 boinc boinc  906190 Dec 18 14:33 hadcm3s_se_8.36_i686-pc-linux-gnu.zip
-rwxrwxr-x. 1 boinc boinc 7751671 Jun 10  2019 hadcm3s_um_8.36_i686-pc-linux-gnu
-rwxr-xr-x. 1 boinc boinc 3302940 Dec 18 14:33 hadcm3s_um_8.36_i686-pc-linux-gnu.zip
-rwxr-xr-x. 1 boinc boinc 2749224 Mar 31  2021 hadsm4_8.02_i686-pc-linux-gnu
-rwxr-xr-x. 1 boinc boinc   77088 Dec 18 14:33 hadsm4_data_8.02_i686-pc-linux-gnu.zip
-rwxr-xr-x. 1 boinc boinc  916868 Dec 18 14:33 hadsm4_se_8.02_i686-pc-linux-gnu.zip
-rwxr-xr-x. 1 boinc boinc 2789337 Mar 31  2021 hadsm4_um_8.02_i686-pc-linux-gnu.zip

ID: 65102 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1045
Credit: 16,506,818
RAC: 5,001
Message 65157 - Posted: 13 Feb 2022, 21:04:23 UTC - in response to Message 65101.  

However, you can download the had type programs from the below URLs and try ldd on those. Obviously, unzip the ones that are zipped before you try ldd. I would download them into a separate directory (not the boinc directory) to do this test.

http://www.cpdn.org/cpdnboinc/applications//hadam4_8.52_i686-pc-linux-gnu

http://www.cpdn.org/cpdnboinc/applications//hadam4_se_8.52_i686-pc-linux-gnu.zip

http://www.cpdn.org/cpdnboinc/applications//hadam4_um_8.52_i686-pc-linux-gnu.zip

https://www.cpdn.org/applications//hadcm3s_8.36_i686-pc-linux-gnu

https://www.cpdn.org/applications//hadcm3s_se_8.36_i686-pc-linux-gnu.zip

https://www.cpdn.org/applications//hadcm3s_um_8.36_i686-pc-linux-gnu.zip


Is there any chance you could post a link to the openIFS programs? I would not need the data to run them, just the programs so I could run ldd on them to see if my machine will be able to run them when they become available? I could look for missing libraries if necessary beforehand.
ID: 65157 · 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 65158 - Posted: 13 Feb 2022, 21:40:29 UTC - in response to Message 65157.  

Is there any chance you could post a link to the openIFS programs? I would not need the data to run them, just the programs so I could run ldd on them to see if my machine will be able to run them when they become available? I could look for missing libraries if necessary beforehand.

It's native 64 bit and I've had no trouble running them on various versions of Ubuntu as well as CentOS 6 and CentOS 7 without any additional installs.
ID: 65158 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1045
Credit: 16,506,818
RAC: 5,001
Message 65159 - Posted: 13 Feb 2022, 22:45:47 UTC - in response to Message 65158.  

Is there any chance you could post a link to the openIFS programs? I would not need the data to run them, just the programs so I could run ldd on them to see if my machine will be able to run them when they become available? I could look for missing libraries if necessary beforehand.

It's native 64 bit and I've had no trouble running them on various versions of Ubuntu as well as CentOS 6 and CentOS 7 without any additional installs.


Yes, but I am running Red Hat Enterprise Linux release 8.5 (Ootpa). It is probably like an up-to-date version of CentOS 8 would be.

When I was trying to get CPDN to work on my machine, the instructions and libraries for RHEL7 and CentOS7 did not work.
ID: 65159 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,379,331
RAC: 3,596
Message 65160 - Posted: 14 Feb 2022, 8:50:01 UTC

I am not aware of any testers having problems on any flavour of Linux running these tasks. You can get more information here I also saw some stuff on Git-hub but I think that was just the server code. I didn't look carefully enough to see if it had the code for crunchers as well.
ID: 65160 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 65161 - Posted: 14 Feb 2022, 9:10:24 UTC

Also, it could be months before the intermittent testing is complete.
ID: 65161 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,379,331
RAC: 3,596
Message 65162 - Posted: 14 Feb 2022, 14:32:59 UTC - in response to Message 65161.  

Also, it could be months before the intermittent testing is complete.


Yes, I will be very surprised, though pleasantly so if these appear in less than six or even nine months from now. If the project tell us something more hopeful my view may change but I am not holding my breath.
ID: 65162 · 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 65163 - Posted: 15 Feb 2022, 1:39:27 UTC - in response to Message 65159.  
Last modified: 15 Feb 2022, 1:39:42 UTC

Is there any chance you could post a link to the openIFS programs? I would not need the data to run them, just the programs so I could run ldd on them to see if my machine will be able to run them when they become available? I could look for missing libraries if necessary beforehand.

It's native 64 bit and I've had no trouble running them on various versions of Ubuntu as well as CentOS 6 and CentOS 7 without any additional installs.


Yes, but I am running Red Hat Enterprise Linux release 8.5 (Ootpa). It is probably like an up-to-date version of CentOS 8 would be.

When I was trying to get CPDN to work on my machine, the instructions and libraries for RHEL7 and CentOS7 did not work.


I expect you to have no trouble, but I think this will be the link to download for that version that was oh so briefly run on the main site:

https://www.cpdn.org/cpdnboinc/applications/openifs_2.19_x86_64-pc-linux-gnu
ID: 65163 · Report as offensive     Reply Quote
Previous · 1 . . . 8 · 9 · 10 · 11 · 12 · 13 · 14 . . . 18 · Next

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

©2024 climateprediction.net