Note that this is an extension and is not available in the original mumax3 code!
sudo apt install golang-go
Installs the Go programming language on your system.
mkdir -p ~/go/src/github.com/kuchkin
Creates the necessary directory structure for Go workspace following the standard Go project layout.
cd ~/go/src/github.com/kuchkin/
Changes the current directory to the newly created path to prepare for cloning the repository.
git clone https://github.com/kuchkin/mumax3-gneb.git
Clones the mumax3-gneb repository from GitHub into the current directory.
cd mumax3-gneb/
Changes the current directory to the newly created one.
go mod init github.com/kuchkin/mumax3-gneb
Initializes a new Go module for dependency management inside the project directory.
make realclean && make
Cleans up previous build files and compiles the project using the Makefile.