Hello developers,
Solver fails to compile in SMP compilation on windows, compiles up to 97% and then fails. I have attached the project files as well as the error message below. It is a case for pure DEM flow through a hopper. Works well with default solver.
ERROR MESSAGE "C:\Users\am4950.conda\envs\mfix-22.4.1\share\mfix\src\model\des\calc_force_dem.f:131:57:
!$omp fchain_fcmax,fc_mag_max,fc_max_index, mag_orient &
1
Error: Syntax error in OpenMP variable list at (1)
C:\Users\am4950.conda\envs\mfix-22.4.1\share\mfix\src\model\des\calc_force_dem.f:402:18:
!$omp end parallel
1
Error: Unexpected !$OMP END PARALLEL statement at (1)
[ 97%] Building Fortran object model/CMakeFiles/mfixcore.dir/des/sq_calc_force_superdem.f.obj
model\CMakeFiles\mfixcore.dir\build.make:2426: recipe for target ‘model/CMakeFiles/mfixcore.dir/des/calc_force_dem.f.obj’ failed
mingw32-make.exe[2]: *** [model/CMakeFiles/mfixcore.dir/des/calc_force_dem.f.obj] Error 1
mingw32-make.exe[2]: *** Waiting for unfinished jobs…
C:\Users\am4950.conda\envs\mfix-22.4.1\share\mfix\src\model\des\sq_calc_force_superdem.f:165:58:
!$omp fchain_fcmax,fc_mag_max, fc_max_index, mag_orient &
1
Error: Syntax error in OpenMP variable list at (1)
C:\Users\am4950.conda\envs\mfix-22.4.1\share\mfix\src\model\des\sq_calc_force_superdem.f:783:18:
!$omp end parallel
1
Error: Unexpected !$OMP END PARALLEL statement at (1)
model\CMakeFiles\mfixcore.dir\build.make:3966: recipe for target ‘model/CMakeFiles/mfixcore.dir/des/sq_calc_force_superdem.f.obj’ failed
mingw32-make.exe[2]: *** [model/CMakeFiles/mfixcore.dir/des/sq_calc_force_superdem.f.obj] Error 1
CMakeFiles\Makefile2:152: recipe for target ‘model/CMakeFiles/mfixcore.dir/all’ failed
mingw32-make.exe[1]: *** [model/CMakeFiles/mfixcore.dir/all] Error 2
Makefile:134: recipe for target ‘all’ failed
mingw32-make.exe: *** [all] Error 2
BUILD FAILED
=========================================================================="
hopper_dem_3d_2023-01-24T134449.635703.zip (8.4 MB)
Appreciate the help.
Regards,
Ashreet Mishra.