-cmake_minimum_required(VERSION 2.6)
-
if(enable_smpi AND enable_smpi_MPICH3_testsuite)
if(WIN32)
set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h")
endif()
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
- include_directories("${CMAKE_HOME_DIRECTORY}/include/smpi")
+ include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include/")
add_executable(allgather2 allgather2.c)
add_executable(allgather3 allgather3.c)
add_executable(allgatherv2 allgatherv2.c)
add_executable(allgatherv3 allgatherv3.c)
- add_executable(allgatherv4 allgatherv4.c)
+ if(HAVE_PRIVATIZATION)
+ add_executable(allgatherv4 allgatherv4.c)
+ else()
+ add_executable(allgatherv4 allgatherv4_manual.c)
+ endif()
add_executable(allred2 allred2.c)
add_executable(allred3 allred3.c)
add_executable(allred4 allred4.c)
add_executable(allred5 allred5.c)
add_executable(allred6 allred6.c)
-# add_executable(allred allred.c)
+ add_executable(allred allred.c)
add_executable(allredmany allredmany.c)
add_executable(alltoall1 alltoall1.c)
add_executable(alltoallv0 alltoallv0.c)
add_executable(longuser longuser.c)
# add_executable(nonblocking2 nonblocking2.c)
# add_executable(nonblocking3 nonblocking3.c)
-# add_executable(nonblocking4 nonblocking3.c)
+# add_executable(nonblocking4 nonblocking4.c)
# add_executable(nonblocking nonblocking.c)
# add_executable(opband opband.c)
# add_executable(opbor opbor.c)
target_link_libraries(allred4 simgrid mtest_c)
target_link_libraries(allred5 simgrid mtest_c)
target_link_libraries(allred6 simgrid mtest_c)
-# target_link_libraries(allred simgrid mtest_c)
+ target_link_libraries(allred simgrid mtest_c)
target_link_libraries(allredmany simgrid mtest_c)
target_link_libraries(alltoall1 simgrid mtest_c)
target_link_libraries(alltoallv0 simgrid mtest_c)
target_link_libraries(scatterv simgrid mtest_c)
# target_link_libraries(uoplong simgrid mtest_c)
+ set_target_properties(allred PROPERTIES COMPILE_FLAGS "-O0" LINK_FLAGS "-O0")
endif()
set(tesh_files
${CMAKE_CURRENT_SOURCE_DIR}/allgatherv2.c
${CMAKE_CURRENT_SOURCE_DIR}/allgatherv3.c
${CMAKE_CURRENT_SOURCE_DIR}/allgatherv4.c
+ ${CMAKE_CURRENT_SOURCE_DIR}/allgatherv4_manual.c
${CMAKE_CURRENT_SOURCE_DIR}/allred2.c
${CMAKE_CURRENT_SOURCE_DIR}/allred3.c
${CMAKE_CURRENT_SOURCE_DIR}/allred4.c
${CMAKE_CURRENT_SOURCE_DIR}/nonblocking2.c
${CMAKE_CURRENT_SOURCE_DIR}/nonblocking3.c
${CMAKE_CURRENT_SOURCE_DIR}/nonblocking.c
+ ${CMAKE_CURRENT_SOURCE_DIR}/nonblocking4.c
${CMAKE_CURRENT_SOURCE_DIR}/opband.c
${CMAKE_CURRENT_SOURCE_DIR}/opbor.c
${CMAKE_CURRENT_SOURCE_DIR}/opbxor.c