Skip to content
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

Adds fabric attached memory support #136

Open
wants to merge 90 commits into
base: develop
Choose a base branch
from
Open

Conversation

mcakircali
Copy link
Contributor

FAM support via OpenFAM

@mcakircali mcakircali added the enhancement New feature or request label Jul 8, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jul 8, 2024

Codecov Report

Attention: Patch coverage is 10.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 63.76%. Comparing base (8d230b1) to head (354715b).
Report is 43 commits behind head on develop.

Files with missing lines Patch % Lines
src/eckit/exception/Exceptions.cc 0.00% 4 Missing ⚠️
src/eckit/net/Endpoint.cc 0.00% 3 Missing ⚠️
src/eckit/filesystem/URI.cc 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #136      +/-   ##
===========================================
- Coverage    63.80%   63.76%   -0.04%     
===========================================
  Files         1069     1065       -4     
  Lines        55387    55350      -37     
  Branches      4100     4084      -16     
===========================================
- Hits         35337    35295      -42     
- Misses       20050    20055       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Jul 8, 2024

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/9844631282.

Copy link

github-actions bot commented Jul 8, 2024

Private downstream CI succeeded.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/9845101260.

Copy link

Private downstream CI succeeded.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/9953934123.

Copy link

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/9954016637.

Comment on lines +118 to +119
find_package( protobuf CONFIG REQUIRED )
find_package( gRPC CONFIG REQUIRED )
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They should specify the desired minimum version to search for.

Comment on lines +69 to +75
${LIB_UUID_ROOT}
${LIB_UUID_DIR}
${LIB_UUID_PATH}
ENV LIB_UUID_ROOT
ENV LIB_UUID_DIR
ENV LIB_UUID_PATH
PATH_SUFFIXES uuid
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we working with custom compiled / custom locations for libuuid? if not the default search locations should be sufficient to pick up libuuid

Comment on lines 97 to 106
set(LIB_UUID_LIBRARIES ${LIB_UUID_LIBRARY})
set(LIB_UUID_INCLUDE_DIRS ${LIB_UUID_INCLUDE_DIR})
if(NOT TARGET LibUUID)
add_library(LibUUID UNKOWN IMPORTED)
set_target_properties(LibUUID PROPERTIES
IMPORTED_LOCATION "${LIB_UUID_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${LIB_UUID_INCLUDE_DIR}"
INTERFACE_LINK_LIBRARIES "${LIB_UUID_LIBRARY}")
endif()
endif()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest that your custom find package follows the one make uses internally for liquid, see: https://gitlab.kitware.com/cmake/cmake/-/blob/master/Source/Modules/FindLibUUID.cmake

Ofc you can drop msgs/cygwin stuff.

Comment on lines +43 to +44
std::string_view view() const noexcept { return std::string_view(buffer_, size_); }

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Buffer is a byte buffer and while it could be used as a c-string it think this should not be done. Especially. since the only usage I can see is in tests.

Comment on lines +39 to +42
friend std::ostream& operator<<(std::ostream& out, const FamConfig& config) {
out << "endpoint=" << config.endpoint << ", sessionName=" << config.sessionName;
return out;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not need to be a friend.

Copy link

Private downstream CI failed.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/11595777682.

Copy link

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/11595882868.

Copy link

github-actions bot commented Nov 6, 2024

Private downstream CI failed.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/11701281376.

Copy link

github-actions bot commented Nov 6, 2024

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/11701461718.

Copy link

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/11765493227.

Copy link

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/11796723262.

Copy link

Private downstream CI failed.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/11796724921.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants