-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #299 from LLNL/release/v0.27
Release/v0.27
- Loading branch information
Showing
44 changed files
with
1,659 additions
and
833 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
add_metall_executable(generate_rmat_edge_list generate_rmat_edge_list.cpp) | ||
if (OpenMP_CXX_FOUND) | ||
target_link_libraries(generate_rmat_edge_list PRIVATE OpenMP::OpenMP_CXX) | ||
endif () | ||
setup_omp_target(generate_rmat_edge_list) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,12 @@ | ||
find_package(OpenMP) | ||
if (NOT OpenMP_CXX_FOUND) | ||
MESSAGE(STATUS "OpenMP is not found. Use single thread in BFS") | ||
endif() | ||
include(setup_omp) | ||
|
||
add_metall_executable(run_bfs_bench_metall run_bfs_bench_metall.cpp) | ||
if (OpenMP_CXX_FOUND) | ||
target_link_libraries(run_bfs_bench_metall PRIVATE OpenMP::OpenMP_CXX) | ||
endif () | ||
setup_omp_target(run_bfs_bench_metall) | ||
|
||
add_metall_executable(run_bfs_bench_metall_multiple run_bfs_bench_metall_multiple.cpp) | ||
if (OpenMP_CXX_FOUND) | ||
target_link_libraries(run_bfs_bench_metall_multiple PRIVATE OpenMP::OpenMP_CXX) | ||
endif () | ||
setup_omp_target(run_bfs_bench_metall_multiple) | ||
|
||
add_metall_executable(run_bfs_bench_bip run_bfs_bench_bip.cpp) | ||
if (OpenMP_CXX_FOUND) | ||
target_link_libraries(run_bfs_bench_bip PRIVATE OpenMP::OpenMP_CXX) | ||
endif () | ||
setup_omp_target(run_bfs_bench_bip) | ||
|
||
configure_file(run_bench.sh run_bench.sh COPYONLY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
if (MPI_CXX_FOUND) | ||
find_package(MPI) | ||
endif () | ||
|
||
function(setup_mpi_target target) | ||
if (MPI_CXX_FOUND) | ||
target_link_libraries(${target} PRIVATE MPI::MPI_CXX) | ||
if (${CMAKE_HOST_SYSTEM_NAME} MATCHES "Linux") | ||
target_link_libraries(${target} PRIVATE rt) | ||
endif () | ||
else () | ||
message(SEND_ERROR "MPI not found, ${target} will not be built") | ||
endif () | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
if (NOT OpenMP_CXX_FOUND) | ||
find_package(OpenMP) | ||
endif () | ||
|
||
function(setup_omp_target target) | ||
if (OpenMP_CXX_FOUND) | ||
target_link_libraries(${target} PUBLIC OpenMP::OpenMP_CXX) | ||
else () | ||
message(WARNING "OpenMP not found, ${target} will not be built with OpenMP support") | ||
endif () | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.