Unable to compile CGDEM06 Test case

Dear development team, I have been attempting to run the aforementioned test case i.e. Umf_CGCFDEM but I am unable to compile the USR within the case file. Kindly assist.

It looks like you are on Windows and the build script is looking for MPI, which is not supported on Windows. And why is the “compiler” field blank? What if you type “gfortran” in there?
If you need further help please attach a full bug report (main menu) as well as the full output from the failed build (not just the text visible in tbe screenshot)

Yes @cgw I am using gfortran compiler.
umf_cgdem_2024-02-18T201323.832542.zip (875.6 KB)



Hi Musango -
I think I see what the problem is here.

DMP builds are not supported on the Windows platform, and the DMP button in the build dialog is disabled when you run on Windows.

But the MFiX files are set up to “remember” the last compilation setting, and the file for CGDEM06 contains

#!MFIX-GUI BUILD_DMP = 1
#!MFIX-GUI BUILD_INTERACTIVE = PYMFIX
#!MFIX-GUI BUILD_PARALLEL = 1
#!MFIX-GUI BUILD_SMP = 0
#!MFIX-GUI BUILD_TYPE = DEBUG
#!MFIX-GUI BUILD_FC_FLAGS = -g -O2

That BUILD_DMP line is causing the build script to add --dmp to the build command, which is then failing because the MPI compiler does not exist for Windows. But because the control is not present, you can’t un-select it.

You have to edit the file and remove that line (or change the 1 to 0)

I’ll get this fixed for the next MFiX release.

Sorry for the trouble, and thanks for the report!

– Charles