# 单机服务器模式

## 简介

SDAS\_pipeline\_subprocess.py 提供了一个简单的方式，可以在单机服务器上一键式运行SDAS的大部分模块。

## 系统要求

* Python 3.6+
* SDAS软件已正确配置
* 服务器配置需达到[SDAS系统配置要求](https://mysite.gitbook.io/sdas_manual_cn/02_install#id-1.-xi-tong-pei-zhi-yao-qiu)

## 使用步骤

### 1. 配置pipeline\_input.conf文件

参见[集群投递模式配置](https://mysite.gitbook.io/sdas_manual_cn/readme/02_qsub#id-1.-pei-zhi-pipelineinput.conf-wen-jian)

### 2.一键式运行

-c 指定配置文件，-o 指定输出文件夹：

```bash
python SDAS_pipeline_subprocess.py -c pipeline_input.conf -o ./output
```

#### 单片数据测试：

```bash
python SDAS_pipeline_subprocess.py -c pipeline_input.single_slice.conf -o ./output_single
```

#### 多片数据测试：

```
python SDAS_pipeline_subprocess.py -c pipeline_input.multiple_slice.conf -o ./output_multi
```
