Problems building/running postmfix on Windows

Hello,everyone. I encountered an error while building postmfix, as shown in the figure. Does anyone know what problem this is and how to solve it?

It looks like there’s a problem with building postmfix on Windows. We will fix this in the next release. In the meanwhile here’s a workaround:

build_mfixsolver --postmfix -DCMAKE_Fortran_FLAGS="-DMINGW=y"

Please let me know if this works for you.

Thank you, developer! Now built successfully.

But then another problem arose, when I executed the postmfix.exe file, it prompted that I couldn’t locate the program input point “_gfortran_error_stop_numeric” in the dynamic link library “C:\Users\admin\postmfix.exe”.

I can’t reproduce this. Do you have the Conda environment activated when running postmfix? Can you give me a recipe to reproduce this problem?

I have searched for many methods to address this issue, but have not been successful. At present, it is speculated that the issue may be caused by an incorrect libgfortran-3.dll file in the system, but I have not found the correct libgfortran-3.dll file. Do you have any knowledge about this problem? Can Windows 11 system use postmfix? I have activated the Conda environment already. Thank you!

What version of MFiX are you running? Have you installed the latest (25.1.2)? Can you try reinstalling it?

Why do you think you have an ‘incorrect’ libgfortan-3.dll? Did you modify the installation? If you need to reinstall the Fortran components on Windows, you can try

conda install --force-reinstall m2w64-gcc-libgfortran

Please note that I can’t troubleshoot this problem if I have no way to reproduce it. I have Postmfix working on my Windows11 test system.

Hello, I am currently using MFIX 25.1.1. It is worth noting that I am also unable to use Paraview on this computer. I guess it’s a problem with the system environment, but I don’t know how to solve it either. I tried reinstalling the Fortran section according to your method, but encountered an error as shown in the picture. Also, may I ask how I can help you reproduce this question?

How did you install Miniforge in the first place? We suggest doing the “per-user” installation instead of the “system”.