I have been trying to simulate a MP-PIC model for fluidized bed gasification. But whenever I try to build the solver, it keeps failing, showing the below error messages. Any idea on how I can resolve this issue?
Processing chemical reaction data from gasifier_setup.mfx…
done
[ 99%] Building Fortran object CMakeFiles/udfs.dir/E_/simulations/MFix_simulations/gasifier_setup/usr_rates.f.obj
[100%] Building Fortran object CMakeFiles/udfs.dir/E_/simulations/MFix_simulations/gasifier_setup/usr_rates_des.f.obj
species.inc:10.29:
Included at E:\simulations\MFix simulations\gasifier_setup\usr_rates.f:50:0:
INTEGER, PARAMETER :: C = 7
1
E:\simulations\MFix simulations\gasifier_setup\usr_rates.f:35.10:
USE constant
2
Error: Symbol ‘c’ at (1) conflicts with symbol from module ‘constant’, use-associated at (2)
CMakeFiles\udfs.dir\build.make:78: recipe for target ‘CMakeFiles/udfs.dir/E_/simulations/MFix_simulations/gasifier_setup/usr_rates.f.obj’ failed
mingw32-make.exe[2]: *** [CMakeFiles/udfs.dir/E_/simulations/MFix_simulations/gasifier_setup/usr_rates.f.obj] Error 1
mingw32-make.exe[2]: *** Waiting for unfinished jobs…
species.inc:10.29:
Included at E:\simulations\MFix simulations\gasifier_setup\usr_rates_des.f:54:0:
INTEGER, PARAMETER :: C = 7
1
E:\simulations\MFix simulations\gasifier_setup\usr_rates_des.f:26.10:
USE constant
2
Error: Symbol ‘c’ at (1) conflicts with symbol from module ‘constant’, use-associated at (2)
E:\simulations\MFix simulations\gasifier_setup\usr_rates_des.f:112:46:
species_des = (/ Moisture, Wood, Biochar /)
1
Error: Symbol ‘biochar’ at (1) has no IMPLICIT type
CMakeFiles\udfs.dir\build.make:92: recipe for target ‘CMakeFiles/udfs.dir/E_/simulations/MFix_simulations/gasifier_setup/usr_rates_des.f.obj’ failed
mingw32-make.exe[2]: *** [CMakeFiles/udfs.dir/E_/simulations/MFix_simulations/gasifier_setup/usr_rates_des.f.obj] Error 1
CMakeFiles\Makefile2:100: recipe for target ‘CMakeFiles/udfs.dir/all’ failed
mingw32-make.exe[1]: *** [CMakeFiles/udfs.dir/all] Error 2
Makefile:134: recipe for target ‘all’ failed
mingw32-make.exe: *** [all] Error 2
BUILD FAILED
==========================================================================