


# Install GNU `sed`, overwriting the built-in `sed`. # Install GNU `find`, `locate`, `updatedb`, and `xargs`, `g`-prefixed. # Install some other useful utilities like `sponge`. Sudo ln -s /usr/local/bin/gsha256sum /usr/local/bin/sha256sum # Don’t forget to add `$(brew -prefix coreutils)/libexec/gnubin` to `$PATH`. # Install GNU core utilities (those that come with OS X are outdated). # Upgrade any already-installed formulae. # Make sure we’re using the latest Homebrew.

While true do sudo -n true sleep 60 kill -0 " $$ " || exit done 2>/dev/null & # Keep-alive: update existing `sudo` time stamp until the script has finished. # Ask for the administrator password upfront. Try Pkg.test("GLVisualize") to see if things work! If things are working, you should see (after some delay for compilation) an animation pop up in a window with a spiral of cubes moving over a background of several other images and visualizations.Ĭlose the window when you tire of watching it, and you should see a "tests passed" message.# Install command-line tools using Homebrew. GLFW needs cmake and xorg-dev libglu1-mesa-dev on linux (can be installed via sudo apt-get install xorg-dev libglu1-mesa-dev).On Mac OS, you need to make sure that Homebrew.jl works correctly, which was not the case on some tested machines (needed to checkout master and then rebuild).GPU acceleration brought this down to interactive speeds at around 0.12s per iteration!Įxample code on the website is out of date, pleaser refer to examples folder to get the newest versions. Note that the CPU version takes around 60 seconds for every iteration. This is a demo using the packages CUDAnative and GPUArrays to run Julia code on the GPU and visualize the result. GLVisualize is GPU accelerated and we can use this fact to display computations run on the GPU as efficient as possible. Plot examples created with Plots and GLVisualize as a backend:ĭemo of GPU computing and visualization of the GPU object with GLVisualize GLVisualize can be used as a backend for Plots.jl

I made a recording of me giving a descriptions for every example: Running the tests will walk you through all examples.
