File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # INSTALL_Linux.md
2+
3+ # 🐧 Building NEXT on Linux (Ubuntu)
4+
5+ ## Prerequisites
6+
7+ - Git
8+ - CMake ≥ 3.10
9+ - GCC or Clang
10+ - OpenMP
11+ - HDF5 development libraries
12+ - Python 3 (for input generation)
13+
14+ ## Steps
15+
16+ 1 . ** Clone the repository**
17+
18+ ``` bash
19+ git clone https://github.com/TimGoTheCreator/NEXT.git
20+ cd NEXT
21+ ```
22+
23+ 2 . ** Install dependencies**
24+
25+ ``` bash
26+ sudo apt-get update
27+ sudo apt-get install -y libomp-dev libhdf5-dev python3
28+ ```
29+
30+ 3 . ** Build NEXT**
31+
32+ ``` bash
33+ mkdir build
34+ cd build
35+ cmake ..
36+ cmake --build . --config Release
37+ cd ..
38+ ```
39+
40+ 4 . ** Run a built-in example simulation**
41+
42+ ``` bash
43+ cd examples/TwoBodies
44+ python two_body.py
45+ ../../next two_body.txt 8 0.01 0.1 vtu
46+ ```
47+
48+ 5 . ** View results**
49+
50+ Open the ` .vtu ` output in ParaView.
You can’t perform that action at this time.
0 commit comments