solver.cpp - solver file grid.h - contains common grid functions grid2pgm.cpp - creates pgm visual of the grid binary.cpp - program to generate binary test input CMakeLists.txt - cmake file
module load cmake
module unload compiler_gnu/4.9.2 module load compiler_gnu/5/3
module unload compiler_intel/14.0.2 module load compiler_intel/2017
module load llvm/3.9 module load compiler_clang/3.5.0
mkdir build cd build
CXX=g++; cmake .. CXX=icpc; cmake .. CXX=clang++; cmake ..
make
./solver < [BINARY_INPUT] > [BINARY_OUTPUT]
./binary > input.bin
./grid2pgm < [BINARY_INPUT] > [PGM_OUTPUT].pgm
make clean