log in |
Message boards : Number crunching : Issue with second GPU
Author | Message |
---|---|
I recently started running a second GPU (Primary GTX 1060 Secondary GTX 960). SRBase will run fine with a second project task (ie Einstein, Amicable, etc) but when another SRBase task starts the task on the 960 fails out with a commutation error. Do I need to do something in the XML files? Included is one of the errors: | |
ID: 10144 · Rating: 0 · rate: / Reply Quote | |
ERROR: cudaGetLastError() returned 209: no kernel image is available for execution on the device Looks like the GTX960 is too old and was not compiled in mfaktc with older cc. | |
ID: 10146 · Rating: 0 · rate: / Reply Quote | |
No, it looks like CC 5.2 is enough to run mfaktc with "barrett76_mul32_gs" kernel. Probably large GPUSieveSize (2047Mi bits vs 64Mi bits below) may be an issue for GTX960 with 2Gb memory onboard. 2024-10-01 12:16:10 (9532): wrapper (7.24.26018): starting 2024-10-01 12:16:10 (9532): wrapper: running mfaktc-win-64.exe (-d 0) 2024-10-01 12:16:10 (9532): wrapper: created child process 8352 mfaktc v0.21 (64bit built) Compiletime options THREADS_PER_BLOCK 256 SIEVE_SIZE_LIMIT 32kiB SIEVE_SIZE 193154bits SIEVE_SPLIT 250 MORE_CLASSES enabled Runtime options SievePrimes 25000 SievePrimesAdjust 1 SievePrimesMin 5000 SievePrimesMax 100000 NumStreams 3 CPUStreams 3 GridSize 3 GPU Sieving enabled GPUSievePrimes 82486 GPUSieveSize 64Mi bits GPUSieveProcessSize 16Ki bits Checkpoints enabled CheckpointDelay 60s WorkFileAddDelay disabled Stages enabled StopAfterFactor class PrintMode full V5UserID (none) ComputerID (none) AllowSleep no TimeStampInResults no CUDA version info binary compiled for CUDA 10.0 CUDA runtime version 10.0 CUDA driver version 11.30 CUDA device info name NVIDIA GeForce GTX 980 compute capability 5.2 max threads per block 1024 max shared memory per MP 98304 byte number of multiprocessors 16 CUDA cores per MP 128 CUDA cores - total 2048 clock rate (CUDA cores) 1329MHz memory clock rate: 3505MHz memory bus width: 256 bit Automatic parameters threads per grid 1048576 GPUSievePrimes (adjusted) 82486 GPUsieve minimum exponent 1055144 running a simple selftest... Selftest statistics number of tests 107 successfull tests 107 selftest PASSED! got assignment: exp=178691207 bit_min=75 bit_max=76 (42.82 GHz-days) Starting trial factoring M178691207 from 2^75 to 2^76 (42.82 GHz-days) k_min = 105710103187920 k_max = 211420206384062 Using GPU kernel "barrett76_mul32_gs" Date Time | class Pct | time ETA | GHz-d/day Sieve Wait Oct 01 12:16 | 0 0.1% | 6.301 1h40m | 611.66 82485 n.a.% Oct 01 12:16 | 4 0.2% | 6.298 1h40m | 611.95 82485 n.a.% Oct 01 12:16 | 9 0.3% | 6.304 1h40m | 611.37 82485 n.a.% | |
ID: 10148 · Rating: 0 · rate: / Reply Quote | |
You can only exclude the GTX960 and use it for another project. | |
ID: 10150 · Rating: 0 · rate: / Reply Quote | |
So my CC file should look something like this: | |
ID: 10151 · Rating: 0 · rate: / Reply Quote | |
<cc_config>
<options>
<use_all_gpus>1</use_all_gpus>
<exclude_gpu>
<url>https://srbase.my-firewall.org/sr5/</url>
[<device_num>1</device_num>]
[<type>NVIDIA</type>]
[<app>TF</app>]
</exclude_gpu>
</options>
</cc_config> | |
ID: 10152 · Rating: 0 · rate: / Reply Quote | |
If anyone else has this issue in the future, and needs a solution, I ended up grouping my projects in the cc_config like this: | |
ID: 10159 · Rating: 0 · rate: / Reply Quote | |
Message boards :
Number crunching :
Issue with second GPU