Skip to content

EthanRush/HPCFinalProject

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2 seperate parallel implementations of Peter Shirley's path tracer. One built with OpenMP and the other with OpenMPI.

The scripts present are designed to be used on Northeastern University's Discovery Cluster

Scene options:

1/Default: Shirley Orbs

2: Cornell Box

3: Shierly Box

To run the MPI Implementation:

cd src

module load openmpi

mpiCC -std=c++11 MPI.cpp -o mpi -lm

sbatch MPI_sceneX.script //X represents the scene you want rendered

To run the OMP Implementation

cd src

g++ -std=c++11 -fopenmp OMP.cpp -o omp

sbatch OMP_sceneX.script //X represents the scene you want rendered

To run the Single Threaded Implementation

cd src

g++ -std=c++11 singleThread.cpp -o sing

sbatch SING_sceneX.script //X represents the scene you want rendered

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.5%
  • Shell 2.9%
  • CMake 1.2%
  • C 0.4%