MFIX 24.1.1 compilation failure "Invalid register for .seh_savexmm"

Unfortunately there’s not as much info in those files as I hoped. I wanted to know what CPU type is present on both machines. To get this, we need the output of the command

wmic CPU get NAME

on both machines … I suspect they have different CPUs. Let me know.

You can probably work around the issue as follows:

Activate the mfix-24.1.1 environment, navigate to the directory %CONDA_PREFIX%\share\mfix\src\model, and edit the file CMakeLists.txt


C:\> mamba activate mfix-24.1.1
(mfix-24.1.1) C:\> cd %CONDA_PREFIX%\share\mfix\src\model
(mfix-24.1.1) C:\> notepad CMakeLists.txt

Find the section (line 620) that reads

set_source_files_properties(DGTSV.f PROPERTIES
  COMPILE_OPTIONS "${FFLAGS};-O3;-ggdb;${MARCH}")

and change that to

set_source_files_properties(DGTSV.f PROPERTIES
  COMPILE_OPTIONS "${FFLAGS};-O3;-ggdb")

removing the string ;${MARCH}. If that doesn’t work try removing the -O3;
This will increase portability at the cost of performance.

Please let us know if this fixes the problem!

Thanks,
– Charles