Skip to content
Snippets Groups Projects
Select Git revision
  • 4db5298e685e00842a8b491f7b894ad9f4f10103
  • master default protected
  • develop
  • semantic
  • auto-inflate
  • feature/aps
  • legacy protected
  • 10.0.0
  • 9.3.8
  • 9.3.7
  • 9.3.6
  • 9.3.5
  • 9.3.4
  • 9.3.3
  • 9.3.2
  • 9.3.1
  • 9.3.0
  • 9.2.0
  • 9.1.2
  • 9.1.1
  • 9.1.0
  • 9.0.1
  • 9.0.0
  • 8.2.5
  • 8.2.4
  • 8.2.3
  • 8.2.2
27 results

setup.py

Blame
  • install.sh 776 B
    #!/bin/bash
    module load cmake/3.16.4
    module load gcc/10
    
    mkdir dependencies
    cd dependencies
    
    # Install Ospray.
    wget https://github.com/ospray/ospray/releases/download/v1.8.5/ospray-1.8.5.x86_64.linux.tar.gz
    ZIP=ospray-1.8.5.x86_64.linux.tar.gz
    tar -xzvf $ZIP
    rm $ZIP
    mv ./ospray-1.8.5.x86_64.linux ./ospray-1.8.5
    
    # Install VTK.
    git clone https://github.com/Kitware/VTK.git
    cd VTK
    git checkout v9.0.1
    mkdir build
    cd build
    export ospray_DIR=../../ospray-1.8.5/lib/cmake/ospray-1.8.5
    cmake .. -DVTK_MODULE_ENABLE_VTK_RenderingRayTracing=YES
    cmake --build . --config Release --parallel 64
    
    # Install application.
    cd ../../offline_ray_tracer
    mkdir build
    cd build
    export VTK_DIR=../../../dependencies/VTK/build
    cmake ..
    cmake --build . --clean-first --config Release --parallel 64