Skip to content
/ 3 Public
forked from mumax/3

GPU-accelerated micromagnetic simulator

License

Notifications You must be signed in to change notification settings

Linkzhuu/3

 
 

Repository files navigation

mumax3

Build Status

GPU accelerated micromagnetic simulator.

Downloads and documentation

http://mumax.github.io

Paper

The Design and Verification of mumax3:

http://scitation.aip.org/content/aip/journal/adva/4/10/10.1063/1.4899186

Tools

https://godoc.org/github.com/mumax/3/cmd

Building from source (for linux)

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
  • install CUDA
  • install a C compiler
    • on Ubuntu: sudo apt-get install gcc
  • 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
  • use the Makefile if there is a need to recompile the cuda kernels
    • make realclean && make

Your binary is now at $GOPATH/bin/mumax3

Contributing

Contributions are gratefully accepted. To contribute code, fork our repo on github and send a pull request.

About

GPU-accelerated micromagnetic simulator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.6%
  • Cuda 1.9%
  • C 0.2%
  • Makefile 0.1%
  • Shell 0.1%
  • PowerShell 0.1%