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

ATL fix for verbs provider and some minor fixes #5

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

rajakrishi
Copy link

ATL Fix for Scale out System and fixes for #3 & #4

src/fam_atl.cpp Outdated
@@ -69,7 +69,7 @@ namespace openfam {
#define RETURN_WITH_FAM_EXCEPTION \
} \
catch (Fam_Exception & e) { \
throw e; \
throw e; \
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the spacing right ? Why is this line modified ?

@@ -501,8 +501,8 @@ int atl_finalize() {

if (serverAddrName) free(serverAddrName);

if (defaultCtx != NULL)
delete defaultCtx;
//if (defaultCtx != NULL)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a TODO comment on why this is commented out ?

src/fam_atl.cpp Outdated
@@ -599,10 +599,11 @@ int fam_get_atomic(void *local, Fam_Descriptor *descriptor,

uint64_t nodeId = descriptor->get_memserver_id();
Fam_Context *ATLCtx = get_defaultCtx(nodeId);
//uint64_t ATLBaseAddr = (uint64_t)descriptor->get_base_address();
Copy link
Contributor

Choose a reason for hiding this comment

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

Commented code,please remove

try {
myatlib->fam_scatter_atomic(msg1, item1, 5, 1, 2, 2);
} catch (Fam_Exception &e) {
cout << "Scatter atomic not found" << e.fam_error_msg() << endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

correct the print message

@@ -164,6 +191,9 @@ int main() {
memset(msg2, 0, 200);
start = std::chrono::high_resolution_clock::now();
myatlib->fam_gather_atomic(msg2, item1, 5, indexes, 2);
} catch (Fam_Exception &e) {
Copy link
Contributor

Choose a reason for hiding this comment

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

run git clang-format

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

Successfully merging this pull request may close these issues.

2 participants