-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Extending the BP4 engine to allow data transfers through SCR #3392
Open
anagainaru
wants to merge
7
commits into
ornladios:master
Choose a base branch
from
anagainaru:scr-testing
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
5914373
Build ADIOS with SCR (scalable checkpoint restart library) support
anagainaru 3587566
Changes on the writer side in the BP engine to be able to run with SCR
anagainaru 0a5b131
Adding testing for ADIOS2 with SCR
anagainaru 73bf631
Cmake logic to find the SCR library
anagainaru 786c40a
Move the SCR initialize and finalize inside the BP4 engine
anagainaru 9f892c3
Forcing the SCR test to always use MPI
anagainaru bd77fda
Update the testing code to the new API
anagainaru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
#------------------------------------------------------------------------------# | ||
# Distributed under the OSI-approved Apache License, Version 2.0. See | ||
# accompanying file Copyright.txt for details. | ||
#------------------------------------------------------------------------------# | ||
# | ||
# FindSCR | ||
# ----------- | ||
# | ||
# Try to find the SCR library | ||
# | ||
# This module defines the following variables: | ||
# | ||
# SCR_FOUND - System has SCR | ||
# SCR_INCLUDE_DIRS - The SCR include directory | ||
# SCR_LIBRARIES - Link these to use SCR | ||
# | ||
# and the following imported targets: | ||
# SCR::SCR - The SCR library target | ||
# | ||
# You can also set the following variable to help guide the search: | ||
# SCR_ROOT - The install prefix for SCR containing the | ||
# include and lib folders | ||
# Note: this can be set as a CMake variable or an | ||
# environment variable. If specified as a CMake | ||
# variable, it will override any setting specified | ||
# as an environment variable. | ||
|
||
if(NOT SCR_FOUND) | ||
if((NOT SCR_ROOT) AND (NOT (ENV{SCR_ROOT} STREQUAL ""))) | ||
set(SCR_ROOT "$ENV{SCR_ROOT}") | ||
endif() | ||
if(SCR_ROOT) | ||
set(SCR_INCLUDE_OPTS HINTS ${SCR_ROOT}/include NO_DEFAULT_PATHS) | ||
set(SCR_LIBRARY_OPTS | ||
HINTS ${SCR_ROOT}/lib ${SCR_ROOT}/lib64 | ||
NO_DEFAULT_PATHS | ||
) | ||
endif() | ||
|
||
find_path(SCR_INCLUDE_DIR scr.h ${SCR_INCLUDE_OPTS}) | ||
find_library(SCR_LIBRARY NAMES scr ${SCR_LIBRARY_OPTS}) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(SCR | ||
FOUND_VAR SCR_FOUND | ||
REQUIRED_VARS SCR_LIBRARY SCR_INCLUDE_DIR | ||
) | ||
if(SCR_FOUND) | ||
set(SCR_INCLUDE_DIRS ${SCR_INCLUDE_DIR}) | ||
set(SCR_LIBRARIES ${SCR_LIBRARY}) | ||
if(SCR_FOUND AND NOT TARGET SCR::SCR) | ||
add_library(SCR::SCR UNKNOWN IMPORTED) | ||
set_target_properties(SCR::SCR PROPERTIES | ||
IMPORTED_LOCATION "${SCR_LIBRARY}" | ||
INTERFACE_LINK_LIBRARIES "${SCR_LIBRARIES}" | ||
INTERFACE_INCLUDE_DIRECTORIES "${SCR_INCLUDE_DIR}" | ||
) | ||
endif() | ||
endif() | ||
endif() |
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#include <scr.h>
would help identify it as an external header.