diff --git a/build/Makefile b/build/Makefile index f8e1447..1bf9deb 100644 --- a/build/Makefile +++ b/build/Makefile @@ -48,19 +48,19 @@ cmake_force: SHELL = /bin/sh # The CMake executable. -CMAKE_COMMAND = /storage/home/nschrick/pkg/cmake/3.22.0/bin/cmake +CMAKE_COMMAND = /usr/bin/cmake # The command to remove a file. -RM = /storage/home/nschrick/pkg/cmake/3.22.0/bin/cmake -E rm -f +RM = /usr/bin/cmake -E rm -f # Escaping for special characters. EQUALS = = # The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /home/nschrick/ag_parallel +CMAKE_SOURCE_DIR = "/home/noah/Documents/School/Thesis Work/ag_parallel" # The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /home/nschrick/ag_parallel/build +CMAKE_BINARY_DIR = "/home/noah/Documents/School/Thesis Work/ag_parallel/build" #============================================================================= # Targets provided globally by CMake. @@ -68,7 +68,7 @@ CMAKE_BINARY_DIR = /home/nschrick/ag_parallel/build # Special rule for the target edit_cache edit_cache: @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." - /storage/home/nschrick/pkg/cmake/3.22.0/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) + /usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) .PHONY : 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 rebuild_cache: @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." - /storage/home/nschrick/pkg/cmake/3.22.0/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) + /usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) .PHONY : rebuild_cache # Special rule for the target rebuild_cache @@ -87,9 +87,9 @@ rebuild_cache/fast: rebuild_cache # The main all target all: cmake_check_build_system - $(CMAKE_COMMAND) -E cmake_progress_start /home/nschrick/ag_parallel/build/CMakeFiles /home/nschrick/ag_parallel/build//CMakeFiles/progress.marks + $(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" $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all - $(CMAKE_COMMAND) -E cmake_progress_start /home/nschrick/ag_parallel/build/CMakeFiles 0 + $(CMAKE_COMMAND) -E cmake_progress_start "/home/noah/Documents/School/Thesis Work/ag_parallel/build/CMakeFiles" 0 .PHONY : all # The main clean target @@ -116,6 +116,19 @@ depend: $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 .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 @@ -129,6 +142,19 @@ ag_gen/fast: $(MAKE) $(MAKESILENT) -f CMakeFiles/ag_gen.dir/build.make CMakeFiles/ag_gen.dir/build .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 .PHONY : nm_parser.o @@ -465,6 +491,30 @@ 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 +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 .PHONY : src/util/avail_mem.o @@ -615,6 +665,7 @@ src/util/mem.o: src/util/mem.c.o # target to build an object file 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 src/util/mem.i: src/util/mem.c.i @@ -623,6 +674,7 @@ src/util/mem.i: src/util/mem.c.i # target to preprocess a source file 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 src/util/mem.s: src/util/mem.c.s @@ -631,6 +683,7 @@ src/util/mem.s: src/util/mem.c.s # target to generate assembly for a file 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 src/util/redis_manager.o: src/util/redis_manager.cpp.o @@ -761,7 +814,9 @@ help: @echo "... depend" @echo "... edit_cache" @echo "... rebuild_cache" + @echo "... doc" @echo "... ag_gen" + @echo "... dynstr_test" @echo "... nm_parser.o" @echo "... nm_parser.i" @echo "... nm_parser.s" @@ -804,6 +859,9 @@ help: @echo "... src/mpi/tasks.o" @echo "... src/mpi/tasks.i" @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.i" @echo "... src/util/avail_mem.s" diff --git a/build/ag_gen b/build/ag_gen index eba572c..60ad953 100755 Binary files a/build/ag_gen and b/build/ag_gen differ diff --git a/build/compile_commands.json b/build/compile_commands.json index 5a4f8b7..0d93d60 100644 --- a/build/compile_commands.json +++ b/build/compile_commands.json @@ -1,132 +1,142 @@ [ { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/main.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/main.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/build/nm_scanner.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/build/nm_scanner.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/build/nm_parser.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/build/nm_parser.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/build/xp_scanner.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/build/xp_scanner.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/build/xp_parser.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/build/xp_parser.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/ag_gen/ag_gen.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/ag_gen.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/ag_gen/asset.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/asset.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/ag_gen/assetgroup.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/assetgroup.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/ag_gen/edge.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/edge.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/ag_gen/exploit.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/exploit.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/ag_gen/factbase.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/factbase.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/ag_gen/network_state.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/network_state.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/ag_gen/quality.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/quality.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/ag_gen/topology.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/ag_gen/topology.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/avail_mem.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/avail_mem.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/build_sql.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/build_sql.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/common.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/common.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/db_functions.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/db_functions.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/hash.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/hash.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/list.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/list.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/mem.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/mem.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/redis_manager.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/redis_manager.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/str_array.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/str_array.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/util/vector.c" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/util/vector.c" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/mpi/serialize.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/ag_parallel/src/mpi/serialize.cpp" }, { - "directory": "/home/nschrick/ag_parallel/build", - "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/nschrick/ag_parallel/src/mpi/tasks.cpp" + "directory": "/home/noah/Documents/School/Thesis Work/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\"", + "file": "/home/noah/Documents/School/Thesis Work/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" } ] \ No newline at end of file diff --git a/src/ag_gen/ag_gen.cpp b/src/ag_gen/ag_gen.cpp index 63d35b6..f7e6e87 100755 --- a/src/ag_gen/ag_gen.cpp +++ b/src/ag_gen/ag_gen.cpp @@ -1262,20 +1262,20 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd //2 offset for root node and db node for (int w = 0; w < std::min((int)world.size()-2, (int)localFrontier.size()); w++){ localFrontier.front().force_set_id(localFrontier.front().get_hash(instance.facts)); - mpi::request state_req = world.isend(w+2, 1, localFrontier.front()); + mpi::request state_req = world.isend(w+2, 1, localFrontier.front()); localFrontier.pop_front(); state_req.wait(); - msg_sends++; + msg_sends++; std::cout << "Root has sent initial states as a total of " << msg_sends << " messages." << std::endl; } - std::cout << "World Size: " << world.size() << std::endl; + std::cout << "World Size: " << world.size() << std::endl; } //Main Work Loop - Just make this a do while instead of first_loop while(!localFrontier.empty() || finished_signal == 0 || world.rank() > 0 || first_loop == 1){ first_loop = 0; - //Refill localFrontier if needed + //Refill localFrontier if needed if(localFrontier.empty() && world.rank() == 0) { task_zero(instance, localFrontier, mem_threshold); } @@ -1284,10 +1284,10 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd //work_comm.barrier(); if (world.rank() > 1){ - localFrontier.clear(); + localFrontier.clear(); //Check for finished signal if(world.iprobe(0, 99)){ - std::cout << "Node " << world.rank() << " received finalize signal" << std::endl; + std::cout << "Node " << world.rank() << " received finalize signal" << std::endl; break; } @@ -1296,12 +1296,11 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd world.recv(0, 1, current_state); state_count = 0; send_msg = 1; - localFrontier.emplace_front(current_state); - std::cout << "Node " << world.rank() << " received a new state to explore" << std::endl; + localFrontier.emplace_front(current_state); + std::cout << "Node " << world.rank() << " received a new state to explore" << std::endl; while(!localFrontier.empty()){ - if (state_count < state_limit){ + if (state_count < state_limit){ //Do work - auto current_state = localFrontier.front(); auto current_hash = current_state.get_hash(instance.facts); localFrontier.pop_front(); @@ -1508,39 +1507,48 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd else break; } //for loop for new states ends - state_count++; + + state_count++; } - else + else{ break; + } } } //Let root node we finished, but only if we have done work since our last message if(send_msg == 1){ - if(localFrontier.size() != 0){ - world.isend(0, 2, 2); - } - else - world.isend(0, 2, 1); + + if(localFrontier.size() != 0){ + world.isend(0, 2, 2); + } + else{ + world.isend(0, 2, 1); + } send_msg = 0; std::cout << "Node " << world.rank() << " finished subgraphing work." << std::endl; + if(localFrontier.size() != 0){ mpi::request lf_req = world.isend(0, 3, localFrontier); - std::cout << "Node " << world.rank() << " has sent a localFrontier of size " << localFrontier.size() << std::endl; - lf_req.wait(); + std::cout << "Node " << world.rank() << " has sent a localFrontier of size " << localFrontier.size() << std::endl; + lf_req.wait(); } //Send new states and edges, then clear worker instance mpi::request if_req = world.isend(0, 10, instance.factbases); mpi::request ie_req = world.isend(0, 11, instance.edges); - if_req.wait(); - ie_req.wait(); + if_req.wait(); + ie_req.wait(); std::vector().swap(instance.factbases); std::vector().swap(instance.factbase_items); std::vector().swap(instance.edges); } //Check for new fact and new state that caused an update in the hash table and facts - while(world.iprobe(mpi::any_source, 5) || world.iprobe(mpi::any_source, 6)){ + //while(world.iprobe(mpi::any_source, 5) || world.iprobe(mpi::any_source, 6)){ + while(true){ + if(!world.iprobe(mpi::any_source, 5) && !world.iprobe(mpi::any_source, 6)){ + break; + } NetworkState update_state; Quality update_fact; @@ -1557,7 +1565,7 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd //Check for finished signal, assuming we have no more storage requests if(world.iprobe(0, 99) && !world.iprobe(0,7) && !world.iprobe(0,8)){ std::cout << "Node " << world.rank() << " received finalize signal" << std::endl; - break; + break; } //Check for instance storage requests @@ -1578,7 +1586,11 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd } //Check for frontier storage requests - while(world.iprobe(0, 50)){ + //while(world.iprobe(0, 50)){ + while(true){ + if(!world.iprobe(0, 50)){ + break; + } NetworkState save_state; world.recv(0, 50, save_state); save_unexplored_to_db(save_state); @@ -1589,21 +1601,25 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd //World Rank = 0 else{ std::map deque_marker; - std::map frontier_recv; + std::map frontier_recv; int finish_count = 0; //Receive states and edges when nodes finish //while(finish_count != world.size() -2){ std::cout << "Waiting for " << msg_sends << " total messages." << std::endl; while(finish_count != msg_sends){ - while(world.iprobe(mpi::any_source, 10) || world.iprobe(mpi::any_source, 11)) { + //while(world.iprobe(mpi::any_source, 10) || world.iprobe(mpi::any_source, 11)) { + while(true){ + if(!world.iprobe(mpi::any_source, 10) && !world.iprobe(mpi::any_source, 11)){ + break; + } std::vector node_factbases; std::vector node_edges; world.recv(mpi::any_source, 10, node_factbases); world.recv(mpi::any_source, 11, node_edges); - std::cout << "Merging states. Starting with: " << instance.factbases.size() << " states." << std::endl; + std::cout << "Merging states. Starting with: " << instance.factbases.size() << " states." << std::endl; state_merge(node_factbases, node_edges, hash_map, instance, mem_threshold, world); - std::cout << "Finished merging. Now have: " << instance.factbases.size() << " states." << std::endl; + std::cout << "Finished merging. Now have: " << instance.factbases.size() << " states." << std::endl; } //Nodes finish @@ -1612,17 +1628,22 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd if(world.iprobe(w, 2)){ world.recv(w, 2, dummy_finish); finish_count++; - if(dummy_finish == 2){ - frontier_recv[w] = 1; - } - else - frontier_recv[w] = 0; - std::cout << "Root received subgraph finish message from node " << w << std::endl; + if(dummy_finish == 2){ + frontier_recv[w] = 1; + } + else{ + frontier_recv[w] = 0; + } + std::cout << "Root received subgraph finish message from node " << w << std::endl; } } //Check for new fact and new state that caused an update in the hash table and facts - while(world.iprobe(mpi::any_source, 5) || world.iprobe(mpi::any_source, 6)){ + //while(world.iprobe(mpi::any_source, 5) || world.iprobe(mpi::any_source, 6)){ + while(true){ + if(!world.iprobe(mpi::any_source, 5) && !world.iprobe(mpi::any_source, 6)){ + break; + } NetworkState update_state; Quality update_fact; @@ -1657,37 +1678,38 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd localFrontier.insert(localFrontier.begin(), \ std::make_move_iterator(nodeFrontier.begin()),\ std::make_move_iterator(nodeFrontier.end())); - std::cout << "Local Frontier now has size: " << localFrontier.size() << std::endl; + std::cout << "Local Frontier now has size: " << localFrontier.size() << std::endl; deque_marker[w] = (int)(localFrontier.size()-1); - std::cout << "Deque marker for node " << w << " is " << deque_marker[w] << std::endl; + std::cout << "Deque marker for node " << w << " is " << deque_marker[w] << std::endl; } //If a node doesn't have a specific state to pull, randomly assign it one if (!deque_marker.count(w)){ //Randomly assign a state index to pop std::uniform_int_distribution<> distr(0, localFrontier.size()-1); // define the range deque_marker[w] = distr(gen); - std::cout << "Random deque marker for node " << w << " is " << deque_marker[w] << std::endl; + std::cout << "Random deque marker for node " << w << " is " << deque_marker[w] << std::endl; } } - std::cout << "Root added a placemarker for all frontier pulls " << std::endl; + + std::cout << "Root added a placemarker for all frontier pulls " << std::endl; - msg_sends = 0; + msg_sends = 0; //Send new Network State to all worker nodes, if we have enough unex states to do so //2 offset for root node and db node for (int w = 2; w < world.size(); w++){ - std::cout << "Attempting to send a new state to node " << w << std::endl; + std::cout << "Attempting to send a new state to node " << w << std::endl; int proceed = 0; - int break_flag = 0; + int break_flag = 0; while(proceed == 0){ - while(deque_marker[w] >= localFrontier.size()){ - if(localFrontier.size() == 1 || localFrontier.size() == 0){ - deque_marker[w] = 0; - break; - } + while(deque_marker[w] >= localFrontier.size()){ + if(localFrontier.size() == 1 || localFrontier.size() == 0){ + deque_marker[w] = 0; + break; + } - deque_marker[w] = localFrontier.size()-1; - } - std::cout << " LF Size: " << localFrontier.size() << std::endl; + deque_marker[w] = localFrontier.size()-1; + } + std::cout << " LF Size: " << localFrontier.size() << std::endl; if(localFrontier.size() != 0){ //while(deque_marker[w] >= localFrontier.size()) // deque_marker[w]--; @@ -1695,50 +1717,49 @@ AGGenInstance &AGGen::sg_generate(bool batch_process, int batch_num, int numThrd auto deque_access = deque_marker[w]; NetworkState send_state = localFrontier.at(deque_access); - std::cout << "Got our state from deque" << std::endl; + std::cout << "Got our state from deque" << std::endl; //Don't explore on states we already have explored if(hash_map.find(send_state.get_id()) != hash_map.end()){ - std::cout << "Already explored this state." << std::endl; + std::cout << "Already explored this state." << std::endl; if(localFrontier.size() == 1){ - localFrontier.clear(); - deque_marker[w] = -1; - std::cout << "Cleared LF, it is now of size: " << localFrontier.size() << std::endl; - } - else{ - localFrontier.erase(localFrontier.begin()+deque_access); - deque_marker[w]--; - } - std::cout << "Post hashing LF size: " << localFrontier.size() << std::endl; + localFrontier.clear(); + deque_marker[w] = -1; + std::cout << "Cleared LF, it is now of size: " << localFrontier.size() << std::endl; + } + else{ + localFrontier.erase(localFrontier.begin()+deque_access); + deque_marker[w] = deque_marker[w]-1; + } + std::cout << "Post hashing LF size: " << localFrontier.size() << std::endl; } - else{ - std::cout << " We have not seen this state yet." << std::endl; - proceed = 1; + else{ + std::cout << " We have not seen this state yet." << std::endl; + proceed = 1; } if(proceed == 1){ - std::cout << "Preparing the send to World Rank " << w << std::endl; + std::cout << "Preparing the send to World Rank " << w << std::endl; mpi::request state_req = world.isend(w, 1, send_state); localFrontier.erase(localFrontier.begin()+deque_access); state_req.wait(); - msg_sends++; - std::cout << "Root sent new states to World Rank " << w << std::endl; + msg_sends++; + std::cout << "Root sent new states to World Rank " << w << std::endl; } } - //Else localFrontier size = 0 - else{ - std::cout << "Frontier is empty. " << std::endl; - break; - } + //Else localFrontier size = 0 + else{ + std::cout << "Frontier is empty. " << std::endl; + break; + } } } - std::cout << "Message Sends: " << msg_sends << std::endl; - //if LocalFrontier is empty at this point and we did not send any messages, we're done + std::cout << "Message Sends: " << msg_sends << std::endl; + //if LocalFrontier is empty at this point and we did not send any messages, we're done if(localFrontier.empty() && msg_sends == 0){ - std::cout << "Root is sending finalize signal" << std::endl; + std::cout << "Root is sending finalize signal" << std::endl; finished_signal = 1; - } - + } } //end world rank 0 } // end main work loop