How to get Octave 4.4.0 for macOS with GUI

The macOS package manager Homebrew ships with Octave 4.4 but it links to Apple’s proprietary BLAS implementation, the QT graphical user interface is not supported and the ode15 solvers are broken due to Octave’s outdated sundials 2.x dependency. However, there are two alternatives:
If you prefer a quick and easy solution, then go to and download the disk image that is being put together by apjanke and me. On the other hand, if you want to compile it by yourself (including all necessary patches) then follow the instructions below and hope for the best…

#add openblas repository
brew tap dpo/openblas
brew tap-pin dpo/openblas
#download the new formula
curl -o /usr/local/Homebrew/Library/Taps/dpo/homebrew-openblas/octave.rb
brew install octave --with-qt

How to compile GNU Octave with OpenBLAS on macOS

Gnu-octave-logo The repository homebrew/science is dead, long live dpo/homebrew-openblas! We switched from Apples proprietary Accelerate framework to OpenBLAS, so free your numbers and compile Octave as follows

brew tap dpo/openblas
Pin the repository
brew tap-pin dpo/openblas
Now, install a development snapshot of octave (with GUI and java)
brew install dpo/openblas/octave --devel --with-qt --with-java
MacOS and Linux users with HiDPI screen will enjoy improved plotting thanks to the fixes of jpswensen for bug #49053.

Compile ONELAB on the Mac

ONELAB is an interface to finite element software, i.e., Gmsh and GetDP, for engineering applications. Homebrew science has been updated such that you can easily compile your own build on the Mac (after having installed brew):

> brew tap homebrew/science
> brew install gmsh --HEAD --with-fltk --with-petsc --with-slepc --with-opencascade
> brew install getdp --HEAD --with-petsc --with-slepc

Textmate and Octave

Textmate is a great OpenSource text editor for Mac OS. It can handle many programming languages (syntax highlighting, snippets, special commands) by bundles.

You find at GitHub my fork of the Matlab Textmate Bundle. It features improved Octave syntax support and allows to execute code by pressing [CMD]+R. The script looks for a terminal running Octave (or Matlab) and pastes the code by Applescript (similar to the code of DGrady).

Continue reading

Invited Talk at OctConf 2013 on Coupled Simulations (UPDATE)

Next week I will attend OctConf 2013. From the official announcement: “Following the success of OctConf 2012 which brought together users and developers for five days in July in the French Canadian summer, the first european OctConf will be held in Milan, Italy on June 24-26 2013”. I will give an invited talk on “Niobe – an Octave/Matlab Based Environment for Coupled Low-Frequency Electromagnetic Field Simulations in Teaching and Research”, co-author is Herbert De Gersem (with contributions from A. Bartel, M. Clemens, M. Günther, C. Kaufmann, J. ter Maten and D. Schmidthäusler). You can find the slides here.

UPDATE 1: Live Blog at Octave’s Google+ site.

UPDATE 2: At OctConf 2013 were several presentation given from Google Summer of Code students, for example one deals with new incomplete factorizations for preconditioning (by Kai Torben Ohlhus) and another one is concerned with a general purpose PDE package (Gedeone). Stay tuned!