[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
CULA • View topic - Instead of exception handling, my computer reboots

Instead of exception handling, my computer reboots

General CULA Dense (LAPACK & BLAS) support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

Instead of exception handling, my computer reboots

Postby erikacule » Thu Dec 06, 2012 4:16 am

Hi

I am using the functions culaSgesvd and culaSgemm. I have not tried to find out if other culatools functions cause the same problem.

When I call these functions with data that are too big for the GPU, instead of handling the exception and returning an error, my computer reboots without warning (!).

If I run the same code under cula-memcheck this problem does not occur. Either the code runs as it should, even for data that cause the computer to reboot, or for even bigger data the exception is handled appropriately.

I tried initialising all of my data to zero and calloc-ing the memory for arrays of culaFloat, but this has not fixed the problem.

I would like the exception to be handled correctly so that I can direct my code to do something else if the data are too big for the GPU to handle.

Do you have any suggestions as to how I could debug this problem? I am preparing a MWE, which I can send if you think this would help.

Ubuntu 11.10, CUDA 5.0, CULA 16, nVidia GeForce GTX 580

Thanks in advance

Erika
erikacule
 
Posts: 4
Joined: Tue Jun 26, 2012 8:05 am

Re: Instead of exception handling, my computer reboots

Postby john » Thu Dec 06, 2012 10:42 am

Please post the reproducer once you have completed it - it is impossible to give any guidance absent that.
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re: Instead of exception handling, my computer reboots

Postby erikacule » Fri Dec 21, 2012 4:06 am

Attachments
makefile.txt
I couldn't upload the file without a file extension.
(645 Bytes) Downloaded 439 times
test.c
test.c
(2.91 KiB) Downloaded 450 times
erikacule
 
Posts: 4
Joined: Tue Jun 26, 2012 8:05 am

Re: Instead of exception handling, my computer reboots

Postby john » Fri Dec 21, 2012 9:34 am

john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re: Instead of exception handling, my computer reboots

Postby erikacule » Fri Dec 21, 2012 9:39 am

No, the GPU is not the display device. I updated the linux kernel when I moved to CUDA 5.0.

Thanks for taking a look though.
erikacule
 
Posts: 4
Joined: Tue Jun 26, 2012 8:05 am

Re: Instead of exception handling, my computer reboots

Postby john » Fri Dec 21, 2012 9:53 am

culaSgemm is a wrapper to cublasSgemm, so if you are seeing the same problem there, it suggests either a problem with the NVIDIA libs, or somehow a timeout is being triggered even though your display is unattached. I'm afraid I don't have a lot to go on besides that for you.
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re: Instead of exception handling, my computer reboots

Postby erikacule » Fri Dec 21, 2012 9:57 am

OK I will take a look at that. I did a Google search about GPU and kernel time out and I see why you asked whether the GPU is the display device, so I will also have a look at the settings for the driver and see if there is something there.

Thanks for taking a look, I appreciate it.
erikacule
 
Posts: 4
Joined: Tue Jun 26, 2012 8:05 am


Return to CULA Dense Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron