Hello,
All you need to do is run go install. (There is a makefile, but the go file will handle everything for you)
You shouldn't need to change anything else. As a test, i would recommend trying Mykola's directions
here for building mumax from source for windows. You should be able to do this with no changes right out of the box (except perhaps an updated CUDA version) if everything is set up right. If it works, you can repeat the same process, just make your DMI changes and use go install (while inside mumax/3/cmd/mumax3/ folder) instead. (Note that by 'default' Mykola means your CUDA should be installed in C:\ , so that it's C:\cuda\bin etc).
In your other posts, you've mentioned a few errors. I suspect what is happening is you have a 32bit version of mingw installed from previous projects. I would uninstall it, and remove it from your path variables (on windows, in the search bar look for environment variables, and remove it from PATH), it may conflict as go will default to your already-installed mingw. (mysgit comes bundled with 64 bit mingw, which is a wrapper for compiling gcc on windows. you do not need to download mingw seperately). You can use your own version of mingw but it is rather picky on some of the settings. It's easier to just let mysgit and go handle it behind the scenes, you don't need to do anything beyond the instructions Mykola gave.
Another note, if you update Go versions from the one Mykola listed, there are some slight changes.
As an easy check to see if it's the new version, i would recommend changing some of the text at startup. For instance, the printed line "
engine.LogOut("(c) Arne Vansteenkiste, Dynamat LAB, Ghent University, Belgium")" inside main.go , maybe add an extra line of text that says "new DMI version". If it prints "new DMI version" at startup to the command/terminal, you know it compiled yours and is calling your newly compiled executable
As far as testing your actual changes, i would recommend looking at a toy problem where you scale up your modified DMI values very high, or switch the sign or something. Something that makes it very obvious. I don't know DMI very well, but you can also try checking quantities like the total energy. Presumably your modifications should show up in the relevant quantities. A trivial example of this would be to change the periodic BC's to open BCs (which you can copy from the existing open BC code). Then if you call PBCs, but get the results for open BCs, you know it worked.
Also note inside the test folders there are some test .mx3 files the mumax guys have used to test DMI (such as dmibc.mx3 for bulk DMI BC's). You might find those useful, they're often intentionally constructed to test relevant interactions.
Best,
Josh L.