Questions and Answers :
Unix/Linux :
*** Running 32bit CPDN from 64bit Linux - Discussion ***
Message board moderation
Previous · 1 . . . 4 · 5 · 6 · 7 · 8 · 9 · 10 . . . 19 · Next
Author | Message |
---|---|
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
**** 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. ********************************************************* For 64bit Ubuntu 19.10 and 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 64bit Ubuntu 16.04, the following command should work: sudo apt-get install lib32ncurses5 lib32z1 gcc-4.7-multilib ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ For recent versions of Debian, try the advice in this post https://www.cpdn.org/forum_thread.php?id=8008&postid=61468 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The generic guidance from boinc on running 32bit apps on 64bit Linux is here: https://boinc.berkeley.edu/wiki/Installing_BOINC#64_Bit_Considerations It might give you ideas for installing 32bit compatibility libraries on previous versions of Ubuntu or on Fedora/Redhat. ********************************************************* |
Send message Joined: 5 Aug 04 Posts: 1119 Credit: 17,189,662 RAC: 2,777 |
Currently, on my Red Hat Enterprise Linux Server release 6.10 (Santiago) system, I get: $ ldd hadam4_8.08_i686-pc-linux-gnu linux-gate.so.1 => (0x00e47000) libpthread.so.0 => /lib/libpthread.so.0 (0x00cef000) libdl.so.2 => /lib/libdl.so.2 (0x00d0c000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00a5e000) libm.so.6 => /lib/libm.so.6 (0x00da1000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00440000) libc.so.6 => /lib/libc.so.6 (0x00b4b000) /lib/ld-linux.so.2 (0x5659a000) $ ldd hadcm3s_8.34_i686-pc-linux-gnu linux-gate.so.1 => (0x00235000) libpthread.so.0 => /lib/libpthread.so.0 (0x00cef000) libdl.so.2 => /lib/libdl.so.2 (0x00d0c000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00a59000) libm.so.6 => /lib/libm.so.6 (0x00da1000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00a21000) libc.so.6 => /lib/libc.so.6 (0x00b4b000) /lib/ld-linux.so.2 (0x5655d000) $ rpm -qf /usr/lib/libstdc++.so.6 libstdc++-4.4.7-23.el6.i686 |
Send message Joined: 15 May 09 Posts: 4529 Credit: 18,633,388 RAC: 13,220 |
So, just to summarize for Ubuntu 18.04, the following command should work to ensure 32bit compatibility with cpdn apps (or at least it worked in April 2019): Seems to work for 19.04 as well or at least running ldd on the executables didn't show anything missing afterwards. I have a second machine to upgrade but will play with this one for a while first. Also this one is configured so I can boot from the previous version on another partition if I don't like it. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
Seems to work for 19.04 as well or at least running ldd on the executables didn't show anything missing afterwards. I have a second machine to upgrade but will play with this one for a while first. Also this one is configured so I can boot from the previous version on another partition if I don't like it. Good to know. The temperature monitoring on my Ryzen in 18.04 still doesn't look right, and I know later kernels are supposed to have resolved this. So, I'll upgrade to 19.04 when I get a chance and see if it helps. |
Send message Joined: 15 May 09 Posts: 4529 Credit: 18,633,388 RAC: 13,220 |
So, I'll upgrade to 19.04 when I get a chance and see if it helps. Worth noting that there is a message on the beta download page saying that 19.04 is not a long Term Release. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
Worth noting that there is a message on the beta download page saying that 19.04 is not a long Term Release. I want 32bit compatibility, and there's no assurance that the next LTS will have it then, so I'll perhaps just play with 19.04 to see if it gives different system/CPU temps under load. |
Send message Joined: 18 Feb 17 Posts: 81 Credit: 14,024,464 RAC: 5,225 |
So, just to summarize for Ubuntu 18.04, the following command should work to ensure 32bit compatibility with cpdn apps (or at least it worked in April 2019): Thank you. I just gave this a try and will reattach to the project to see if this works on my 16.04 machine. Previously I got the error about 'this project may not have work units for your machine. Attach anyway?' I'm completely new when it comes to Linux and don't plan to be an expert, but I really like this project and would like to crunch for it on more than just Windows, especially since the Linux machines are crunching constantly and have decent CPUs (well, apart from the core 2 duo...) Edit: So after following the above steps, got the following. There is work available so I'm not sure what I did wrong here. 2019-05-02 1:36:41 PM | climateprediction.net | Sending scheduler request: Project initialization. 2019-05-02 1:36:41 PM | climateprediction.net | Requesting new tasks for CPU 2019-05-02 1:36:42 PM | climateprediction.net | Scheduler request completed: got 0 new tasks 2019-05-02 1:36:42 PM | climateprediction.net | No tasks sent Will I get an error if I don't have the correct libraries installed? Or just no tasks sent constantly. For reference, this is the computer I'm attempting to get it working on. https://www.cpdn.org/cpdnboinc//show_host_detail.php?hostid=1484660 Any help appreciated. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
I'm completely new when it comes to Linux and don't plan to be an expert, but I really like this project and would like to crunch for it on more than just Windows, especially since the Linux machines are crunching constantly and have decent CPUs (well, apart from the core 2 duo...) You probably did nothing wrong, there is just no work for Linux right now. Linux has been a part of cpdn since it started running under boinc in 2004. However, in late 2017 model types were separated among operating systems, and the only models that have been able to run on Linux were hadcm3s, of which there have been very few batches. Right now there is no work for Linux on cpdn. However hadam4 and openifs models are being tested in beta. They have larger memory requirements than the ongoing Windows models, but your PC should do alright with them. Not sure when they will be migrated to the cpdn site for general download by cpdn linux crunchers. |
Send message Joined: 18 Feb 17 Posts: 81 Credit: 14,024,464 RAC: 5,225 |
You probably did nothing wrong, there is just no work for Linux right now. Thank you! Exactly the info I was looking for. I guess it will just be Windows for now. Even my mac doesn't want to grab tasks. I'll keep CPD going on this Linux machine just in case, though. |
Send message Joined: 5 Sep 04 Posts: 7629 Credit: 24,240,330 RAC: 0 |
wolfman You can read about the status of Mac's in my post here in the Macintosh section. As has been said, Linux tasks are few and far between at present, but you can see what is available on the Project status page here. But there's a second step to find out which system they're for. Use the Applications page here for that. News about new tasks usually appears in the Number crunching section of this board. |
Send message Joined: 15 May 09 Posts: 4529 Credit: 18,633,388 RAC: 13,220 |
I'll keep CPD going on this Linux machine just in case, though. My Linux machines are running Windows tasks using WINE at the moment apart from testing tasks. The last few times I tried, I needed to use the 32 bit version of BOINC for Windows. Haven't tried going back to 64bit since upgrading to 19.04 |
Send message Joined: 18 Feb 17 Posts: 81 Credit: 14,024,464 RAC: 5,225 |
Thank you both for that. WAH seems to be the big thing at least for now and only runs on Windows, so that makes so much more sense. The only reason I installed Linux on my two machines was due to WCG tasks running about a third or more faster on them. Other projects don't seem to have such an issue so I may just reinstall Windows on them both so they can crunch away at WCG. One of my machines has a full /boot partition so I literally cannot install Linux updates, which is making me enjoy it even less. |
Send message Joined: 14 Feb 06 Posts: 5 Credit: 979,249 RAC: 0 |
I'm seeing some apps: UK Met Office HadAM4 at N144 & N216 resolution. Let see see if I can get this working.. annoyingly I've got BOINC setup in a docker container, so let's hope this works. I see that 46 are in progress though, and I didn't get any, so it looks like that's the lot. |
Send message Joined: 14 Feb 06 Posts: 5 Credit: 979,249 RAC: 0 |
How on earth am I supposed to know if my machine can deal with 32-bit apps? |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
How on earth am I supposed to know if my machine can deal with 32-bit apps? If you have Ubuntu 18.04, go to the command line and type sudo apt-get install lib32ncurses5 lib32z1 lib32stdc++-6-dev and that should take care of it. A small amount of hadam4 n144 tasks were released Friday. A lot more should be on the way next week unless there are problems. There hasn't been much in the way of Linux tasks for the last couple years. That will change shortly. |
Send message Joined: 14 Feb 06 Posts: 5 Credit: 979,249 RAC: 0 |
Ah, that makes sense. I guess I don't need to restart the core/client after installing? I already ran it, but I should retag the docker container so I don't need to keep doing it. |
Send message Joined: 27 Apr 13 Posts: 4 Credit: 7,391,230 RAC: 2,474 |
Haven't contributed since about 2013 and was wanting to return and contribute but before I start adding my machines to the project I was wondering if this project is going to remain 32-bit on Linux for the foreseeable future. Most Linux distributions are going to start dropping support for 32-bit very soon and I have removed the 32-bit architecture from most of my machines. Ubuntu and their downstream flavors all stopped shipping x86 32-bit images and now for the 19.10 cycle they have decided to stop their i386 support entirely. Beginning with Ubuntu 19.10, the archive/packages will not be built for x86 32-bit. *** update *** I think I found my answer in another thread from the end of 2018. It seems 64-bit isn't a near term thing for this project. Unfortunately that eliminates me. Good Luck moving forward |
Send message Joined: 15 Jan 06 Posts: 637 Credit: 26,751,529 RAC: 653 |
A small amount of hadam4 n144 tasks were released Friday. A lot more should be on the way next week unless there are problems. Very good. Just pull the plug on the 289 remaining N144's in process, and we can do them faster. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
Not sure what 32bit libraries Ubuntu will continue to maintain, but this statement seems to indicate some support in 19.10 and 20.04. https://ubuntu.com/blog/statement-on-32-bit-i386-packages-for-ubuntu-19-10-and-20-04-lts A new type of linux app/model called openifs has been compiled and tested as a 64 bit application on the development site. Not sure where it is at in the process of getting ready to deploy to the main site. It needs to be 64bit because it has very large memory requirements relative to other released cpdn models. |
Send message Joined: 7 Aug 04 Posts: 2183 Credit: 64,822,615 RAC: 5,275 |
Jim 1348. I think you're replying to my post from early June. The small amount was 10 in one batch. The large amount was 550. Some changes are being tested on the dev site for this application. Not sure when main site batches will be released, and how big they will be. |
©2024 cpdn.org