Questions and Answers :
Unix/Linux :
*** Running 32bit CPDN from 64bit Linux - Discussion ***
Message board moderation
Previous · 1 . . . 8 · 9 · 10 · 11 · 12 · 13 · 14 . . . 19 · Next
Author | Message |
---|---|
Send message Joined: 15 May 09 Posts: 4530 Credit: 18,669,877 RAC: 14,865 |
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! |
Send message Joined: 5 Sep 04 Posts: 7629 Credit: 24,240,330 RAC: 0 |
I think that zero means No limit And Finrond has his set to zero, so that's not a problem. |
Send message Joined: 15 Jan 13 Posts: 14 Credit: 16,118,564 RAC: 0 |
I think that zero means No limit Tasks are crunching! Thanks! |
Send message Joined: 5 Sep 04 Posts: 7629 Credit: 24,240,330 RAC: 0 |
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. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
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. |
Send message Joined: 28 Feb 05 Posts: 20 Credit: 10,886,827 RAC: 13,677 |
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? |
Send message Joined: 5 Aug 04 Posts: 1120 Credit: 17,194,632 RAC: 2,780 |
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 |
Send message Joined: 28 Feb 05 Posts: 20 Credit: 10,886,827 RAC: 13,677 |
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. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
I was running the command at the beginning of this thread: Replace the 7 with 8 in the last package and it should work. |
Send message Joined: 28 Feb 05 Posts: 20 Credit: 10,886,827 RAC: 13,677 |
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? |
Send message Joined: 5 Aug 04 Posts: 1120 Credit: 17,194,632 RAC: 2,780 |
sudo apt-get install lib32ncurses6 lib32z1 lib32stdc++6 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. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
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 |
Send message Joined: 5 Aug 04 Posts: 1120 Credit: 17,194,632 RAC: 2,780 |
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 |
Send message Joined: 5 Aug 04 Posts: 1120 Credit: 17,194,632 RAC: 2,780 |
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. 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. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
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. |
Send message Joined: 5 Aug 04 Posts: 1120 Credit: 17,194,632 RAC: 2,780 |
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. 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. |
Send message Joined: 15 May 09 Posts: 4530 Credit: 18,669,877 RAC: 14,865 |
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. |
Send message Joined: 5 Sep 04 Posts: 7629 Credit: 24,240,330 RAC: 0 |
Also, it could be months before the intermittent testing is complete. |
Send message Joined: 15 May 09 Posts: 4530 Credit: 18,669,877 RAC: 14,865 |
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. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
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. 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 |
©2024 cpdn.org