-
Notifications
You must be signed in to change notification settings - Fork 1
OSX Fixes
zbhatti edited this page Jul 9, 2014
·
1 revision
Increase shared memory size:
sudo sysctl -w kern.sysv.shmmax=16777216000
sudo sysctl -w kern.sysv.shmall=4096000
and to allow a single process to connect to 32 shared memory segments:
sudo sysctl -w kern.sysv.shmseg = 32;
and the same for other properties
shmall and shmmax must be multiplicative by 4096
Run programs as sudo if they ask for shared memory
Bash Scripts Not Running Properly
Make sure the character encoding is not placing any hidden text at the end of your lines.
CUDA Timeout
This issue was happening on my ubuntu setup as well as the osx port I was trying to make. The issue has to deal with the graphics card being used as both the display driver and a computation device. There is a watchdog timer that prevents the gpu from running any single task for more than a few seconds. This setting is somewhere in the X settings. Only problem is, I cant find the file to change.
found the file, must find the the setting to change
http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ
(midway through using defaults to open the settings)
cuda error return: kerneleexectimeoutenabled
all x server options for use with nvidia devices:
ftp://download.nvidia.com/XFree86/Linux-x86_64/310.40/README/xconfigoptions.html