你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Update some logging messages.
这个提交包含在:
@@ -261,7 +261,7 @@ class ModelBuildRun:
|
|||||||
|
|
||||||
# Check number of OpenMP threads
|
# Check number of OpenMP threads
|
||||||
if config.sim_config.general['cpu']:
|
if config.sim_config.general['cpu']:
|
||||||
logger.basic(f'CPU (OpenMP) solver: {config.get_model_config().ompthreads} threads on {platform.node()}\n')
|
logger.basic(f'CPU (OpenMP) solver: {config.get_model_config().ompthreads} thread(s) on {platform.node()}\n')
|
||||||
if config.get_model_config().ompthreads > config.sim_config.hostinfo['physicalcores']:
|
if config.get_model_config().ompthreads > config.sim_config.hostinfo['physicalcores']:
|
||||||
logger.warning(Fore.RED + f"You have specified more threads ({config.get_model_config().ompthreads}) than available physical CPU cores ({config.sim_config.hostinfo['physicalcores']}). This may lead to degraded performance." + Style.RESET_ALL)
|
logger.warning(Fore.RED + f"You have specified more threads ({config.get_model_config().ompthreads}) than available physical CPU cores ({config.sim_config.hostinfo['physicalcores']}). This may lead to degraded performance." + Style.RESET_ALL)
|
||||||
# Print information about any GPU in use
|
# Print information about any GPU in use
|
||||||
|
在新工单中引用
屏蔽一个用户