ASCEND_DUMP_PATH
Description
Specifies the storage directory for abnormal operator dump data. Both absolute paths and relative paths (relative to the executable program) are supported. The specified path can contain uppercase letters, lowercase letters, digits, underscores (_), hyphens (-), and periods (.). The user must have read, write, and execute permissions on the path. If the target directory does not exist, the system will automatically create all missing directories along the path. If this path is not configured, abnormal operator dump data will be saved in the current execution directory of the application by default.
Notes for using this environment variable:
- When abnormal operator dump is enabled via the ASCEND_DUMP_SCENE environment variable, the storage path priority is as follows (highest to lowest): ASCEND_DUMP_PATH environment variable > ASCEND_WORK_PATH environment variable > Default path (the application's working directory).
- When abnormal operator dump is enabled via configuration files (using the aclInit and aclmdlSetDump APIs), the storage path priority is as follows (highest to lowest): ASCEND_DUMP_PATH environment variable > ASCEND_WORK_PATH environment variable > Path specified by the dump_path field in the configuration file > Default path (the application's working directory).
- When this environment variable is set, the operator kernel data dump function is automatically enabled by default. The storage path priority for dump data is as follows (highest to lowest): ASCEND_DUMP_PATH environment variable > ASCEND_WORK_PATH environment variable > Path specified by the dump_path field in the configuration file.
Example
export ASCEND_DUMP_PATH=/repo/task001
Constraints
- To enable abnormal operator dump, this environment variable must be used together with ASCEND_DUMP_SCENE.
- To enable operator kernel data dump, only this environment variable needs to be configured.
Applicability
Atlas 350 Accelerator Card
MC62CM12A AI Processor