PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise
1) Message boards : Number crunching : Better multi-threading (Message 132283)
Posted 155 days ago by Gordon Lack
But it's 0.00% on Linux.
But not 0, as I run 7.14.2 on Linux.
2) Message boards : Proth Prime Search : ATI sieve app turned off; Help needed. (Message 78877)
Posted 1986 days ago by Gordon Lack
@Gordon Lack, that's rather mysterious. A BOINC app isn't supposed to be resumed after boinc_finish() is called. But it seems to have resumed from a point before the errors, and didn't repeat the errors, so it's probably a correct result.
Perhaps there was some stderr.txt left from a previous run? It is odd that it started in the middle of a line...

The next one has now finished with no such silliness (http://www.primegrid.com/result.php?resultid=566171389).

In between I did try updating to the released 14.4 AMD drivers, rather than the RC2 I'm running (and both actually install as 14.10) but that lead to a disaster as the install failed, and trying to switch back to the previous working version by installing that also failed.
Fortunately I take backups, so I was able to reverted my installed OS to a earlier, working version...

Worked OK, as the completion of that second job shows (the failed upgrade/successful restore was in the middle).
3) Message boards : Proth Prime Search : ATI sieve app turned off; Help needed. (Message 78869)
Posted 1986 days ago by Gordon Lack
Strange looking result for me on Linux.

http://www.primegrid.com/result.php?resultid=566171718

<core_client_version>7.2.42</core_client_version>
<![CDATA[
<stderr_txt>
ksum mismatch for p=25785097999483649 between 10364055 and 9532140 at n=9000063.
Computation Error: Checksum mismatch for p=25785097999483661 between 9337148 and 5274531 at n=9000063.
Computation Error: Checksum mismatch for p=25785097999483679 between 10651500 and 13852497 at n=9000063.
.....
[lots of similar lines removed...]
...
Computation Error: Checksum mismatch for p=25785097999507597 between 6548372 and 9241212 at n=9000063.
Computation Error: Checksum mismatch for p=25785097999507601 between 7046866 and 15601207 at n=9000063.
Computation Error: Checksum mismatch for p=25785097999507663 between 3365387 and 3562234 at n=9000063.
Computation Error: Checksum mismatch for p=25785097999507681 between 10382823 and 16758743 at n=9000063.
Aborting because over 1 in 8 p's had computation errors: 768 of 768.
11:57:32 (5225): called boinc_finish
Sieve started: 25785093000000000 <= p < 25785102000000000
Resuming from checkpoint p=25785097929093633 in tpcheck25785093e9.txt
Thread 0 starting
Detected 96 multiprocessors (480 SPUs) on device 0.
Device 0 is a 'Advanced Micro Devices, Inc.' 'Turks'.
Sieve started: 25785093000000000 <= p < 25785102000000000
Resuming from checkpoint p=25785098290065921 in tpcheck25785093e9.txt
Thread 0 starting
Detected 96 multiprocessors (480 SPUs) on device 0.
Device 0 is a 'Advanced Micro Devices, Inc.' 'Turks'.

Thread 0 completed
Sieve complete: 25785093000000000 <= p < 25785102000000000
count=238159614,sum=0x96e0cf5f38895b44
Elapsed time: 2499.13 sec. (0.32 init + 2498.81 sieve) at 1484754 p/sec.
Processor time: 1542.58 sec. (0.32 init + 1542.26 sieve) at 2405648 p/sec.
Average processor utilization: 1.00 (init), 0.62 (sieve)
13:21:31 (3290): called boinc_finish

</stderr_txt>
]]>
Despite reporting of all these error it seemed to keep going?
4) Message boards : Proth Prime Search : ATI sieve app turned off; Help needed. (Message 78855)
Posted 1987 days ago by Gordon Lack
Just noticed that the deadline for PPS-Sieve is 3 days. Seems a little short.

The Riesel Problem LLR (TRP), whcih has a similar recent CPU usage time, is set for a deadline of 6 days.

