你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Check SimulationConfig.args has attribute subgrid
Subgrid attribute won't exist when gprMax is called from the commandline
这个提交包含在:
@@ -225,7 +225,7 @@ class SimulationConfig:
|
|||||||
logger.exception("You cannot use both CUDA and OpenCl simultaneously.")
|
logger.exception("You cannot use both CUDA and OpenCl simultaneously.")
|
||||||
raise ValueError
|
raise ValueError
|
||||||
|
|
||||||
if self.mpi and self.args.subgrid:
|
if self.mpi and hasattr(self.args, "subgrid") and self.args.subgrid:
|
||||||
logger.exception("You cannot use subgrids with MPI.")
|
logger.exception("You cannot use subgrids with MPI.")
|
||||||
raise ValueError
|
raise ValueError
|
||||||
|
|
||||||
|
在新工单中引用
屏蔽一个用户