Finalized MPI Subgraphing and Data Collection Script Updates
This commit is contained in:
parent
831c80e74e
commit
83687f097c
@ -48,19 +48,19 @@ cmake_force:
|
|||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
# The CMake executable.
|
# The CMake executable.
|
||||||
CMAKE_COMMAND = /usr/bin/cmake
|
CMAKE_COMMAND = /storage/home/nschrick/pkg/cmake/3.22.0/bin/cmake
|
||||||
|
|
||||||
# The command to remove a file.
|
# The command to remove a file.
|
||||||
RM = /usr/bin/cmake -E rm -f
|
RM = /storage/home/nschrick/pkg/cmake/3.22.0/bin/cmake -E rm -f
|
||||||
|
|
||||||
# Escaping for special characters.
|
# Escaping for special characters.
|
||||||
EQUALS = =
|
EQUALS = =
|
||||||
|
|
||||||
# The top-level source directory on which CMake was run.
|
# The top-level source directory on which CMake was run.
|
||||||
CMAKE_SOURCE_DIR = "/home/noah/Documents/School/Thesis Work/ag_parallel"
|
CMAKE_SOURCE_DIR = /home/nschrick/ag_parallel
|
||||||
|
|
||||||
# The top-level build directory on which CMake was run.
|
# The top-level build directory on which CMake was run.
|
||||||
CMAKE_BINARY_DIR = "/home/noah/Documents/School/Thesis Work/ag_parallel/build"
|
CMAKE_BINARY_DIR = /home/nschrick/ag_parallel/build
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
# Targets provided globally by CMake.
|
# Targets provided globally by CMake.
|
||||||
@ -68,7 +68,7 @@ CMAKE_BINARY_DIR = "/home/noah/Documents/School/Thesis Work/ag_parallel/build"
|
|||||||
# Special rule for the target edit_cache
|
# Special rule for the target edit_cache
|
||||||
edit_cache:
|
edit_cache:
|
||||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
||||||
/usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
/storage/home/nschrick/pkg/cmake/3.22.0/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||||
.PHONY : edit_cache
|
.PHONY : edit_cache
|
||||||
|
|
||||||
# Special rule for the target edit_cache
|
# Special rule for the target edit_cache
|
||||||
@ -78,7 +78,7 @@ edit_cache/fast: edit_cache
|
|||||||
# Special rule for the target rebuild_cache
|
# Special rule for the target rebuild_cache
|
||||||
rebuild_cache:
|
rebuild_cache:
|
||||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
/storage/home/nschrick/pkg/cmake/3.22.0/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||||
.PHONY : rebuild_cache
|
.PHONY : rebuild_cache
|
||||||
|
|
||||||
# Special rule for the target rebuild_cache
|
# Special rule for the target rebuild_cache
|
||||||
@ -87,9 +87,9 @@ rebuild_cache/fast: rebuild_cache
|
|||||||
|
|
||||||
# The main all target
|
# The main all target
|
||||||
all: cmake_check_build_system
|
all: cmake_check_build_system
|
||||||
$(CMAKE_COMMAND) -E cmake_progress_start "/home/noah/Documents/School/Thesis Work/ag_parallel/build/CMakeFiles" "/home/noah/Documents/School/Thesis Work/ag_parallel/build//CMakeFiles/progress.marks"
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/nschrick/ag_parallel/build/CMakeFiles /home/nschrick/ag_parallel/build//CMakeFiles/progress.marks
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
|
||||||
$(CMAKE_COMMAND) -E cmake_progress_start "/home/noah/Documents/School/Thesis Work/ag_parallel/build/CMakeFiles" 0
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/nschrick/ag_parallel/build/CMakeFiles 0
|
||||||
.PHONY : all
|
.PHONY : all
|
||||||
|
|
||||||
# The main clean target
|
# The main clean target
|
||||||
@ -116,19 +116,6 @@ depend:
|
|||||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||||
.PHONY : depend
|
.PHONY : depend
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Target rules for targets named doc
|
|
||||||
|
|
||||||
# Build rule for target.
|
|
||||||
doc: cmake_check_build_system
|
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 doc
|
|
||||||
.PHONY : doc
|
|
||||||
|
|
||||||
# fast build rule for target.
|
|
||||||
doc/fast:
|
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/doc.dir/build.make CMakeFiles/doc.dir/build
|
|
||||||
.PHONY : doc/fast
|
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
# Target rules for targets named ag_gen
|
# Target rules for targets named ag_gen
|
||||||
|
|
||||||
@ -142,19 +129,6 @@ ag_gen/fast:
|
|||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/build
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/build
|
||||||
.PHONY : ag_gen/fast
|
.PHONY : ag_gen/fast
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Target rules for targets named dynstr_test
|
|
||||||
|
|
||||||
# Build rule for target.
|
|
||||||
dynstr_test: cmake_check_build_system
|
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 dynstr_test
|
|
||||||
.PHONY : dynstr_test
|
|
||||||
|
|
||||||
# fast build rule for target.
|
|
||||||
dynstr_test/fast:
|
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dynstr_test.dir/build.make CMakeFiles/dynstr_test.dir/build
|
|
||||||
.PHONY : dynstr_test/fast
|
|
||||||
|
|
||||||
nm_parser.o: nm_parser.c.o
|
nm_parser.o: nm_parser.c.o
|
||||||
.PHONY : nm_parser.o
|
.PHONY : nm_parser.o
|
||||||
|
|
||||||
@ -491,30 +465,6 @@ src/mpi/tasks.cpp.s:
|
|||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/src/mpi/tasks.cpp.s
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/src/mpi/tasks.cpp.s
|
||||||
.PHONY : src/mpi/tasks.cpp.s
|
.PHONY : src/mpi/tasks.cpp.s
|
||||||
|
|
||||||
src/tests/mem_test.o: src/tests/mem_test.c.o
|
|
||||||
.PHONY : src/tests/mem_test.o
|
|
||||||
|
|
||||||
# target to build an object file
|
|
||||||
src/tests/mem_test.c.o:
|
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dynstr_test.dir/build.make CMakeFiles/dynstr_test.dir/src/tests/mem_test.c.o
|
|
||||||
.PHONY : src/tests/mem_test.c.o
|
|
||||||
|
|
||||||
src/tests/mem_test.i: src/tests/mem_test.c.i
|
|
||||||
.PHONY : src/tests/mem_test.i
|
|
||||||
|
|
||||||
# target to preprocess a source file
|
|
||||||
src/tests/mem_test.c.i:
|
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dynstr_test.dir/build.make CMakeFiles/dynstr_test.dir/src/tests/mem_test.c.i
|
|
||||||
.PHONY : src/tests/mem_test.c.i
|
|
||||||
|
|
||||||
src/tests/mem_test.s: src/tests/mem_test.c.s
|
|
||||||
.PHONY : src/tests/mem_test.s
|
|
||||||
|
|
||||||
# target to generate assembly for a file
|
|
||||||
src/tests/mem_test.c.s:
|
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dynstr_test.dir/build.make CMakeFiles/dynstr_test.dir/src/tests/mem_test.c.s
|
|
||||||
.PHONY : src/tests/mem_test.c.s
|
|
||||||
|
|
||||||
src/util/avail_mem.o: src/util/avail_mem.cpp.o
|
src/util/avail_mem.o: src/util/avail_mem.cpp.o
|
||||||
.PHONY : src/util/avail_mem.o
|
.PHONY : src/util/avail_mem.o
|
||||||
|
|
||||||
@ -665,7 +615,6 @@ src/util/mem.o: src/util/mem.c.o
|
|||||||
# target to build an object file
|
# target to build an object file
|
||||||
src/util/mem.c.o:
|
src/util/mem.c.o:
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/src/util/mem.c.o
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/src/util/mem.c.o
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dynstr_test.dir/build.make CMakeFiles/dynstr_test.dir/src/util/mem.c.o
|
|
||||||
.PHONY : src/util/mem.c.o
|
.PHONY : src/util/mem.c.o
|
||||||
|
|
||||||
src/util/mem.i: src/util/mem.c.i
|
src/util/mem.i: src/util/mem.c.i
|
||||||
@ -674,7 +623,6 @@ src/util/mem.i: src/util/mem.c.i
|
|||||||
# target to preprocess a source file
|
# target to preprocess a source file
|
||||||
src/util/mem.c.i:
|
src/util/mem.c.i:
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/src/util/mem.c.i
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/src/util/mem.c.i
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dynstr_test.dir/build.make CMakeFiles/dynstr_test.dir/src/util/mem.c.i
|
|
||||||
.PHONY : src/util/mem.c.i
|
.PHONY : src/util/mem.c.i
|
||||||
|
|
||||||
src/util/mem.s: src/util/mem.c.s
|
src/util/mem.s: src/util/mem.c.s
|
||||||
@ -683,7 +631,6 @@ src/util/mem.s: src/util/mem.c.s
|
|||||||
# target to generate assembly for a file
|
# target to generate assembly for a file
|
||||||
src/util/mem.c.s:
|
src/util/mem.c.s:
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/src/util/mem.c.s
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/src/util/mem.c.s
|
||||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/dynstr_test.dir/build.make CMakeFiles/dynstr_test.dir/src/util/mem.c.s
|
|
||||||
.PHONY : src/util/mem.c.s
|
.PHONY : src/util/mem.c.s
|
||||||
|
|
||||||
src/util/redis_manager.o: src/util/redis_manager.cpp.o
|
src/util/redis_manager.o: src/util/redis_manager.cpp.o
|
||||||
@ -814,9 +761,7 @@ help:
|
|||||||
@echo "... depend"
|
@echo "... depend"
|
||||||
@echo "... edit_cache"
|
@echo "... edit_cache"
|
||||||
@echo "... rebuild_cache"
|
@echo "... rebuild_cache"
|
||||||
@echo "... doc"
|
|
||||||
@echo "... ag_gen"
|
@echo "... ag_gen"
|
||||||
@echo "... dynstr_test"
|
|
||||||
@echo "... nm_parser.o"
|
@echo "... nm_parser.o"
|
||||||
@echo "... nm_parser.i"
|
@echo "... nm_parser.i"
|
||||||
@echo "... nm_parser.s"
|
@echo "... nm_parser.s"
|
||||||
@ -859,9 +804,6 @@ help:
|
|||||||
@echo "... src/mpi/tasks.o"
|
@echo "... src/mpi/tasks.o"
|
||||||
@echo "... src/mpi/tasks.i"
|
@echo "... src/mpi/tasks.i"
|
||||||
@echo "... src/mpi/tasks.s"
|
@echo "... src/mpi/tasks.s"
|
||||||
@echo "... src/tests/mem_test.o"
|
|
||||||
@echo "... src/tests/mem_test.i"
|
|
||||||
@echo "... src/tests/mem_test.s"
|
|
||||||
@echo "... src/util/avail_mem.o"
|
@echo "... src/util/avail_mem.o"
|
||||||
@echo "... src/util/avail_mem.i"
|
@echo "... src/util/avail_mem.i"
|
||||||
@echo "... src/util/avail_mem.s"
|
@echo "... src/util/avail_mem.s"
|
||||||
|
|||||||
BIN
build/ag_gen
BIN
build/ag_gen
Binary file not shown.
@ -19,8 +19,8 @@ TYPE=${2:-sync}
|
|||||||
CARS=${3:-2}
|
CARS=${3:-2}
|
||||||
DBNAME=${4:-tmp}
|
DBNAME=${4:-tmp}
|
||||||
NUM_THREADS=${5:-1}
|
NUM_THREADS=${5:-1}
|
||||||
NODES=${6:-1}
|
NODES=${6:-12}
|
||||||
MPI_TYPE=${7:-def}
|
MPI_TYPE=${7:-subgraphing}
|
||||||
|
|
||||||
|
|
||||||
module load graphviz
|
module load graphviz
|
||||||
|
|||||||
@ -1,142 +1,132 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/main.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/main.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/main.cpp.o -c /home/nschrick/ag_parallel/src/main.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/main.cpp"
|
"file": "/home/nschrick/ag_parallel/src/main.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/nm_scanner.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/build/nm_scanner.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/nm_scanner.c.o -c /home/nschrick/ag_parallel/build/nm_scanner.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/build/nm_scanner.c"
|
"file": "/home/nschrick/ag_parallel/build/nm_scanner.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/nm_parser.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/build/nm_parser.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/nm_parser.c.o -c /home/nschrick/ag_parallel/build/nm_parser.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/build/nm_parser.c"
|
"file": "/home/nschrick/ag_parallel/build/nm_parser.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/xp_scanner.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/build/xp_scanner.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/xp_scanner.c.o -c /home/nschrick/ag_parallel/build/xp_scanner.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/build/xp_scanner.c"
|
"file": "/home/nschrick/ag_parallel/build/xp_scanner.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/xp_parser.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/build/xp_parser.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/xp_parser.c.o -c /home/nschrick/ag_parallel/build/xp_parser.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/build/xp_parser.c"
|
"file": "/home/nschrick/ag_parallel/build/xp_parser.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/ag_gen.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/ag_gen.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/ag_gen.cpp.o -c /home/nschrick/ag_parallel/src/ag_gen/ag_gen.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/ag_gen.cpp"
|
"file": "/home/nschrick/ag_parallel/src/ag_gen/ag_gen.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/asset.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/asset.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/asset.cpp.o -c /home/nschrick/ag_parallel/src/ag_gen/asset.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/asset.cpp"
|
"file": "/home/nschrick/ag_parallel/src/ag_gen/asset.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/assetgroup.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/assetgroup.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/assetgroup.cpp.o -c /home/nschrick/ag_parallel/src/ag_gen/assetgroup.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/assetgroup.cpp"
|
"file": "/home/nschrick/ag_parallel/src/ag_gen/assetgroup.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/edge.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/edge.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/edge.cpp.o -c /home/nschrick/ag_parallel/src/ag_gen/edge.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/edge.cpp"
|
"file": "/home/nschrick/ag_parallel/src/ag_gen/edge.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/exploit.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/exploit.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/exploit.cpp.o -c /home/nschrick/ag_parallel/src/ag_gen/exploit.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/exploit.cpp"
|
"file": "/home/nschrick/ag_parallel/src/ag_gen/exploit.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/factbase.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/factbase.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/factbase.cpp.o -c /home/nschrick/ag_parallel/src/ag_gen/factbase.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/factbase.cpp"
|
"file": "/home/nschrick/ag_parallel/src/ag_gen/factbase.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/network_state.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/network_state.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/network_state.cpp.o -c /home/nschrick/ag_parallel/src/ag_gen/network_state.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/network_state.cpp"
|
"file": "/home/nschrick/ag_parallel/src/ag_gen/network_state.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/quality.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/quality.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/quality.cpp.o -c /home/nschrick/ag_parallel/src/ag_gen/quality.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/quality.cpp"
|
"file": "/home/nschrick/ag_parallel/src/ag_gen/quality.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/topology.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/topology.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/ag_gen/topology.cpp.o -c /home/nschrick/ag_parallel/src/ag_gen/topology.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/topology.cpp"
|
"file": "/home/nschrick/ag_parallel/src/ag_gen/topology.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/util/avail_mem.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/avail_mem.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/util/avail_mem.cpp.o -c /home/nschrick/ag_parallel/src/util/avail_mem.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/avail_mem.cpp"
|
"file": "/home/nschrick/ag_parallel/src/util/avail_mem.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/src/util/build_sql.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/build_sql.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/src/util/build_sql.c.o -c /home/nschrick/ag_parallel/src/util/build_sql.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/build_sql.c"
|
"file": "/home/nschrick/ag_parallel/src/util/build_sql.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/util/common.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/common.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/util/common.cpp.o -c /home/nschrick/ag_parallel/src/util/common.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/common.cpp"
|
"file": "/home/nschrick/ag_parallel/src/util/common.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/util/db_functions.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/db_functions.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/util/db_functions.cpp.o -c /home/nschrick/ag_parallel/src/util/db_functions.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/db_functions.cpp"
|
"file": "/home/nschrick/ag_parallel/src/util/db_functions.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/src/util/hash.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/hash.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/src/util/hash.c.o -c /home/nschrick/ag_parallel/src/util/hash.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/hash.c"
|
"file": "/home/nschrick/ag_parallel/src/util/hash.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/src/util/list.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/list.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/src/util/list.c.o -c /home/nschrick/ag_parallel/src/util/list.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/list.c"
|
"file": "/home/nschrick/ag_parallel/src/util/list.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/src/util/mem.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/mem.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/src/util/mem.c.o -c /home/nschrick/ag_parallel/src/util/mem.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/mem.c"
|
"file": "/home/nschrick/ag_parallel/src/util/mem.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/util/redis_manager.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/redis_manager.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/util/redis_manager.cpp.o -c /home/nschrick/ag_parallel/src/util/redis_manager.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/redis_manager.cpp"
|
"file": "/home/nschrick/ag_parallel/src/util/redis_manager.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/src/util/str_array.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/str_array.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/src/util/str_array.c.o -c /home/nschrick/ag_parallel/src/util/str_array.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/str_array.c"
|
"file": "/home/nschrick/ag_parallel/src/util/str_array.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/cc -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -pthread -o CMakeFiles/ag_gen.dir/src/util/vector.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/vector.c\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/gcc -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -g -pthread -o CMakeFiles/ag_gen.dir/src/util/vector.c.o -c /home/nschrick/ag_parallel/src/util/vector.c",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/vector.c"
|
"file": "/home/nschrick/ag_parallel/src/util/vector.c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/mpi/serialize.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/mpi/serialize.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/mpi/serialize.cpp.o -c /home/nschrick/ag_parallel/src/mpi/serialize.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/mpi/serialize.cpp"
|
"file": "/home/nschrick/ag_parallel/src/mpi/serialize.cpp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
"directory": "/home/nschrick/ag_parallel/build",
|
||||||
"command": "/usr/bin/c++ -DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -std=c++14 -fopenmp -DREDIS -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/mpi/tasks.cpp.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/mpi/tasks.cpp\"",
|
"command": "/opt/apps/gcc/8.2.0/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_MPI_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -I/usr/include/postgresql -I/home/nschrick/ag_parallel/src -isystem /home/nschrick/pkg/boost/1.77.0/include -isystem /storage/home/nschrick/pkg/openmpi/4.1.2/include -isystem /home/nschrick/pkg/openmpi/4.1.2/include -std=c++14 -fopenmp -g -g -O0 -ggdb -Wall -fopenmp -pedantic -pthread -o CMakeFiles/ag_gen.dir/src/mpi/tasks.cpp.o -c /home/nschrick/ag_parallel/src/mpi/tasks.cpp",
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/mpi/tasks.cpp"
|
"file": "/home/nschrick/ag_parallel/src/mpi/tasks.cpp"
|
||||||
},
|
|
||||||
{
|
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
|
||||||
"command": "/usr/bin/cc -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -o CMakeFiles/dynstr_test.dir/src/util/mem.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/mem.c\"",
|
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/mem.c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"directory": "/home/noah/Documents/School/Thesis Work/ag_parallel/build",
|
|
||||||
"command": "/usr/bin/cc -I/usr/include/postgresql -I\"/home/noah/Documents/School/Thesis Work/ag_parallel/src\" -g -o CMakeFiles/dynstr_test.dir/src/tests/mem_test.c.o -c \"/home/noah/Documents/School/Thesis Work/ag_parallel/src/tests/mem_test.c\"",
|
|
||||||
"file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/tests/mem_test.c"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
12194
build/states.txt
12194
build/states.txt
File diff suppressed because it is too large
Load Diff
@ -19,30 +19,39 @@ TIMESTR=`date +"%s"`
|
|||||||
DBNAME="${folder}_${TIMESTR}"
|
DBNAME="${folder}_${TIMESTR}"
|
||||||
#nodelist=compute01,compute04,compute07,compute10,compute11,compute12
|
#nodelist=compute01,compute04,compute07,compute10,compute11,compute12
|
||||||
NODES=(2 3 4 5 6 7 8 9 10 11 12)
|
NODES=(2 3 4 5 6 7 8 9 10 11 12)
|
||||||
|
MPI_TYPE="serial"
|
||||||
|
|
||||||
pwd=`pwd`
|
pwd=`pwd`
|
||||||
#one=1
|
#one=1
|
||||||
#4,8,16,32 thr
|
#4,8,16,32 thr
|
||||||
thrds=(4 8 16 32)
|
thrds=(4 8 16 32)
|
||||||
|
|
||||||
if [[ "$folder" == serial || "$folder" == serialnosync || "$folder" == mpitasking || "$folder" == mpisubgraphing ]]; then
|
if [[ "$folder" == "serial" || "$folder" == "serialnosync" || "$folder" == "mpitasking" || "$folder" == "mpisubgraphing" ]]; then
|
||||||
thrds=(1)
|
thrds=(1)
|
||||||
else
|
else
|
||||||
thrds=(4 8 16 32)
|
thrds=(4 8 16 32)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$folder" != mpisubgraphing || "$folder" != mpitasking ]]; then
|
if [[ "$folder" != "mpisubgraphing" || "$folder" != "mpitasking" ]]; then
|
||||||
NODES=(1)
|
NODES=(1)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$folder" == "mpisubgraphing" ]]; then
|
||||||
|
MPI_TYPE="subgraphing"
|
||||||
|
elif [[ "$folder" == "mpitasking" ]]; then
|
||||||
|
MPI_TYPE="tasking"
|
||||||
|
else
|
||||||
|
MPI_TYPE="serial"
|
||||||
|
fi
|
||||||
|
|
||||||
QSIZE=1
|
QSIZE=1
|
||||||
SKIPSYNC=false
|
SKIPSYNC=false
|
||||||
|
|
||||||
if [[ "$folder" == serialnosync ]]; then
|
if [[ "$folder" == "serialnosync" ]]; then
|
||||||
SKIPSYNC=true
|
SKIPSYNC=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$folder" == ompnosync ]]; then
|
if [[ "$folder" == "ompnosync" ]]; then
|
||||||
SKIPSYNC=true
|
SKIPSYNC=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -50,17 +59,17 @@ if [[ "$SKIPSYNC" == false ]]; then
|
|||||||
|
|
||||||
for thrd in "${thrds[@]}"
|
for thrd in "${thrds[@]}"
|
||||||
do
|
do
|
||||||
if [[ "$folder" == serial ]]; then
|
if [[ "$folder" == "serial" ]]; then
|
||||||
thrd=1
|
thrd=1
|
||||||
nodelist=compute05
|
nodelist=compute05
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$folder" == serialnosync ]]; then
|
if [[ "$folder" == "serialnosync" ]]; then
|
||||||
thrd=1
|
thrd=1
|
||||||
nodelist=compute07
|
nodelist=compute07
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$folder" == ompnosync ]]; then
|
if [[ "$folder" == "ompnosync" ]]; then
|
||||||
nodelist=compute08
|
nodelist=compute08
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -72,7 +81,7 @@ if [[ "$SKIPSYNC" == false ]]; then
|
|||||||
QSIZE=$((thrd*qmult))
|
QSIZE=$((thrd*qmult))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$folder" == serial ]]; then
|
if [[ "$folder" == "serial" ]]; then
|
||||||
QSIZE=1
|
QSIZE=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -82,13 +91,13 @@ if [[ "$SKIPSYNC" == false ]]; then
|
|||||||
|
|
||||||
echo "----------------------------------- "$cars" cars -----------------------------------" >> ./slurm_reports/"$folder"/sync_data.txt
|
echo "----------------------------------- "$cars" cars -----------------------------------" >> ./slurm_reports/"$folder"/sync_data.txt
|
||||||
#1..4 (or 1..10)Services
|
#1..4 (or 1..10)Services
|
||||||
for i in {1..6}
|
for i in {1..4}
|
||||||
do
|
do
|
||||||
for node in "${NODES[@]}"
|
for node in "${NODES[@]}"
|
||||||
do
|
do
|
||||||
SKIP_FLAG=0
|
SKIP_FLAG=0
|
||||||
#Dispatch the job and get the output ("Submitted batch job <jobid>
|
#Dispatch the job and get the output ("Submitted batch job <jobid>
|
||||||
JOB=`sbatch --nodelist="$nodelist" ag_run.sh "$i" "sync" "$cars" "$DBNAME" "$thrd" "$node" "tasking"`
|
JOB=`sbatch --nodelist="$nodelist" ag_run.sh "$i" "sync" "$cars" "$DBNAME" "$thrd" "$node" "$MPI_TYPE"`
|
||||||
#Pull the jobid
|
#Pull the jobid
|
||||||
JOB=`echo "$JOB" | grep -oP '(?<=job )[^ ]*'`
|
JOB=`echo "$JOB" | grep -oP '(?<=job )[^ ]*'`
|
||||||
|
|
||||||
@ -129,11 +138,11 @@ if [[ "$SKIPSYNC" == false ]]; then
|
|||||||
#Get runtime and states from the output
|
#Get runtime and states from the output
|
||||||
#RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'`
|
#RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'`
|
||||||
RUNTIME=`cat "$FILE" | grep -oP '(?<=AG TOOK )[^ ]*'`
|
RUNTIME=`cat "$FILE" | grep -oP '(?<=AG TOOK )[^ ]*'`
|
||||||
|
DUP=`cat "$FILE" | grep -oP '(?<=Duplicated States that had to be removed: )[^ ]*'`
|
||||||
STATES=`cat "$FILE" | grep -oP '(?<=Total States: )[^ ]*'`
|
STATES=`cat "$FILE" | grep -oP '(?<=Total States: )[^ ]*'`
|
||||||
|
|
||||||
if ! test -s "$ERR" || test "$SKIP_FLAG" -eq 1 ; then
|
if ! test -s "$ERR" || test "$SKIP_FLAG" -eq 1 ; then
|
||||||
printf "${i} Services Synchronized: ${STATES} states and ${RUNTIME} runtime \n\n" >> ./slurm_reports/"$folder"/sync_data.txt
|
printf "${i} Services Synchronized: ${STATES} states ${RUNTIME} runtime and ${DUP} duplicate states \n\n" >> ./slurm_reports/"$folder"/sync_data.txt
|
||||||
str="$i","$STATES","$RUNTIME"
|
str="$i","$STATES","$RUNTIME"
|
||||||
echo $str >> ./slurm_reports/"$folder"/sync_data.csv
|
echo $str >> ./slurm_reports/"$folder"/sync_data.csv
|
||||||
else
|
else
|
||||||
@ -186,13 +195,13 @@ if [[ "$SKIPSYNC" == false ]]; then
|
|||||||
|
|
||||||
echo "----------------------------------- "$cars" cars -----------------------------------" >> ./slurm_reports/"$folder"/non-sync_data.txt
|
echo "----------------------------------- "$cars" cars -----------------------------------" >> ./slurm_reports/"$folder"/non-sync_data.txt
|
||||||
#1..4 (or 1..10)Services
|
#1..4 (or 1..10)Services
|
||||||
for i in {1..6}
|
for i in {1..4}
|
||||||
do
|
do
|
||||||
for node in "${NODES[@]}"
|
for node in "${NODES[@]}"
|
||||||
do
|
do
|
||||||
SKIP_FLAG=0
|
SKIP_FLAG=0
|
||||||
#Dispatch the job and get the output ("Submitted batch job <jobid>
|
#Dispatch the job and get the output ("Submitted batch job <jobid>
|
||||||
JOB=`sbatch --nodelist="$nodelist" ag_run.sh "$i" "non-sync" "$cars" "$DBNAME" "$thrd" "$node" "tasking"`
|
JOB=`sbatch --nodelist="$nodelist" ag_run.sh "$i" "non-sync" "$cars" "$DBNAME" "$thrd" "$node" "$MPI_TYPE"`
|
||||||
#Pull the jobid
|
#Pull the jobid
|
||||||
JOB=`echo "$JOB" | grep -oP '(?<=job )[^ ]*'`
|
JOB=`echo "$JOB" | grep -oP '(?<=job )[^ ]*'`
|
||||||
|
|
||||||
@ -233,11 +242,11 @@ if [[ "$SKIPSYNC" == false ]]; then
|
|||||||
#Get runtime and states from the output
|
#Get runtime and states from the output
|
||||||
#RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'`
|
#RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'`
|
||||||
RUNTIME=`cat "$FILE" | grep -oP '(?<=AG TOOK )[^ ]*'`
|
RUNTIME=`cat "$FILE" | grep -oP '(?<=AG TOOK )[^ ]*'`
|
||||||
|
DUP=`cat "$FILE" | grep -oP '(?<=Duplicated States that had to be removed: )[^ ]*'`
|
||||||
STATES=`cat "$FILE" | grep -oP '(?<=Total States: )[^ ]*'`
|
STATES=`cat "$FILE" | grep -oP '(?<=Total States: )[^ ]*'`
|
||||||
|
|
||||||
if ! test -s "$ERR" || test "$SKIP_FLAG" -eq 1 ; then
|
if ! test -s "$ERR" || test "$SKIP_FLAG" -eq 1 ; then
|
||||||
printf "${i} Services Non-Synchronized: ${STATES} states and ${RUNTIME} runtime \n\n" >> ./slurm_reports/"$folder"/non-sync_data.txt
|
printf "${i} Services Non-Synchronized: ${STATES} states ${RUNTIME} runtime and ${DUP} duplicate states \n\n" >> ./slurm_reports/"$folder"/non-sync_data.txt
|
||||||
str="$i","$STATES","$RUNTIME"
|
str="$i","$STATES","$RUNTIME"
|
||||||
echo $str >> ./slurm_reports/"$folder"/non-sync_data.csv
|
echo $str >> ./slurm_reports/"$folder"/non-sync_data.csv
|
||||||
else
|
else
|
||||||
|
|||||||
@ -92,6 +92,7 @@ AGGen::AGGen(AGGenInstance &_instance) : instance(_instance) {
|
|||||||
hash_map.insert(std::make_pair(init_state.get_hash(instance.facts), init_id));
|
hash_map.insert(std::make_pair(init_state.get_hash(instance.facts), init_id));
|
||||||
frontier.push_back(init_state);
|
frontier.push_back(init_state);
|
||||||
use_redis = false;
|
use_redis = false;
|
||||||
|
instance.duplicates = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1337,15 +1338,15 @@ int initQSize, double mem_threshold, mpi::communicator &world, int state_limit)
|
|||||||
|
|
||||||
localFrontier.emplace_front(new_state);
|
localFrontier.emplace_front(new_state);
|
||||||
//Edge ed(current_state.get_id(), new_state.get_id(), exploit, assetGroup);
|
//Edge ed(current_state.get_id(), new_state.get_id(), exploit, assetGroup);
|
||||||
Edge ed(current_state.get_hash(instance.facts), new_state.get_hash(instance.facts), exploit, assetGroup);
|
Edge ed(current_hash, hash_num, exploit, assetGroup);
|
||||||
ed.set_id();
|
ed.set_id();
|
||||||
instance.edges.push_back(ed);
|
instance.edges.push_back(ed);
|
||||||
} //END if (hash_map.find(hash_num) == hash_map.end())
|
} //END if (hash_map.find(hash_num) == hash_map.end())
|
||||||
|
|
||||||
else {
|
else {
|
||||||
auto id = hash_map[hash_num];
|
//auto id = hash_map[hash_num];
|
||||||
//Edge ed(current_state.get_id(), id, exploit, assetGroup);
|
//Edge ed(current_state.get_id(), id, exploit, assetGroup);
|
||||||
Edge ed(current_state.get_hash(instance.facts), hash_num, exploit, assetGroup);
|
Edge ed(current_hash, hash_num, exploit, assetGroup);
|
||||||
ed.set_id();
|
ed.set_id();
|
||||||
instance.edges.push_back(ed);
|
instance.edges.push_back(ed);
|
||||||
}
|
}
|
||||||
@ -1610,9 +1611,7 @@ int initQSize, double mem_threshold, mpi::communicator &world, int state_limit)
|
|||||||
gettimeofday(&t2,NULL);
|
gettimeofday(&t2,NULL);
|
||||||
total_t+=(t2.tv_sec-t1.tv_sec)*1000.0+(t2.tv_usec-t1.tv_usec)/1000.0;
|
total_t+=(t2.tv_sec-t1.tv_sec)*1000.0+(t2.tv_usec-t1.tv_usec)/1000.0;
|
||||||
printf("AG TOOK %lf ms.\n", total_t);
|
printf("AG TOOK %lf ms.\n", total_t);
|
||||||
std::cout << "Instance Edges before adjustment: " << instance.edges.size() << std::endl;
|
|
||||||
edge_adjustment(instance, hash_map);
|
edge_adjustment(instance, hash_map);
|
||||||
std::cout << "Instance Edges after adjustment: " << instance.edges.size() << std::endl;
|
|
||||||
auto end = std::chrono::system_clock::now();
|
auto end = std::chrono::system_clock::now();
|
||||||
|
|
||||||
std::chrono::duration<double> elapsed_seconds = end - start;
|
std::chrono::duration<double> elapsed_seconds = end - start;
|
||||||
|
|||||||
@ -62,6 +62,7 @@ struct AGGenInstance {
|
|||||||
std::vector<Exploit> exploits; //init
|
std::vector<Exploit> exploits; //init
|
||||||
std::vector<Edge> edges;
|
std::vector<Edge> edges;
|
||||||
Keyvalue facts; //init
|
Keyvalue facts; //init
|
||||||
|
unsigned long duplicates;
|
||||||
|
|
||||||
std::chrono::duration<double> elapsed_seconds;
|
std::chrono::duration<double> elapsed_seconds;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -121,8 +121,13 @@ bool Edge::operator==(const Edge& ed2)
|
|||||||
{
|
{
|
||||||
if(get_to_id() == ed2.get_to_id() &&
|
if(get_to_id() == ed2.get_to_id() &&
|
||||||
get_from_id() == ed2.get_from_id() &&
|
get_from_id() == ed2.get_from_id() &&
|
||||||
get_id() == ed2.get_id()){
|
get_exploit_id() == ed2.get_exploit_id()){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else return false;
|
else return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Edge::force_set_id(int i)
|
||||||
|
{
|
||||||
|
id = i;
|
||||||
|
}
|
||||||
|
|||||||
@ -63,7 +63,7 @@ class Edge {
|
|||||||
bool is_deleted();
|
bool is_deleted();
|
||||||
bool comparator(Edge& ed2);
|
bool comparator(Edge& ed2);
|
||||||
bool operator==(const Edge& ed2);
|
bool operator==(const Edge& ed2);
|
||||||
|
void force_set_id(int i);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AG_GEN_EDGE_H
|
#endif // AG_GEN_EDGE_H
|
||||||
|
|||||||
@ -713,12 +713,12 @@ int main(int argc, char *argv[]) {
|
|||||||
std::cout << "Finished generation." << std::endl;
|
std::cout << "Finished generation." << std::endl;
|
||||||
std::cout << "Saving to Database." << std::endl;
|
std::cout << "Saving to Database." << std::endl;
|
||||||
save_ag_to_db(postinstance, true);
|
save_ag_to_db(postinstance, true);
|
||||||
//std::cout << "PostInstance states: " << postinstance.factbases.size() << std::endl;
|
|
||||||
|
|
||||||
std::cout << "Total Edges: " << get_num_edges() << std::endl;
|
std::cout << "Total Edges: " << get_num_edges() << std::endl;
|
||||||
std::cout << "Total Time: " << postinstance.elapsed_seconds.count() << " seconds\n";
|
std::cout << "Total Time: " << postinstance.elapsed_seconds.count() << " seconds\n";
|
||||||
//std::cout << "Total States: " << postinstance.factbases.size() << "\n";
|
//std::cout << "Total States: " << postinstance.factbases.size() << "\n";
|
||||||
std::cout << "Total States: " << get_num_states() << std::endl;
|
std::cout << "Total States: " << get_num_states() << std::endl;
|
||||||
|
std::cout << "Duplicated States that had to be removed: " << postinstance.duplicates << std::endl;
|
||||||
std::cout << "Saving Attack Graph to Database: " << std::flush;
|
std::cout << "Saving Attack Graph to Database: " << std::flush;
|
||||||
std::cout << "Done\n";
|
std::cout << "Done\n";
|
||||||
|
|
||||||
|
|||||||
@ -550,18 +550,22 @@ void state_merge(std::vector<Factbase> &node_factbases, std::vector<Edge> &node_
|
|||||||
i_alpha = i_usage/tot_sys_mem;
|
i_alpha = i_usage/tot_sys_mem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
|
instance.duplicates++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Note: This does add duplicates. Having one duplicate removal sweep at the end is preferable to duplicate checking
|
//Note: This does add duplicates. Having one duplicate removal sweep at the end is preferable to duplicate checking
|
||||||
//every time we want to push new edges back on the frontier.
|
//every time we want to push new edges back on the frontier - verified through timing for both small and large networks.
|
||||||
for (auto &ed : node_edges){
|
instance.edges.insert(std::end(instance.edges), std::begin(node_edges), std::end(node_edges));
|
||||||
instance.edges.push_back(ed);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Convert Edge to_hash and from_hash to to_id and from_id
|
//Convert Edge to_hash and from_hash to to_id and from_id
|
||||||
void edge_adjustment(AGGenInstance &instance, std::unordered_map<size_t, int> &hash_map)
|
void edge_adjustment(AGGenInstance &instance, std::unordered_map<size_t, int> &hash_map)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// 2 Loops: Can't convert hash->ID while simultaneously checking for duplicates
|
||||||
for (auto &ed : instance.edges){
|
for (auto &ed : instance.edges){
|
||||||
auto itr = hash_map.find(ed.get_to_id());
|
auto itr = hash_map.find(ed.get_to_id());
|
||||||
if(itr != hash_map.end()){
|
if(itr != hash_map.end()){
|
||||||
@ -577,7 +581,28 @@ void edge_adjustment(AGGenInstance &instance, std::unordered_map<size_t, int> &h
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Remove duplicates
|
//Remove duplicates
|
||||||
//instance.edges.erase(unique(instance.edges.begin(), instance.edges.end(), [](Edge& ed1, Edge& ed2){return ed1.comparator(ed2);}), instance.edges.end());
|
//Poor Approach, but functional. Examine replacing instance.edges with a set instead of a vector
|
||||||
instance.edges.erase(unique(instance.edges.begin(), instance.edges.end()), instance.edges.end());
|
|
||||||
|
|
||||||
|
//Tmp Vector
|
||||||
|
std::vector<Edge> clean;
|
||||||
|
int i = instance.edges.size() + get_num_edges();
|
||||||
|
for(auto itr = instance.edges.begin(); itr != instance.edges.end();){
|
||||||
|
int seen = 0;
|
||||||
|
for(auto eitr = clean.begin(); eitr != clean.end(); eitr++){
|
||||||
|
if((*eitr).operator==(*itr)){
|
||||||
|
seen = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(seen == 1){
|
||||||
|
//Remove duplicate
|
||||||
|
itr = instance.edges.erase(itr);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
clean.push_back(*itr);
|
||||||
|
(*itr).force_set_id(i);
|
||||||
|
i++;
|
||||||
|
itr++;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user