I've just has 5 sent to my desktop. Each reckons it will take 15 mins, but in practice each will take about 2 hours elapsed running time. With only a 3 day deadline and 5 other projects sharing the GPU that's not going to work well.
5) Message boards : Proth Prime Search : ATI sieve app turned off; Help needed. (Message 78854)
Posted 1987 days ago by Gordon Lack
The -a switch just prevents it from aborting if it's run on Nvidia. If the BOINC client tells it to run on Intel, it will run on Intel.
I'm actually thinking about the test program, which is run by hand from the command line.
But I've just noticed that this is exactly the same file that gets downloaded by the BOINC manager.

So I could use this as a test for getting OpenCL set-up under Linux on Intel CPU and GPU?
6) Message boards : Proth Prime Search : ATI sieve app turned off; Help needed. (Message 78851)
Posted 1987 days ago by Gordon Lack
On the application side, we need a method for telling the sieve app which type of GPU it's supposed to use.
So does that mean the test app posted here should run on an Intel GPU if the -a command line option is given?
7) Message boards : Proth Prime Search : ATI sieve app turned off; Help needed. (Message 78754)
Posted 1991 days ago by Gordon Lack
OK, the current status is:
...
0.2.5c, which I just pushed out for Linux only, documents -a and allows all Linux binaries to have static BOINC libraries.
Thanks. Both the 32- and 64-bit ones now run without me having to point them towards my own, hacked BOINC libs.
8) Message boards : Proth Prime Search : ATI sieve app turned off; Help needed. (Message 78674)
Posted 1993 days ago by Gordon Lack
In case it's of an use, here's a run of the command in 78651 on a LinuxMint 64-bit system with an AMD Radeon HD6670 card:
Command:
./tpsieve-cl-boinc-x86_64-linux -p13120716e9 -P13120725e9 -k5 -K9999 -n6000000 -N9000000 -T -M2 -c 60
Result:
tpsieve version cl-0.2.5b (testing)
Compiled Aug 6 2014 with GCC 4.4.3
nstart=6000000, nstep=41
tpsieve initialized: 5 <= k <= 9999, 6000000 <= n < 9000000
nstep changed to 32
CL setup complete.
cthread_count = 6144
13120718815920467 | 2501*2^8550910-1
13120718930066591 | 3699*2^7482137-1
13120719057141307 | 6089*2^8973032-1
13120719059517079 | 2445*2^7778847-1
13120719477216161 | 6435*2^8752766+1
13120719544063997 | 2985*2^7826085+1
13120719661679807 | 8253*2^8382530-1
13120719782159167 | 1543*2^7389775-1
13120719966492419 | 3749*2^6399636-1
13120720493876977 | 6645*2^7538049+1
13120720553340431 | 2055*2^8038331+1
13120720607106341 | 8311*2^7968572+1
13120720635031169 | 5679*2^8994161+1
13120720662833737 | 5469*2^6562478+1
13120720682005019 | 1935*2^7473932-1
13120721017491301 | 3531*2^6213937-1
13120721212413691 | 8341*2^6170513-1
13120721663769431 | 3585*2^6907848+1
13120721691198937 | 6395*2^7988954-1
13120721797389533 | 8075*2^8648682-1
13120721851239341 | 8595*2^6216665-1
13120721947519033 | 3327*2^6867165-1
13120722319646957 | 5003*2^6419493+1
13120722440108203 | 5707*2^6807554+1
13120722557491823 | 1731*2^8986587+1
13120722686753867 | 8135*2^7034866-1
13120723071996931 | 4241*2^7534559+1
13120723189240451 | 1119*2^6735109-1
13120723194075703 | 2055*2^6453532+1
13120723256598527 | 8165*2^8191313+1
13120723258653649 | 4355*2^7639969+1
13120723434822539 | 8535*2^6601016+1
13120723717933309 | 9707*2^7180267+1
13120723954016033 | 4685*2^8440045+1
13120723983397483 | 5737*2^6363638+1
13120724045408101 | 2565*2^6057669+1
13120724075161099 | 6163*2^7807643-1
13120724084494907 | 3081*2^6075501+1
13120724364906871 | 4281*2^8009816+1
13120724414854831 | 7821*2^6744179+1
13120724617851359 | 9975*2^7303461-1
13120724673389471 | 2361*2^6415555+1
13120724738634179 | 1485*2^6690363+1
Found 53 factors
stderr.txt:
21:40:42 (3197): Can't open init data file - running in standalone mode
Sieve started: 13120716000000000 <= p < 13120725000000000
Resuming from checkpoint p=13120718186280961 in tpcheck13120716e9.txt
Thread 0 starting
Detected 96 multiprocessors (480 SPUs) on device 0.
Device 0 is a 'Advanced Micro Devices, Inc.' 'Turks'.

