Welcome to MilkyWay@home

post milkyway_i686-pc-linux-gnu problems here


Advanced search

Message boards : Number crunching : post milkyway_i686-pc-linux-gnu problems here
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · Next

AuthorMessage
ProfileTravis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
10 thousand credit badge10 year member badge
Message 7150 - Posted: 1 Dec 2008, 18:10:17 UTC - in response to Message 7140.  
Last modified: 1 Dec 2008, 18:11:31 UTC

And what with linux machines with gcc libs older than 4.2.0?

Is it too much to ask that the application be linked with the GCC option -static-libgcc in order to avoid this issue?

TIA


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.
ID: 7150 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ebahapo
Avatar

Send message
Joined: 6 Sep 07
Posts: 66
Credit: 596,366
RAC: 106
500 thousand credit badge10 year member badge
Message 7174 - Posted: 1 Dec 2008, 20:00:04 UTC - in response to Message 7150.  

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.

ID: 7174 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Major Error

Send message
Joined: 4 Jan 08
Posts: 1
Credit: 1,063,057
RAC: 0
1 million credit badge10 year member badge
Message 7258 - Posted: 2 Dec 2008, 20:05:30 UTC

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?
ID: 7258 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileConan
Avatar

Send message
Joined: 2 Jan 08
Posts: 105
Credit: 65,396,973
RAC: 0
50 million credit badge10 year member badge
Message 7278 - Posted: 2 Dec 2008, 21:21:24 UTC - in response to Message 7258.  

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.
ID: 7278 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
jedirock
Avatar

Send message
Joined: 8 Nov 08
Posts: 178
Credit: 6,140,854
RAC: 0
5 million credit badge10 year member badge
Message 7284 - Posted: 2 Dec 2008, 21:58:05 UTC - in response to Message 7278.  

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?
ID: 7284 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ebahapo
Avatar

Send message
Joined: 6 Sep 07
Posts: 66
Credit: 596,366
RAC: 106
500 thousand credit badge10 year member badge
Message 7287 - Posted: 2 Dec 2008, 22:53:29 UTC - in response to Message 7284.  

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

ID: 7287 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileTravis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
10 thousand credit badge10 year member badge
Message 7291 - Posted: 2 Dec 2008, 23:48:16 UTC - in response to Message 7284.  

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?


Maybe that's the problem. Should there be any problems with the linux app if i link everything statically?
ID: 7291 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ebahapo
Avatar

Send message
Joined: 6 Sep 07
Posts: 66
Credit: 596,366
RAC: 106
500 thousand credit badge10 year member badge
Message 7292 - Posted: 2 Dec 2008, 23:56:24 UTC - in response to Message 7291.  

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

ID: 7292 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileTravis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
10 thousand credit badge10 year member badge
Message 7386 - Posted: 3 Dec 2008, 22:52:38 UTC - in response to Message 7287.  

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


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.
ID: 7386 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ebahapo
Avatar

Send message
Joined: 6 Sep 07
Posts: 66
Credit: 596,366
RAC: 106
500 thousand credit badge10 year member badge
Message 7388 - Posted: 3 Dec 2008, 23:35:51 UTC - in response to Message 7386.  
Last modified: 3 Dec 2008, 23:37:07 UTC

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
ID: 7388 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileTravis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
10 thousand credit badge10 year member badge
Message 7389 - Posted: 3 Dec 2008, 23:43:09 UTC - in response to Message 7388.  

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?
ID: 7389 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileCrunch3r
Volunteer developer
Avatar

Send message
Joined: 17 Feb 08
Posts: 363
Credit: 258,227,990
RAC: 0
200 million credit badge10 year member badge
Message 7390 - Posted: 3 Dec 2008, 23:53:16 UTC - in response to Message 7389.  

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?


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!
ID: 7390 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ebahapo
Avatar

Send message
Joined: 6 Sep 07
Posts: 66
Credit: 596,366
RAC: 106
500 thousand credit badge10 year member badge
Message 7391 - Posted: 3 Dec 2008, 23:57:01 UTC - in response to Message 7389.  
Last modified: 4 Dec 2008, 0:07:48 UTC

- 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
ID: 7391 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ebahapo
Avatar

Send message
Joined: 6 Sep 07
Posts: 66
Credit: 596,366
RAC: 106
500 thousand credit badge10 year member badge
Message 7432 - Posted: 4 Dec 2008, 16:33:11 UTC - in response to Message 7391.  

- 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.

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

ID: 7432 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ebahapo
Avatar

Send message
Joined: 6 Sep 07
Posts: 66
Credit: 596,366
RAC: 106
500 thousand credit badge10 year member badge
Message 7433 - Posted: 4 Dec 2008, 16:44:14 UTC - in response to Message 7432.  

... 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

ID: 7433 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileTravis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
10 thousand credit badge10 year member badge
Message 7467 - Posted: 5 Dec 2008, 1:31:50 UTC - in response to Message 7433.  

... 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


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.
ID: 7467 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
cwhyl

Send message
Joined: 11 Nov 07
Posts: 41
Credit: 1,000,181
RAC: 0
1 million credit badge10 year member badge
Message 7513 - Posted: 6 Dec 2008, 21:33:27 UTC
Last modified: 6 Dec 2008, 21:35:27 UTC

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.
ID: 7513 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
barsanuphe

