Skip to content

Commit 86a6b31

Browse files
committed
consolidated scripts dir
1 parent 6c9b6eb commit 86a6b31

File tree

8 files changed

+33
-18
lines changed

8 files changed

+33
-18
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ More on Args:
3636
* OzSerial - Recursive DP O(n) layer mapping algo run on each rank
3737
* MPI - MPI parallel D(n) layer mapping algo
3838

39+
## Project Layout
40+
* `.github` : github actions for testing proofs
41+
* `.vscode` : vscode recommended extensions and settings for the project
42+
* `benchmarks` : quick benchmarking utilities to measure performance
43+
* `proofs` : Proof files to verify on
44+
* `hyperslate` : hyperslate slt proofs
45+
* `lazyslate` : lazyslate json proofs
46+
* `sandbox` : code to test features to implement
47+
* `scripts` : utility scripts for debugging, building, etc
48+
* `src` : Source Code
49+
* `tests` : CTest suite
3950

4051
## Dependencies
4152
* [MPI](https://www.open-mpi.org/) (We use Open-MPI for local debugging and MPICH for benchmarks)

build-release.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

debugParallel.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

build-debug.sh renamed to scripts/build-debug.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# and copies our executables into bin
66

77
set -e
8-
SCRIPTDIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
9-
mkdir -p $SCRIPTDIR/build
10-
cd $SCRIPTDIR/build
8+
ROOTDIR="../$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
9+
mkdir -p $ROOTDIR/build
10+
cd $ROOTDIR/build
1111
cmake ../ -D CMAKE_BUILD_TYPE=Debug
1212
make
13-
cd $SCRIPTDIR
13+
cd $ROOTDIR

scripts/build-release.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# Cmake wrapper script that Automatically runs all the CMake Build
3+
# and copies our executables into bin
4+
5+
set -e
6+
ROOTDIR="../$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
7+
mkdir -p $ROOTDIR/build
8+
cd $ROOTDIR/build
9+
cmake ../
10+
make
11+
cd $ROOTDIR

scripts/debugParallel.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
# Run the debugger
3+
ROOTDIR="../$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4+
mpirun -n 2 xterm -hold -e gdb -ex run --args $ROOTDIR/build/bin/ParallelVerifier $ROOTDIR/proofs/lazyslate/ourFavorite.json

scripts/depGraph.png

93.3 KB
Loading

scripts/dependancyGraph.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
cmake -B ../build/ cmake --graphviz=../build/depGraph.dot ..
3+
dot -Tpng -o depGraph.png ../build/depGraph.dot

0 commit comments

Comments
 (0)