fangohr / paper-supplement-standard-problem-dmi

Electronic and additional information for manuscript on micromagnetic standard problem DMI
8 stars 4 forks source link

some question when re-compiling the MUMAX3 #2

Open xuejuanliu opened 5 years ago

xuejuanliu commented 5 years ago

hello. there is an error when i re-compiling the MuMax3 source code, that is, go install

github.com/mumax/3/cuda

../../cuda/dmi_d2d.go:18:2: undefined: k_adddmid2d_async

i don't know why, can you help me?

sbusting commented 4 years ago

Hello. I have exactly the same issue. Is there any possible solution to it? Thank in advance for the help.

davidcortesortuno commented 4 years ago

Hi, sorry for the late reply. I think the function needs to be generated in a wrapper file using the cuda2go.go script. Can you try to navigate to the cuda folder and run the make.bash script using bash make.bash?. It should generate a file named dmi2d_wrapper.go. Then try to recompile.

sbusting commented 4 years ago

It works!! Thanks a lot

xuejuanliu commented 4 years ago

hello, I'm sorry I didn't see your email until now. oh, congratulations, It works!! May I ask what kind of research you do? I am very pleased to discuss with you.

刘雪娟(LIU Xuejuan) 南方科技大学

联系我

Younggaz commented 1 month ago

Hi,

I have other issues when I am trying to generate a wrapper file using the cuda2go.go script. After I run the make.bash script using bash make.bash, the terminal shows error bash: make.bash: No such file or directory. Does anyone know how to solve this?

davidcortesortuno commented 1 month ago

Hi,

I have other issues when I am trying to generate a wrapper file using the cuda2go.go script. After I run the make.bash script using bash make.bash, the terminal shows error bash: make.bash: No such file or directory. Does anyone know how to solve this?

Check that the bash file is in the same folder where you are running your make bash script

Younggaz commented 1 month ago

Hi,

Many thanks for your prompt reply email.

Following the advice, I have checked that the make.bash file is not in the same directory from which I am executing the command (I cannot find any make.bash file under the cuda folder).

Additionally, I would like to ask if it would be possible for you to generate a Windows binary including this extension pack and upload it on GitHub. Having access to this would greatly aid my research.

Thank you very much for your time and assistance. I look forward to your response.

Best regards, Chenghao UCL Spintronics Group

davidcortesortuno commented 1 month ago

Hi,

I think you only have to run make in the cuda folder now, since there is a Makefile there.

Additionally, I would like to ask if it would be possible for you to
generate a Windows binary including this extension pack and upload it on
GitHub. Having access to this would greatly aid my research.

Sorry, mumax has been updated quite a bit in the last years, so making a binary is not possible using newer cards (I remember I could barely compile the code last year). On the other hand, it might be possible to add the extension to the more up-to-date https://github.com/kkingstoun/amumax code