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!

Kepler arrived in Darmstadt

GPU in Hampshire Today a brand new nVidia K20 with Kepler architecture arrived in my office in Darmstadt. It was immediately configured thanks to our administrator Christian Schmitt. The card will be used to accelerate the solution process of linear systems in finite difference based schemes. This is a joint research work with Christian Richter and Markus Clemens. We aim to present first results at the nineteenth COMPUMAG Conference on the Computation of Electromagnetic Fields which is held from June, 30 to July, 4 in Budapest, Hungary.