pvthinker/Fluid2d

Fortran compilation error on Windows

marcobels opened this issue · 3 comments

Sorry, i have problems running the code. If you have some time could you try to help me to fix this problem. I attached the error, which basically occurs when my fortran compiler tries to run fortran_advection.f90. The final output is: "fatal error LNK1112". Any ideas?
Cattura

Hello marcobels,
I'd love to help but on that one I'm really stuck. The error msg warns about a conflict between x86 and x64 extension. It suggests that the problem is on the compiler side, not on Fluid2d. Have you tried to do a 'f2py' on a simple Fortran subroutine?
Fluid2d does run on windows.
Cheers,
Guillaume

Hi marcobels,
Thanks for the compliment. I stopped maintaining the Matlab years ago. If you like it, you'll love the python version, it's so much better.
Meanwhile, I found this on stackoverflow. It looks relevant. Hope it helps.
Cheers,
Guillaume