# V\_Sim v3.7.2 설치 소개

V\_Sim은 crystal, grain boundary 등의 원자 구조를 이진(binary) 포맷이나 일반 텍스트 형식으로 시각화 하는 소프트웨어입니다.

* V\_Sim GitLab : <https://gitlab.com/l_sim/v_sim>

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

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

| 구분                      | 내용                     |
| ----------------------- | ---------------------- |
| 대상 시스템                  | 누리온                    |
| OS Version              | 리눅스 / CentOS 7.9       |
| CPU                     | <p>Intel Xeon Phi 7250 |
| <br>Intel Xeon 6148</p> |                        |
| 컴파일러                    | gcc 4.8.5 Version      |

## **나. 설치 과정**

설치 과정 소개는 tar 를 이용한 압축 해제 방법과 설정 방법등 진행 절차를 위주로 설명하고, 소스 파일 다운로드 등은 생략합니다.

**V\_sim은 dependency로 인하여 설치 전 Intltool와 harfbuzz 라이브러리에 대한 설치가 사전에 완료되어야 합니다.**

설치 경로는 <mark style="color:blue;">**${HOME}/apps/vsim**</mark>을 사용하였다. 이 위치는 사용자에게 맞는 위치로 변경하여야 합니다.\
아래의 방법으로 설치 진행 시 바이너리와 라이브러리 파일은 각각 <mark style="color:blue;">**${HOME}/apps/vsim/bin, ${HOME}/apps/vsim/lib**</mark> 디렉토리에 설치됩니다.

### **1. intltool 설치**

**\[설치과정]**

```shell-session
$ tar xzvf intltool-0.50.2.tar.gz
$ cd intltool-0.50.2
$ ./configure --prefix=${HOME}/apps/intltool
$ make
$ make install
```

### **2. harfbuzz 설치**

**\[설치과정]**

```shell-session
$ tar xvf harfbuzz-1.7.5.tar.bz2
$ cd harfbuzz-1.7.5
$ ./configure --prefix=${HOME}/apps/harfbuzz
$ make
$ make install
```

### **3. v\_sim 설치**

**\[설치과정]**

```shell-session
$ export PATH=${HOME}/apps/intltool/bin:$PATH
$ tar -xvf v_sim-3.7.2.tar.bz2
$ cd v_sim-3.7.2
$ ./configure --prefix=${HOME}/apps/vsim \
GTKS_CFLAGS='-I${HOME}/apps/harfbuzz/include/harfbuzz' \
GTKS_LIBS='-L${HOME}/apps/harfbuzz/lib -lharfbuzz' \
PKG_CONFIG_PATH='${HOME}/apps/harfbuzz/lib/pkgconfig' \
LDFLAGS='-L/usr/lib64 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lgtk-x11-2.0' \
CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0'
$ make
$ make install
```


---

# 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/v_sim-3.7.2-install.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.
