Nmag micromagnetic simulation tool - software engineering lessons learned

Hans Fangohr, Maximilian Albert, Matteo Franchin
1/27/2016
7 citations
cs.SEphysics.comp-ph

Official code: fangohr/paper-supplement-ocaml-performance (2 stars, OCaml, BSD-2-Clause, last commit 2016-12-04).

Abstract

We review design and development decisions and their impact for the open source code Nmag from a software engineering in computational science point of view. We summarise lessons learned and recommendations for future computational science projects.

Show full abstract

Key lessons include that encapsulating the simulation functionality in a library of a general purpose language, here Python, provides great flexibility in using the software. The choice of Python for the top-level user interface was very well received by users from the science and engineering community. The from-source installation in which required external libraries and dependencies are compiled from a tarball was remarkably robust. In places, the code is a lot more ambitious than necessary, which introduces unnecessary complexity and reduces main- tainability. Tests distributed with the package are useful, although more unit tests and continuous integration would have been desirable. The detailed documentation, together with a tutorial for the usage of the system, was perceived as one of its main strengths by the community.

View on arXivView PDF

Code Implementations(1)

BSD-2-Clause

Supplementary material for Nmag review paper, focussed on performance of OCaml code for numerics

23OCaml, C++Jan 25, 20169 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{fangohr2016nmag,
  title  = {Nmag micromagnetic simulation tool - software engineering lessons learned},
  author = {Hans Fangohr and Maximilian Albert and Matteo Franchin},
  year   = {2016},
  eprint = {1601.07392},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1601.07392}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1601.07392.svg)](https://codeofpaper.com/paper/1601.07392)

Discussion