How to open "mumax3.exe"... I can not open it... :(

443 views
Skip to first unread message

‍황영현[ 대학원석·박사통합과정재학 / 전기전자공학과 ]

unread,
Feb 8, 2022, 3:45:56 AM2/8/22
to mumax2
Dear all,

I downloaded and unzipped mmax3.10.zip to use mmax3 simulation.

But, after double click on the mumax3.exe file, the empty black cmd window temporarily opened and immediately closed.

Although adding the directory of mumax3.exe to PATH environment, the same situation repeats. 

Even if I open a cmd window and type mmax3.exe, the following appears, but the program does not open.

---
Microsoft Windows [Version 10.0.19043.1466]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Diana>mumax3.exe
//mumax 3.10 [windows_amd64 go1.11.6(gc) CUDA-11.0]
//GPU info: GeForce GTX 750 Ti(2048MB), CUDA Driver 11.1, cc=5.0, using cc=50 PTX
//(c) Arne Vansteenkiste, Dynamat LAB, Ghent University, Belgium
//This is free software without any warranty. See license.txt
//********************************************************************//
//  If you use mumax in any work or publication,                      //
//  we kindly ask you to cite the references in references.bib        //
//********************************************************************//
---

Any help would be greatly appreciated.

Best regards,
Hwang

Yao Guang

unread,
Feb 8, 2022, 4:04:28 AM2/8/22
to mum...@googlegroups.com
You can try cmd Windows with command like:
mumax3.exe -i

‍황영현[ 대학원석·박사통합과정재학 / 전기전자공학과 ] <ak...@korea.ac.kr> 于 2022年2月8日周二 17:45写道:
--
You received this message because you are subscribed to the Google Groups "mumax2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mumax2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mumax2/1528dec6-8694-481e-9185-26718150db0fn%40googlegroups.com.

David Sanchez

unread,
Feb 9, 2022, 9:53:08 AM2/9/22
to mumax2
Have you tried running a script? Like standard problem 4: 

SetGridsize(128, 32, 1) 
SetCellsize(500e-9/128, 125e-9/32, 3e-9) 
 Msat = 800e3 
Aex = 13e-12 
alpha = 0.02 
 m = uniform(1, .1, 0) 
relax() 
save(m) // relaxed state 
 autosave(m, 200e-12) 
tableautosave(10e-12) 
 B_ext = vector(-24.6E-3, 4.3E-3, 0) 
run(1e-9)

Save it in a .txt file and run the comand: mumax3 stp4.txt

Because now, it seems you are not running any script. 

Hope it helps!


‍황영현[ 대학원석·박사통합과정재학 / 전기전자공학과 ]

unread,
Feb 10, 2022, 3:32:17 AM2/10/22
to mumax2
oh,,, god,,,, 
thank you so much,,,

Even, I am running other problems thanks to U!! 

Have a good day~

Best regards
Hwang

2022년 2월 9일 수요일 오후 11시 53분 8초 UTC+9에 David Sanchez님이 작성:

Yulisa Niño Meza

unread,
Feb 18, 2022, 6:15:03 PM2/18/22
to mumax2
Hello, I have worked on mumax3 starting it from the windows power shell using the comand mumax3 -i and writing line by line my script on the gui, because I have not been able to run an entire script. Could any of you explain me in more detail where I should save the .txt file, and how and where should I write the command? I would appreciate it very much.

Josh Lauzier

unread,
Feb 18, 2022, 7:02:20 PM2/18/22
to mumax2
Hello,

You would want to convert the txt file to an mx3 file (literally, just change the file extension. You can do this when you save it in your text editor, or just right click the file in windows explorer).

To call a specific script, instead of 

mumax3 -i

You would write

mumax3 -i nameofscript.mx3

where nameofscript is the name of the file. The file should be located in the same directory as the mumax executable for simplicity. Alternatively, you can give the entire file location. If your mx3 file is located in the Documents folder, you could do something like 

mumax3 -i C:\Users\Josh\Documents\mumax3_10\nameofscript.mx3

And it will work, because it now knows where to find the script. 

When writing the command, it should be written in the same directory as the mumax executable, as you have been doing. Alternatively, you can add mumax to your PATH variable, but that is a bit more work

Best,
Josh L.
Reply all
Reply to author
Forward
0 new messages