[MAC] MATLAB (2017b) + CUDA (8.x, 9.x) + Macbook Pro (Mid. 2012) + OS X Sierra (10.12.6)*

No matter if you mess around with energy savings (“GPU auto switch”) or force your GPU to select either intern or discrete GPU mode (“gfxCardStatus” application): this thing will not work! Best way to use parallel computing in MATLAB though, uninstall CUDA and use MATLAB’s “parallel cpu toolbox”, or use an eGPU.         … [Read more…]

[MAC] How to uninstall Nvidia CUDA (here 8.x & 9.x) on OS X 10.12.6 Sierra

According to http://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html#uninstall  running just sudo /usr/bin/uninstall_cuda_drv.pl should be enough to uninstall any version of NVidia’s CUDA driver, but … it fails (there’s no such file at all)! So, I went through the following steps semi-manually to remove it successfully: sudo /Developer/NVIDIA/CUDA-8.0/bin/uninstall_cuda_8.0.pl sudo /Developer/NVIDIA/CUDA-9.0/bin/uninstall_cuda_9.0.pl sudo rm -rf /System/Library/Extensions/CUDA.kext sudo rm -rf /Library/Frameworks/CUDA.framework sudo rm -rf … [Read more…]

[MAC] iDirStat – monitor your disk space; Free MAC OS X alternatives of: DaisyDisk, Disk Inventory X, QDirStat and WinDirStat (Sierra 10.12.x)

MAC OS X Sierra 10.12.X compatible disk space monitor and statistic user interface and editor (25.05.2017) Download Edited QDirStat: base at https://github.com/shundhammer/qdirstat which based on http://kdirstat.sourceforge.net Qt-based directory statistics: KDirStat without any KDE — from the author of the original KDirStat. (c) 2015-2017 Stefan Hundhammer Stefan.Hundhammer@gmx.de Target Platforms: Linux, BSD, Unix-like systems, License: GPL V2, Updated: 2017-05-25 QDirStat is a graphical application … [Read more…]

[MAC] OS X Xcode 8.x.x (8.2.1) and Qt 5.x (5.6 and 5.7) Project error: “Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild”

Solution for the following Qt Creator – Project ERROR: “Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild” Edit file: /<Qt.app path>/5.6/clang_64/mkspecs/features/mac/default_pre.prf Replace:  isEmpty($$list($$system(“/usr/bin/xcrun -find xrun 2>/dev/null”))): \ By:            isEmpty($$list($$system(“/usr/bin/xcrun -find xcodebuild 2>/dev/null”))): \

[MAC OS X] Fix missing libraries of an existing binary by adding correct @rpath rpath LC_RPATH commands to the executable

Adding missing library path to an existing OS X binary: For example: open tracker (see https://github.com/opentrack/opentrack) misses the correct relative @rpath: otool -l /Applications/opentrack.app/Contents/MacOS/opentrack.bin | grep @rpath name @rpath/QtWidgets.framework/Versions/5/QtWidgets (offset 24) name @rpath/QtGui.framework/Versions/5/QtGui (offset 24) name @rpath/QtNetwork.framework/Versions/5/QtNetwork (offset 24) name @rpath/QtCore.framework/Versions/5/QtCore (offset 24) Where @rpath is at: Load command 28 cmd LC_RPATH cmdsize 56 path /Users/sthalik/dev/opentrack/build/install … [Read more…]

[MAC] OS X Update – Bootcamp has gone after osx upgrade/update – Repair bootcamp gap between GPT3 and GPT4

Broken BOOTCAMP in OS X 11 El Capitan ——————————————————– // To prevent from this issue: please do not update OS X if you did a manually resize operation on your already installed bootcamp, unless you did not backup your windows files. or change the way you resize your bootcamp partitition ti the following: backup your … [Read more…]

[MAC] Kitematic – Docker Image Toolbox – Example: sharelatex

1. Install Kitematic (Beta) https://www.docker.com/toolbox 2. Install tiagoboldt/sharelatex-docker https://hub.docker.com/r/tiagoboldt/sharelatex-docker/ 3. Start the docker image 4. Open Exec terminal 5. Change directory to: /sharelatex/web 6. Execute: grunt create-admin-user –email joe@example.com  replace  joe@example.com with your adminstrator’s email address 7. Follow the generated web link to set the password: Maybe you need to replace the ip and port to the ones provided … [Read more…]