你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Log a warning if geometry only but not geometry to output
- It is possible for an MPI rank to have no geometry to output while others do. However it is still worth logging a warning as the work is not being well distributed across the ranks. - For non-MPI runs, a warning still notifies them of a problem.
这个提交包含在:
@@ -304,8 +304,11 @@ class Model:
|
||||
and not self.geometryobjects
|
||||
and config.sim_config.args.geometry_only
|
||||
):
|
||||
logger.exception("\nNo geometry views or geometry objects found.")
|
||||
raise ValueError
|
||||
logger.warning(
|
||||
"Geometry only run specified, but no geometry views or geometry objects found."
|
||||
)
|
||||
return
|
||||
|
||||
save_geometry_views(self.geometryviews)
|
||||
|
||||
if self.geometryobjects:
|
||||
|
在新工单中引用
屏蔽一个用户