ExtremeFLOW / neko

/ᐠ. 。.ᐟ\ᵐᵉᵒʷˎˊ˗
https://neko.cfd/
Other
161 stars 29 forks source link

user.mod missing #1140

Closed Mittagskogel closed 6 months ago

Mittagskogel commented 6 months ago

If I follow the instructions to run the tgv example, makeneko fails due to a missing user.mod module. I cannot see the mod file in the include directory and I am unable to find anything relevant in the documentation. Where should the user.mod file be coming from?

timfelle commented 6 months ago

did you use makeneko to create the executable in the tgv folder?

the user module is located in the tgv.f90 inside the example folder. So when you call makeneko tgv.f90 the user module will be compiled and linked with the rest of neko into a local variant of the executable.

Mittagskogel commented 6 months ago

Hmm, I switched from head to 0.6.1, and now it works. I hadn't tried makeneko yet because I was expecting to find the mod file in include/neko.

Let me try again with head to see if there is some kind of regression.

Mittagskogel commented 6 months ago

Yep, I can confirm that this fails in develop. I think the reason is that there are some undefined types, which causes errors and prevents user.mod from being built.

timfelle commented 6 months ago

Interesting, it does not fail on my computer. Try the following:

Could you try this and confirm that you get something similar to the message bellow.

N E K O build tool, Version 0.7.99
(build: 2024-02-14 on x86_64-pc-linux-gnu using gnu)

Building user NEKO ... done!
Mittagskogel commented 6 months ago

Yes, that works, so something must've been corrupted on my side. Thank you!