climateprediction.net home page
Posts by [B@P] Daniel

Posts by [B@P] Daniel

1) Questions and Answers : Unix/Linux : Work units failing (Message 56282)
Posted 21 May 2017 by [B@P] Daniel
Post:
Another option is to load all used libs early, by doing so app would crash early (within 1st minute) so not much time will be lost.


In my experience, when tasks crash due to missing libs it is always within the first 20 seconds.

Edit: An exception seems to be the libz.so.1 which I can only assume is needed at time of creation of zips. I think, on my systems it has always been installed as part of getting the tasks to run at all, so I have never experienced that particular problem.

zlib is used for many different things, so usually it is present - in fact all my systems have 64-bit version of that lib. Problem is with 32-bit libs on 64-bit systems, they are usually not present there and have to be installed manually.
2) Questions and Answers : Unix/Linux : Work units failing (Message 56275)
Posted 21 May 2017 by [B@P] Daniel
Post:
Usually static linking of all required libs is enough, most BOINC projects do so.
One problem may be with linking with old versiops of glibc, Einstein@Home and Albert@home created their ARM apps by linking it with some very old version of glibc, so it needs some symbol which is no longer present in glibc version installed on Odroids. Beside this other differences between Linuxes usually means different platform string, so project can prepare another app for them.

Another option is to load all used libs early, by doing so app would crash early (within 1st minute) so not much time will be lost.

BTW, today I noticed that I got credits for some of this failed WUs. I do not know why, but thanks for this.
3) Questions and Answers : Unix/Linux : Work units failing (Message 56270)
Posted 20 May 2017 by [B@P] Daniel
Post:
I got bunch of WU failures recently. It turned out that 32-bit version of libz.so.1 was missing on my systems. After installing it "ldd wah2_se_8.25_i686-pc-linux-gnu.so" stopped complaining about missing dependency. Unfortunately all my computing time is lost here. It would be good if your libs would be statically linked with all needed libs to avoid such problems, especially when you use 32-bit apps on 64-bit systems.




©2022 climateprediction.net