-
Notifications
You must be signed in to change notification settings - Fork 36
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: Enable Shared Cache Support #511
base: develop
Are you sure you want to change the base?
Conversation
Let's toss the |
nice catch! |
Just for reference, we have this description about shared file access now: There could be other references scattered around. Anyway, once this is done and we know how it works, we can come back to update the docs with usage. Just recording placeholders here for now. |
@@ -586,16 +585,16 @@ int main (int argc, char *argv[]) | |||
/* get the MPI rank of the file */ | |||
value = strndup(entryname + pmatch[1].rm_so, (size_t)(pmatch[1].rm_eo - pmatch[1].rm_so)); | |||
if (value != NULL) { | |||
rank = atoi(value); | |||
int rank = atoi(value); |
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.
@adammoody - clang14 produced some warnings that I fixed. Most were small (like security warnings), but others like this are indicative of a potental bug. I rearranged this slightly so that rank would only be used when it was set. I moved the if block around to what I believe should hopefully be an equivalent of what the inention was previously.
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.
Yep, good catch!
Shared Cache Constraints
Todo Items
Notable Changes: