|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 yuanjun204 于 2022-1-8 19:57 编辑
在ubuntun20.04下编译OPENCFD2.0,进入目录make后,出现以下错误。怎么解决
mpif90 -O3 -c OCFD2d_parameters.f90
mpif90 -O3 -c opencfd2d.f90
mpif90 -O3 -c OCFD2d_BC_Benchmark.f90
mpif90 -O3 -c OCFD2d_BoundaryConditions.f90
mpif90 -O3 -c OCFD2d_dxy_vis.f90
mpif90 -O3 -c OCFD2d_init.f90
mpif90 -O3 -c OCFD2d_invis.f90
mpif90 -O3 -c OCFD2d_mpi.f90
mpif90 -O3 -c OCFD2d_NS_Solver.f90
mpif90 -O3 -c OCFD2d_read_write.f90
mpif90 -O3 -c OCFD2d_readpara.f90
OCFD2d_readpara.f90:6:132:
6 | cous,Istep_Show,Istep_Save, Iflag_Gridtype, Scheme_boundary, IF_Mass_Force,ierr
| 1
Error: Line truncated at (1) [-Werror=line-truncation]
OCFD2d_readpara.f90:8:132:
8 | e , Periodic_ISpan(2), Periodic_JSpan(2),BC_Para(100),Mass_Force(2)
| 1
Error: Line truncated at (1) [-Werror=line-truncation]
OCFD2d_readpara.f90:77:72:
77 | call MPI_bcast(nparameters(1),100,MPI_INTEGER,0, MPI_COMM_WORLD,ierr)
| 1
Error: Symbol ‘ierr’ at (1) has no IMPLICIT type
OCFD2d_readpara.f90:14:90:
14 | BoundaryCondition,BC_Para,Scheme_boundary,IF_Mass_Force,Mass_Force
| 1
Error: Symbol ‘if_mass_force’ at (1) has no IMPLICIT type; did you mean ‘mass_for’?
OCFD2d_readpara.f90:14:101:
14 | BoundaryCondition,BC_Para,Scheme_boundary,IF_Mass_Force,Mass_Force
| 1
Error: Symbol ‘mass_force’ at (1) has no IMPLICIT type; did you mean ‘mass_for’?
f951: some warnings being treated as errors
make: *** [makefile:15: OCFD2d_readpara.o] Error 1
|
|