Skip to content

tannersatch/it515r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IT 515R - Scientific Computing - Phase 4

Tanner Satchwell

Files

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

Phase 4 Instructions

Load the necessary modules

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

Prepare to build the program

mkdir build cd build

Run one of the following cmake

CXX=g++; cmake .. CXX=icpc; cmake .. CXX=clang++; cmake ..

Build your executables

make

Run solver

./solver < [BINARY_INPUT] > [BINARY_OUTPUT]

To generate binary test input

./binary > input.bin

To generate a pgm image

./grid2pgm < [BINARY_INPUT] > [PGM_OUTPUT].pgm

Clean up

make clean

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published