Skip to content
/ 3 Public
forked from mumax/3

GPU-accelerated micromagnetic simulator

License

Notifications You must be signed in to change notification settings

Artemkth/3

This branch is 21 commits ahead of, 21 commits behind mumax/3:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

43700d7 · Sep 5, 2022
Sep 10, 2018
Jun 28, 2022
Jul 19, 2022
Jul 19, 2022
Jul 19, 2022
Jun 26, 2020
Jul 19, 2022
Jul 19, 2022
Jul 19, 2022
Jul 19, 2022
May 13, 2014
May 13, 2014
Dec 11, 2015
Jul 19, 2022
Jul 19, 2022
Jul 19, 2022
May 15, 2014
Jul 19, 2022
Sep 15, 2016
May 18, 2015
Jun 18, 2020
Jul 10, 2018
May 13, 2014
Jun 18, 2020
Sep 5, 2022
Jul 19, 2022
Jun 18, 2020
Dec 6, 2015

Repository files navigation

mumax3

Warning this is a fully compatible fork of https://github.com/mumax/3 with an added custom geometry import feature. This has been ported to the new go modules system. Needs custom build instructions, see below.

GPU accelerated micromagnetic simulator.

Documentation (no binaries here, purely DIY)

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 anything really)

  • install Go
  • insall GIT, please
  • install CUDA and nvidia driver
    • sudo apt-get install nvidia-cuda-toolkit nvidia-driver or whatever your distro does
    • only get drivers manually on windows, don't make your admin cry! https://developer.nvidia.com/cuda-downloads (pick default installation path)
    • Windows only: this project has hardcoded location for CUDA SDK to C:\CUDA, symlink/install accordingly (you need to symlink the insides of the folder with version number as the name)
  • install a C compiler
    • on Ubuntu/Debian: sudo apt-get install gcc
    • on Windows either gcc or cl (from visual studio work, provided they are in PATH)
  • get repo & compile
    • clone this repo git clone https://github.com/Artemkth/3.git
    • change into the repository directory
    • either a: build executable in curent dir by running go build ./cmd/mumax3 or build it into $GOPATH/bin with go install ./cmd/mumax3
    • other utilities can be built similarly by pointing at their directories instead
  • 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

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%