Issues Compiling MFIX on Windows 10 Without AVX Support (Intel Xeon X5650)

Hello everyone,

I am trying to resolve an issue with MFIX on my workstation. So far, I have not been able to run the software correctly using the available precompiled versions. Here are the specifications of my system:

  • Operating System: Windows 10 Pro
  • Processor: Intel Xeon X5650 (Nehalem architecture, no AVX/AVX2 support)
  • RAM: 24 GB

What I have tried so far:

  1. Tested the precompiled versions of MFIX without success (the binaries fail to run, likely due to AVX/AVX2 optimizations).
  2. Adjusted BIOS settings related to hardware compatibility (disabled Hyper-Threading, verified core configuration, etc.).
  3. Set up a Python environment with all the required dependencies for MFIX.
  4. Attempted to compile MFIX using suggestions provided by ChatGPT:
  • Configured required dependencies (MPI, HDF5, etc.) and attempted compilation following generic guides.
  • Unfortunately, the compilation also failed.

Questions:

  1. Has anyone successfully compiled MFIX without AVX support?
  • If so, what tools would you recommend for a Windows 10 setup with older hardware?
  1. Is it possible to disable AVX optimizations during compilation and produce a binary compatible with my Intel Xeon X5650 processor?
  2. What specific configurations should I use in any environment to ensure a successful build?
  3. Are there alternative configurations (e.g., CMake) that could simplify this process?

I would greatly appreciate any suggestions or detailed guides that can help me overcome this obstacle. If you need additional technical details or logs, I can provide them upon request.

Thank you in advance for your time and assistance!

A few comments/questions:

Disabling hyperthreading is not likely to make any difference (except to performance)

MPI is not supported on Windows and we don’t use HDF5 in MFiX so your point 4 does not make sense. ChatGPT is a poor source of guidance! It tends to give me nothing but wrong answers. And it certainly hasn’t been trained on MFiX.

What version of MFiX are you using? Did you install via conda/mamba?

Are you referring to the MFiX solver, or the entire MFiX package? Does the GUI open?

What’s the specific error message you are seeing?

If the GUI opens - click the build popup (wrench icon), enable Verbose build, and post the resulting build.log file here.

If the GUI does not open - run build_mfixsolver --verbose > build.log and post the build.log file

Dear Charles, thank you very much for your time and response. I am responding and attaching what was requested.

Disabling hyperthreading is not likely to make any difference (except to performance).

A: you are right

MPI is not supported on Windows and we don’t use HDF5 in MFiX so your point 4 does not make sense. ChatGPT is a poor source of guidance! It tends to give me nothing but wrong answers. And it certainly hasn’t been trained on MFiX.

A: Thanks for that observation.

What version of MFiX are you using? Did you install via conda/mamba?

A: I have tried all versions since version 20. I have installed using miniforge, miniconda and anaconda (powershell).

Are you referring to the MFiX solver, or the entire MFiX package? Does the GUI open?

A: Mfix solver fails

What’s the specific error message you are seeing?
A: Error: Solver crash!
The MFiX solver has terminated unexpectedly
Error information:
[WinError -1073741795] Windows Error 0xc000001d

If the GUI opens - click the build popup (wrench icon), enable Verbose build, and post the resulting build.log file here.

A: I attached what was requested, but now a new error appears
build.zip (27.6 KB)