Send message
Joined: 19 Oct 08
Posts: 19
Credit: 1,463,876
RAC: 0
1 million credit badge10 year member badge
Message 7516 - Posted: 7 Dec 2008, 8:44:23 UTC

hi,
i've had a few like this:


Task ID 57282354
Name nm_stripe79_r7_97614_1228621541_0
Workunit 57473467
Created 7 Dec 2008 3:45:44 UTC
Sent 7 Dec 2008 3:54:29 UTC
Received 7 Dec 2008 8:40:23 UTC
Server state Over
Outcome Client error
Client state Compute error
Exit status 193 (0xc1)
Computer ID 40346
Report deadline 10 Dec 2008 3:54:29 UTC
CPU time 121.175572
stderr out

<core_client_version>6.4.3</core_client_version>
<![CDATA[
<message>
process exited with code 193 (0xc1, -63)
</message>
<stderr_txt>
Unrecognized XML in parse_init_data_file: computation_deadline
Skipping: 1228880368.136000
Skipping: /computation_deadline
Unrecognized XML in GLOBAL_PREFS::parse_override: mod_time
Skipping: /mod_time
Unrecognized XML in GLOBAL_PREFS::parse_override: max_ncpus_pct
Skipping: 100.000000
Skipping: /max_ncpus_pct
SIGSEGV: segmentation violation
Stack trace (8 frames):
milkyway_0.7_i686-pc-linux-gnu[0x805def5]
[0xb8037400]
milkyway_0.7_i686-pc-linux-gnu[0x8057640]
milkyway_0.7_i686-pc-linux-gnu[0x8057beb]
milkyway_0.7_i686-pc-linux-gnu(__gxx_personality_v0+0x24b)[0x804a893]
milkyway_0.7_i686-pc-linux-gnu(__gxx_personality_v0+0x345)[0x804a98d]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7d8a685]
milkyway_0.7_i686-pc-linux-gnu(__gxx_personality_v0+0xb9)[0x804a701]

Exiting...

</stderr_txt>
]]>

Validate state Invalid
Claimed credit 0.837180701858857
Granted credit 0
application version 0.07


of course i just switched back to kubuntu from debian and installed boinc 6.4.3, so that may have an impact.
ID: 7516 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileKSMarksPsych
Avatar

Send message
Joined: 9 Sep 07
Posts: 22
Credit: 320,035
RAC: 0
100 thousand credit badge10 year member badge
Message 7538 - Posted: 8 Dec 2008, 9:02:15 UTC

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.
ID: 7538 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfilePhil
Avatar

Send message
Joined: 13 Feb 08
Posts: 1124
Credit: 46,740
RAC: 0
10 thousand credit badge10 year member badge
Message 7545 - Posted: 8 Dec 2008, 18:04:49 UTC - in response to Message 7516.  

hi,
i've had a few like this:


Task ID 57282354
Name nm_stripe79_r7_97614_1228621541_0
Workunit 57473467
Created 7 Dec 2008 3:45:44 UTC
Sent 7 Dec 2008 3:54:29 UTC
Received 7 Dec 2008 8:40:23 UTC
Server state Over
Outcome Client error
Client state Compute error
Exit status 193 (0xc1)
Computer ID 40346
Report deadline 10 Dec 2008 3:54:29 UTC
CPU time 121.175572
stderr out

<core_client_version>6.4.3</core_client_version>
<![CDATA[
<message>
process exited with code 193 (0xc1, -63)
</message>
<stderr_txt>
Unrecognized XML in parse_init_data_file: computation_deadline
Skipping: 1228880368.136000
Skipping: /computation_deadline
Unrecognized XML in GLOBAL_PREFS::parse_override: mod_time
Skipping: /mod_time
Unrecognized XML in GLOBAL_PREFS::parse_override: max_ncpus_pct
Skipping: 100.000000
Skipping: /max_ncpus_pct
SIGSEGV: segmentation violation
Stack trace (8 frames):
milkyway_0.7_i686-pc-linux-gnu[0x805def5]
[0xb8037400]
milkyway_0.7_i686-pc-linux-gnu[0x8057640]
milkyway_0.7_i686-pc-linux-gnu[0x8057beb]
milkyway_0.7_i686-pc-linux-gnu(__gxx_personality_v0+0x24b)[0x804a893]
milkyway_0.7_i686-pc-linux-gnu(__gxx_personality_v0+0x345)[0x804a98d]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7d8a685]
milkyway_0.7_i686-pc-linux-gnu(__gxx_personality_v0+0xb9)[0x804a701]

Exiting...

</stderr_txt>
]]>

Validate state Invalid
Claimed credit 0.837180701858857
Granted credit 0
application version 0.07


of course i just switched back to kubuntu from debian and installed boinc 6.4.3, so that may have an impact.


I've run 0.4, 0.6 and 0.7 with Mandrivel with no probs.
ID: 7545 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · Next

Message boards : Number crunching : post milkyway_i686-pc-linux-gnu problems here

©2019 Astroinformatics Group