> For the complete documentation index, see [llms.txt](https://docs-ksc.gitbook.io/blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-ksc.gitbook.io/blog/install/nurion/raspa-2.0-install-1.md).

# RASPA v2.0.47 설치 소개

RASPA는 유연한 나노다공성 재료 분야에서 분자의 흡착 및 확산을 시뮬레이션하기 위한 소프트웨어 패키지입니다.

* RASPA Github : <https://github.com/iRASPA/RASPA2>

이 문서에서는 RASPA 2.0.47 버전을 컴파일 하여 설치 하는 방법에 대해 예시로 소개합니다.

## **가. 설치 환경**

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

## **나. 설치 전 환경 설정**

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

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

## **다. RASPA 2.0.47 설치 과정**

* 설치 과정에서의 설치 경로는 ${HOME}/RASPA/2.0.47로  설정하였습니다.  이 prefix 경로는 설치를 진행하시고자 하는 위치로 설정하시기 바랍니다.

```shell-session
$ wget https://github.com/iRASPA/RASPA2/archive/refs/tags/v2.0.47.tar.gz
$ tar -xzf ./v2.0.47.tar.gz 
$ cd RASPA2-2.0.47/

$ module purge
$ module load intel/19.1.2 impi/19.1.2

$ mkdir -p m4
$ aclocal
$ autoreconf -i
$ automake --add-missing
$ autoconf

$ ./configure --prefix=${HOME}/RASPA2/2.0.47 \
CPPFLAGS="-I/apps/compiler/intel/19.1.2/mkl/include/fftw" \
LDFLAGS="-L/apps/compiler/intel/19.1.2/mkl/lib/intel64" \
LIBS="-mkl=cluster" CC=mpiicc CXX=mpiicpc F77=mpiifort \
CFLAGS="-O3 -fPIC -m64 -xCOMMON-AVX512 -std=c99" \
CXXFLAGS="-O3 -fPIC -m64 -xCOMMON-AVX512" FFLAGS="-O3 -fPIC -m64 -xCOMMON-AVX512"

$ make 2>&1 |tee make.log
$ make install
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs-ksc.gitbook.io/blog/install/nurion/raspa-2.0-install-1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
