Message boards :
Number crunching :
post milkyway_i686-pc-linux-gnu problems here
Message board moderation
Previous · 1 · 2 · 3 · Next
Author | Message |
---|---|
Send message Joined: 30 Aug 07 Posts: 2046 Credit: 26,480 RAC: 0 |
And what with linux machines with gcc libs older than 4.2.0? I'll give it a shot. Although I'm not sure why you wouldn't want to update your gcc.... :P I think the problem is for whatever library reason people in the past had asked for a dynamically linked linux app... not quite sure if we can have it both ways. lol. |
Send message Joined: 6 Sep 07 Posts: 66 Credit: 636,861 RAC: 0 |
I'll give it a shot. Although I'm not sure why you wouldn't want to update your gcc.... :P Simply because they're production systems for which I don't have root access. Thanks. |
Send message Joined: 4 Jan 08 Posts: 1 Credit: 1,063,057 RAC: 0 |
I am getting computation errors on all work units since the .4 and now the .6 release. I am running (attempting to) an older version of Linux (Red Hat 7.3) with a 2.4.32 kernel update. I am unable to alter any OS or kernel system levels as this is are production systems. Is there hope that this will be resolved or should I be looking for another BOINC project? |
Send message Joined: 2 Jan 08 Posts: 123 Credit: 69,734,841 RAC: 932 |
Just having a quick look at your error messages and you seem to be missing a file "libstdc++.so.6". You do have one system running 2.4.18bigmen Linux and this one seems to doing work units ok, so it might be something with the other Linux version. |
Send message Joined: 8 Nov 08 Posts: 178 Credit: 6,140,854 RAC: 0 |
Just having a quick look at your error messages and you seem to be missing a file "libstdc++.so.6". You do have one system running 2.4.18bigmen Linux and this one seems to doing work units ok, so it might be something with the other Linux version. Uh... If he's missing libstdc++.so, he won't be able to run any programs written in C++ and dynamically linked, which is impossible. More than likely, this is a problem with that the MilkyWay app is dynamically linked when it should statically linked. Travis? |
Send message Joined: 6 Sep 07 Posts: 66 Credit: 636,861 RAC: 0 |
Uh... If he's missing libstdc++.so, he won't be able to run any programs written in C++ and dynamically linked, which is impossible. More than likely, this is a problem with that the MilkyWay app is dynamically linked when it should statically linked. Travis? Actually, more than likely he has an older version of the library, probably libstdc++.so.5. Here's how to link that library statically: http://milkyway.cs.rpi.edu/milkyway/forum_thread.php?id=488&nowrap=true#6784. HTH |
Send message Joined: 30 Aug 07 Posts: 2046 Credit: 26,480 RAC: 0 |
Just having a quick look at your error messages and you seem to be missing a file "libstdc++.so.6". You do have one system running 2.4.18bigmen Linux and this one seems to doing work units ok, so it might be something with the other Linux version. Maybe that's the problem. Should there be any problems with the linux app if i link everything statically? |
Send message Joined: 6 Sep 07 Posts: 66 Credit: 636,861 RAC: 0 |
Maybe that's the problem. Should there be any problems with the linux app if i link everything statically? Hardly, but instead of such a brute-force approach, it's not that difficult to link only selected libraries statically. HTH |
Send message Joined: 30 Aug 07 Posts: 2046 Credit: 26,480 RAC: 0 |
Uh... If he's missing libstdc++.so, he won't be able to run any programs written in C++ and dynamically linked, which is impossible. More than likely, this is a problem with that the MilkyWay app is dynamically linked when it should statically linked. Travis? The new version of the linux binaries should have llibstdc and libstdc++ linked statically as per the above instructions (i hope). Let me know how they work out. |
Send message Joined: 6 Sep 07 Posts: 66 Credit: 636,861 RAC: 0 |
The new version of the linux binaries should have llibstdc and libstdc++ linked statically as per the above instructions (i hope). Let me know how they work out. No dice: $ ldd ~/milkyway_0.7_* milkyway_0.7_i686-pc-linux-gnu: linux-gate.so.1 => (0xffffe000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x5556d000) libm.so.6 => /lib/tls/libm.so.6 (0x55661000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x55683000) libc.so.6 => /lib/tls/libc.so.6 (0x55694000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x557ae000) /lib/ld-linux.so.2 (0x55555000) milkyway_0.7_x86_64-pc-linux-gnu: libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b2f8cbb7000) libm.so.6 => /lib64/tls/libm.so.6 (0x00002b2f8cdb4000) libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00002b2f8cf0c000) libc.so.6 => /lib64/tls/libc.so.6 (0x00002b2f8d020000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b2f8d248000) /lib64/ld-linux-x86-64.so.2 (0x00002b2f8caa0000) As you can see, libstdc++, libc and libgcc are still being dynamically linked. Since you're having some trouble, try static linking by specifying the GCC option -static then. HTH |
Send message Joined: 30 Aug 07 Posts: 2046 Credit: 26,480 RAC: 0 |
This is what i have the makefile doing right now: g++ -L/usr/local/lib -O2 -msse2 -ftree-vectorize -funroll-loops -DGMLE_BOINC -g -O -I/software/boinc-6.3.14-0/pkg/include/boinc -Wl -static -static-libgcc -Wl,-Bstatic `gcc -print-file-name=libstdc++.a` -Wl,-Bdynamic -o milkyway_0.7_x86_64-pc-linux-gnu ../astronomy/boinc_astronomy.o ../astronomy/atSurveyGeometry.o ../astronomy/numericalIntegration.o ../astronomy/parameters.o ../astronomy/probability.o ../astronomy/stCoords.o ../astronomy/stCnum.o ../astronomy/stMath.o ../astronomy/stVector.o ../astronomy/star_points.o ../astronomy/evaluation_optimized.o ../astronomy/evaluation_state.o ../searches/search_parameters.o ../util/io_util.o ../util/settings.o -lm -lboinc_api -lboinc -pthread then im getting: ldd milkyway_0.7_x86_64-pc-linux-gnu /usr/bin/ldd: line 116: ./milkyway_0.7_x86_64-pc-linux-gnu: No such file or directory when i try and compile with gcc, i get a whooooooole lot of errors. any suggestions? |
Send message Joined: 17 Feb 08 Posts: 363 Credit: 258,227,990 RAC: 0 |
This is what i have the makefile doing right now: try g++ -L/usr/local/lib -O2 -msse2 -ftree-vectorize -funroll-loops -DGMLE_BOINC -g -O -I/software/boinc-6.3.14-0/pkg/include/boinc -static -o milkyway_0.7_x86_64-pc-linux-gnu ../astronomy/boinc_astronomy.o ../astronomy/atSurveyGeometry.o ../astronomy/numericalIntegration.o ../astronomy/parameters.o ../astronomy/probability.o ../astronomy/stCoords.o ../astronomy/stCnum.o ../astronomy/stMath.o ../astronomy/stVector.o ../astronomy/star_points.o ../astronomy/evaluation_optimized.o ../astronomy/evaluation_state.o ../searches/search_parameters.o ../util/io_util.o ../util/settings.o -lm -lboinc_api -lboinc -pthread Join Support science! Joinc Team BOINC United now! |
Send message Joined: 6 Sep 07 Posts: 66 Credit: 636,861 RAC: 0 |
- you must remove the lone -O or it will turn off the optimizations you wanted from -O2. - you don't need -Wl -static before -static-libgcc. - move -Wl,-Bstatic `gcc -print-file-name=libstdc++.a` -Wl,-Bdynamic to right before -lm or at the end of the command-line. IOW: g++ -L/usr/local/lib -O2 -msse2 -ftree-vectorize -funroll-loops -DGMLE_BOINC -g -I/software/boinc-6.3.14-0/pkg/include/boinc -static-libgcc -o milkyway_0.7_x86_64-pc-linux-gnu ../astronomy/boinc_astronomy.o ../astronomy/atSurveyGeometry.o ../astronomy/numericalIntegration.o ../astronomy/parameters.o ../astronomy/probability.o ../astronomy/stCoords.o ../astronomy/stCnum.o ../astronomy/stMath.o ../astronomy/stVector.o ../astronomy/star_points.o ../astronomy/evaluation_optimized.o ../astronomy/evaluation_state.o ../searches/search_parameters.o ../util/io_util.o ../util/settings.o -Wl,-Bstatic `gcc -print-file-name=libstdc++.a` -Wl,-Bdynamic -lm -lboinc_api -lboinc -pthread Or: g++ -L/usr/local/lib -O2 -msse2 -ftree-vectorize -funroll-loops -DGMLE_BOINC -g -I/software/boinc-6.3.14-0/pkg/include/boinc -static-libgcc -o milkyway_0.7_x86_64-pc-linux-gnu ../astronomy/boinc_astronomy.o ../astronomy/atSurveyGeometry.o ../astronomy/numericalIntegration.o ../astronomy/parameters.o ../astronomy/probability.o ../astronomy/stCoords.o ../astronomy/stCnum.o ../astronomy/stMath.o ../astronomy/stVector.o ../astronomy/star_points.o ../astronomy/evaluation_optimized.o ../astronomy/evaluation_state.o ../searches/search_parameters.o ../util/io_util.o ../util/settings.o -lm -lboinc_api -lboinc -pthread -Wl,-Bstatic `gcc -print-file-name=libstdc++.a` -Wl,-Bdynamic HTH |
Send message Joined: 6 Sep 07 Posts: 66 Credit: 636,861 RAC: 0 |
- you must remove the lone -O or it will turn off the optimizations you wanted from -O2. I should add that you don't -msse2 either. That's because for 32 bits it's innefective without -mfpmath=sse, which you don't want to use unless you don't care about losing those systems with a Pentium III or an Athlon XP. Finally, -msse2 is implied for 64 bits, as well as -mfpmath=sse. However, since all x86-64 systems are required to have SSE2, you can also enable -ftree-vectorize (which is implied in -O3 for GCC 4.3 and later) when building the application for such systems. HTH |
Send message Joined: 6 Sep 07 Posts: 66 Credit: 636,861 RAC: 0 |
... which you don't want to use unless you don't care about losing those systems with a Pentium III or an Athlon XP. I got some statistics about this based on POEM's volunteer Linux systems: 13% support only SSE1, 70% support up to SSE2 and 17% support up to SSE3. More details here. HTH |
Send message Joined: 30 Aug 07 Posts: 2046 Credit: 26,480 RAC: 0 |
... which you don't want to use unless you don't care about losing those systems with a Pentium III or an Athlon XP. I think since it's a stock app, it should be as widely available as possible. The code is open source so people can download and compile it if they want the extra performance from those options. |
Send message Joined: 11 Nov 07 Posts: 41 Credit: 1,000,181 RAC: 0 |
It doesn't seem to be much difference between 64-32bits now, took the trouble installing a 64 bit system and it's maybe only a minute faster on a Q6600. |
Send message Joined: 19 Oct 08 Posts: 19 Credit: 1,463,876 RAC: 0 |
hi, i've had a few like this:
of course i just switched back to kubuntu from debian and installed boinc 6.4.3, so that may have an impact. |
Send message Joined: 9 Sep 07 Posts: 22 Credit: 320,035 RAC: 0 |
Running well for me. Fedora 9 on an Intel Core Duo laptop with some random alpha build of BOINC. I really need to update... Kathryn :o) The BOINC FAQ Service The Unofficial BOINC Wiki The Trac System More BOINC information than you can shake a stick of RAM at. |
Send message Joined: 13 Feb 08 Posts: 1124 Credit: 46,740 RAC: 0 |
hi, I've run 0.4, 0.6 and 0.7 with Mandrivel with no probs. |
©2024 Astroinformatics Group