GPU accelerated micromagnetic simulator.
The Design and Verification of mumax3:
http://scitation.aip.org/content/aip/journal/adva/4/10/10.1063/1.4899186
https://godoc.org/github.com/mumax/3/cmd
Consider downloading a pre-compiled binary. If you want to compile nevertheless:
- install the nvidia proprietary driver, if not yet present.
- if unsure, it's probably already there
- version 440.44 recommended
- install Go
- https://golang.org/dl/
- set $GOPATH
- install CUDA
- https://developer.nvidia.com/cuda-downloads (pick default installation path)
- or
sudo apt-get install nvidia-cuda-toolkit
- install a C compiler
- on Ubuntu:
sudo apt-get install gcc
- on Ubuntu:
- if you have git installed:
go get github.com/mumax/3/cmd/mumax3
- if you don't have git:
- seriously, no git?
- get the source from https://github.com/mumax/3/releases
- unzip the source into $GOPATH/src/github.com/mumax/3
cd $GOPATH/src/github.com/mumax/3/cmd/mumax3
go install
- optional: install gnuplot if you want pretty graphs
- on ubuntu:
sudo apt-get install gnuplot
- on ubuntu:
- use the Makefile if there is a need to recompile the cuda kernels
make realclean && make
Your binary is now at $GOPATH/bin/mumax3
Contributions are gratefully accepted. To contribute code, fork our repo on github and send a pull request.