set up synchronous comm for many slaves

and also abusing the c preprocessor
This commit is contained in:
2019-11-26 21:20:40 -08:00
parent 725130e51f
commit 9727499f4d
3 changed files with 90 additions and 33 deletions

View File

@@ -4,7 +4,7 @@ project(fedavg_mpi)
find_package(MPI REQUIRED)
find_package(Python3 COMPONENTS Development NumPy)
add_executable(${PROJECT_NAME} main.c library.c)
add_executable(${PROJECT_NAME} main.c cythoned/library.c)
target_include_directories(${PROJECT_NAME} PRIVATE ${Python3_INCLUDE_DIRS})
target_include_directories(${PROJECT_NAME} PRIVATE ${Python3_NumPy_INCLUDE_DIRS})