tromp / cuckoo

a memory-bound graph-theoretic proof-of-work system
Other
822 stars 173 forks source link

GPUassert: out of memory mean.cu 377 #54

Closed z1617 closed 5 years ago

z1617 commented 5 years ago
./cuda29 -h dd7703e424a7f841131d8c580bf79c09907a463323b2d4531b3907d3823c
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.54                 Driver Version: 396.54                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 106...  Off  | 00000000:03:00.0  On |                  N/A |
| 60%   31C    P8    14W / 120W |     86MiB /  6078MiB |      2%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 106...  Off  | 00000000:04:00.0 Off |                  N/A |
| 60%   33C    P8    10W / 120W |      2MiB /  6078MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 106...  Off  | 00000000:09:00.0 Off |                  N/A |
| 60%   35C    P8     9W / 120W |      2MiB /  6078MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1153      G   /usr/lib/xorg/Xorg                            33MiB |
|    0      1192      G   /usr/bin/gnome-shell                          50MiB |
+-----------------------------------------------------------------------------+
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Linux miner 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Hi tromp:

When I run cuda29, I got GPUassert: out of memory mean.cu 377 error, Is there any problem with my program? Tell me if the information above isn't enough.

tromp commented 5 years ago

When I run cuda29, I got GPUassert: out of memory mean.cu 377 error, Is there any problem with my program? Tell me if the information above isn't enough.

cuda29 requires 7 GB, but you can use option -E 1 or -E 2 to reduce memory to either 5 GB or 4 GB.

regards, -John

z1617 commented 5 years ago

Hi John,

Use -E 1 works like a charm, thank you so much!