Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 693 Bytes

File metadata and controls

48 lines (35 loc) · 693 Bytes

🐧 Building NEXT on Linux (Ubuntu)

Prerequisites

  • Git
  • CMake ≥ 3.10
  • GCC or Clang
  • OpenMP
  • HDF5 development libraries
  • Python 3 (for input generation)

Steps

  1. Clone the repository
git clone https://github.com/TimGoTheCreator/NEXT.git
cd NEXT
  1. Install dependencies
sudo apt-get update
sudo apt-get install -y libomp-dev libhdf5-dev python3
  1. Build NEXT
mkdir build
cd build
cmake ..
cmake --build . --config Release
cd ..
  1. Run a built-in example simulation
cd examples/TwoBodies
python two_body.py
../../next two_body.txt 8 0.01 0.1 vtu
  1. View results

Open the .vtu output in ParaView.