Thread 0 completed
Sieve complete: 13120716000000000 <= p < 13120725000000000
count=242515220,sum=0x2dca915341c02724
Elapsed time: 4614.92 sec. (0.25 init + 4614.67 sieve) at 1476576 p/sec.
Processor time: 2793.34 sec. (0.23 init + 2793.11 sieve) at 2439541 p/sec.
Average processor utilization: 0.91 (init), 0.61 (sieve)
22:57:37 (3197): called boinc_finish

9) Message boards : Proth Prime Search : ATI sieve app turned off; Help needed. (Message 78657)
Posted 1994 days ago by Gordon Lack
Edit: Oh, and I don't think it's possible to compile with static linking when doing OpenCL code.
Not the OpenCL libraries, but it wasn't those that were the problem. It was the BOINC libs. The 64-bit one is looking for libboinc_api.so.6 and libboinc.so.6, while the 32-bit one isn't:

32-bit one:
[mysys]: ldd tpsieve-cl-boinc-x86-linux
linux-gate.so.1 => (0xf7712000)
libOpenCL.so => /opt/AMDAPP/lib/x86/libOpenCL.so (0xf76e1000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76c5000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf75db000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7595000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7578000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf73c8000)
/lib/ld-linux.so.2 (0xf7713000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf73c3000)

64-bit one:
[mysys]: ldd tpsieve-cl-boinc-x86_64-linux
linux-vdso.so.1 => (0x00007fffb5fa1000)
libOpenCL.so => /opt/AMDAPP/lib/x86_64/libOpenCL.so (0x00007fb9277a8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb92758a000)
libboinc_api.so.6 => not found
libboinc.so.6 => not found

libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb927285000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb926f7e000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb926d68000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb9269a2000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb9279d8000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb92679d000)

10) Message boards : Proth Prime Search : ATI sieve app turned off; Help needed. (Message 78566)
Posted 1997 days ago by Gordon Lack
FYI:
Alright, V0.2.5a, a.k.a. Release Candidate 2, is ready for testing on Windows and Linux. Same URL just because I don't want to create another file.

Just dowloaded this to test on a LinuxMint17 system with an AMD Radeon HD6670 card (it's a 32-bit one?).

Wed 06 Aug 2014 12:32:59 BST | | CAL: ATI GPU 0: AMD Radeon HD 6570/6670/7570/7670 series (Turks) (CAL version 1.4.1848, 1024MB, 999MB available, 1536 GFLOPS peak)
Wed 06 Aug 2014 12:32:59 BST | | OpenCL: AMD/ATI GPU 0: AMD Radeon HD 6570/6670/7570/7670 series (Turks) (driver version 1214.3, device version OpenCL 1.2 AMD-APP (1214.3), 1024MB, 999MB available, 1536 GFLOPS peak)
Wed 06 Aug 2014 12:32:59 BST | | OpenCL CPU: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz (OpenCL driver vendor: Advanced Micro Devices, Inc., driver version 1214.3 (sse2,avx), device version OpenCL 1.2 AMD-APP (1214.3))

The x86 (32-bit) executable in the zip file is statically linked against the BOINC libs.

That passes the test OK.

However, the 64-bit one isn't statically-linked, and it's expecting to find libboinc_api.so.6 and libboinc.so.6.
But the latest/current releases libs are v7 (I'm on 7.2.42).
So I've linked libboinc_api.so.6 to libboinc_api.so.7, and created a libboinc.so.6 from my libboinc.a (as there is no dynamic version built by default) and run the 64-bit one using that set-up.

That then passes the test OK as well.


Next 10 posts
[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 10.31, 8.00, 7.31
Generated 25 Jan 2020 | 4:50:26 UTC