Hello developers! I would like to try to output information such as trailing force of particles, referenced in the following blog: mfix中DEM模型添加颗粒变量并输出1 - Ray-Wang - 博客园
Inexplicably, I was able to build the solver successfully with mfix-24.1.1 on a linux system, but when submitting the parallel computation for supercomputing, building the solver fails with the following error:
[100%] Building Fortran object CMakeFiles/udfs.dir/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f.o
ifort: command line remark #10148: option ‘-Werror’ not supported
ifort: command line remark #10148: option ‘-Werror’ not supported
ifort: command line remark #10148: option ‘-Werror’ not supported
ifort: command line remark #10148: option ‘-Werror’ not supported
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(5): remark #6536: All symbols from this module are already visible due to another USE; the ONLY clause will have no effect. Rename clauses, if any, will be honored. [DISCRETELEMENT]
USE discretelement
-------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(17): error #6496: There is more than one use-name for a local-name. [SUPERDEM]
USE discretelement, only: super_r, super_mn, super_q, SuperDEM, SQP_POLY
---------------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(21): error #6496: There is more than one use-name for a local-name. [FCHAIN_GLOBAL_ID1]
USE discretelement, only: FCHAINC,FCHAIN_MIDPOINT,FCHAIN_ORIENT, FCHAIN_GLOBAL_ID1
--------------------------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(13): error #6496: There is more than one use-name for a local-name. [PIJK]
USE discretelement, only: MAX_PIP, PIP, DES_POS_NEW, PIJK, VTP_DIR, USE_COHESION, PARTICLE_ORIENTATION
--------------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(861): error #6498: The use-name for this local-name is not defined. [PIJK]
PARTICLE_PHASE_ID(L) = DBLE(PIJK(L,5))
-------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(861): error #6362: The data types of the argument(s) are invalid. [DBLE]
PARTICLE_PHASE_ID(L) = DBLE(PIJK(L,5))
-------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(876): error #6498: The use-name for this local-name is not defined. [SUPERDEM]
IF(SuperDEM) THEN
---------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(876): error #6341: A logical data type is required in this context. [SUPERDEM]
IF(SuperDEM) THEN
---------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(889): error #6498: The use-name for this local-name is not defined. [PIJK]
M = PIJK(L,5)
----------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(916): error #6498: The use-name for this local-name is not defined. [FCHAIN_GLOBAL_ID1]
CALL WRITE_SCALAR_IN_VTP_BIN(‘FORCE_CHAIN_GLOBAL_ID1’,DBLE(FCHAIN_GLOBAL_ID1),PASS)
--------------------------------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(916): error #6362: The data types of the argument(s) are invalid. [DBLE]
CALL WRITE_SCALAR_IN_VTP_BIN(‘FORCE_CHAIN_GLOBAL_ID1’,DBLE(FCHAIN_GLOBAL_ID1),PASS)
--------------------------------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(916): error #6634: The shape matching rules of actual arguments and dummy arguments have been violated. [DBLE]
CALL WRITE_SCALAR_IN_VTP_BIN(‘FORCE_CHAIN_GLOBAL_ID1’,DBLE(FCHAIN_GLOBAL_ID1),PASS)
---------------------------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(1018): error #6498: The use-name for this local-name is not defined. [PIJK]
PARTICLE_PHASE_ID(L) = DBLE(PIJK(L,5))
----------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(1018): error #6362: The data types of the argument(s) are invalid. [DBLE]
PARTICLE_PHASE_ID(L) = DBLE(PIJK(L,5))
----------------------------------------------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(1222): error #6498: The use-name for this local-name is not defined. [SUPERDEM]
IF(SuperDEM) THEN
------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(1222): error #6341: A logical data type is required in this context. [SUPERDEM]
IF(SuperDEM) THEN
------------^
/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f(2458): error #6498: The use-name for this local-name is not defined. [PIJK]
M = PIJK(LC1,5)
----------------^
compilation aborted for /public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f (code 1)
gmake[2]: *** [CMakeFiles/udfs.dir/public4/home/a0s000712/csl/0rcy_pl_un0.5_dem_dlvorientation/0rcy_pl_un0.5_dem_dlvo_2/0rcy_pl_un0.5_dem_vander/0rcy_pl_un0.5/0rcy_pl0.5/0rcy_pl/vtp_mod.f.o] Error 1
gmake[2]: *** Waiting for unfinished jobs…
gmake[1]: *** [CMakeFiles/udfs.dir/all] Error 2
gmake: *** [all] Error 2
BUILD FAILED
My command to build the solver on parallel computing is: export FC=mpiifort ; build_mfixsolver --batch -j 30 --dmp
Please tell me what is my problem, here is my case, I am very much looking forward to any suggestions, thanks!
0rcy_pl_un0.5_dem_dlvorientation.zip (1.5 MB)