# Quantum Espresso-7.2 설치 소개

이 문서에서는 KISTI 누리온 시스템에서 qe-7.2 버전을 컴파일하는 방법을 예시로 소개합니다.

&#x20;

## 가. 설치 환경

| 구분         | 내용                                                 |
| ---------- | -------------------------------------------------- |
| 대상 시스템     | 누리온                                                |
| OS Version | 리눅스 / CentOS 7.9                                   |
| CPU        | <p>Intel Xeon Phi 7250 </p><p>Intel Xeon 6148 </p> |
| 컴파일러       | Intel 19.0.5                                       |
| MPI        | Intel MPI 19.0.5                                   |
| 기타         | Intel Math Kernel Library (MKL)                    |

&#x20;

## 나. 설치 전 환경설정

누리온 시스템에서는 PATH, LD\_LIBRARY\_PATH 설정을 손쉽게 하기 위해서 환경설정 툴인 Module이 구성되어 있으며 이하 설치 소개에서는 module load 를 이용한 환경설정 방법으로 안내 드립니다.

\[환경설정]

```shell-session
$ module purge
$ module load intel/19.0.5 impi/19.0.5
```

## 다. 설치 과정

&#x20;설치 과정 소개는 tar 를 이용한 압축 해제 방법과 설정 방법등 진행 절차를 위주로 설명하고, 소스 파일 다운로드 등은 생략합니다. (다운로드 : <https://gitlab.com/QEF/q-e/-/releases>)

\[설치과정]

```shell-session
$ tar -xzf q-e-qe-7.2.tar.gz
$ cd q-e-qe-7.2/
$ ./configure --prefix=[qe설치경로] \
CC=mpiicc F90=mpiifort FC=mpiifort MPIF90=mpiifort \
CFLAGS="-O3 -fPIC -xCOMMON-AVX512" \
FFLAGS="-O3 -fPIC -xCOMMON-AVX512"
```

※ --with-scalapack=intel, --enable-openmp 과 같이 필요한 옵션/기능을 configure 단계에서 추가 설정 가능

※ 버전에 따라 configure 옵션에 차이가 있을 수 있으며 다른 버전 설치 시 ./configure --help 명령으로 옵션에 대해 확인 후 설치 진행 권장

```shell-session
$ make all
$ make install
```

※ 누리온 시스템 설치 예제는 SKL/KNL 계산 노드에서 공통적으로 사용을 위해 "-xCOMMON-AVX512" 로 작성하였고, 각 계산노드별 최적화 옵션은 아래와 같습니다.

\- SKL(skylake) 노드 전용 : -xCORE-AVX512

\- KNL(Intel Xeon Phi Knights Landing) 전용 : -xMIC-AVX512

\- SKL과 KNL 공통 적용 : -xCOMMON-AVX512


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-ksc.gitbook.io/blog/install/nurion/quantum-espresso/quantum-espresso-7.2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
