---
title: 环境变量
description: "- KPCCL_EXECUTOR_BACKEND，表示kpccl采用的具体executor后端模式。"
url: https://www.hikunpeng.com/document/detail/zh/hpchistory/hpckit/develop2400/KunoengHPCKit_developer_018.html
sourcePath: /source/zh/hpchistory/hpckit/develop2400/KunoengHPCKit_developer_018.html
indexId: d9172c41fdb0fd06af3b0e33c9193cf77948eacc4464599541dd68bae0fbea5173
---
# 环境变量

- KPCCL_EXECUTOR_BACKEND，表示kpccl采用的具体executor后端模式。
- 当前kpccl支持的后端模式为omp和pthread。
- 当KPCCL_EXECUTOR_BACKEND=omp时，选择后端为omp模式。
- 当KPCCL_EXECUTOR_BACKEND=pthread时，选择后端为pthread模式；默认kpccl executor后端模式为omp。
