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

fix #24, update ex3 to ex5 (hdf5) #27

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jmorice91
Copy link

No description provided.

@jmorice91 jmorice91 self-assigned this Nov 25, 2024
@jmorice91 jmorice91 linked an issue Nov 25, 2024 that may be closed by this pull request
ex5.yml Outdated
when: '$ii>0 & ' # `&' is a local `and' operation
#*** enable the output upon the event
#...
#*** enable the output when ii>0 and ii<3 (`&` is a local `and` operation )
Copy link
Member

Choose a reason for hiding this comment

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

I don't remember why we put "local" here. Now it seems confusing...

Copy link

Choose a reason for hiding this comment

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

The solution of ex5.yml instead mentions a "logical" operation, it must be a typographical error.

README.md Outdated Show resolved Hide resolved
Co-authored-by: yushan wang <[email protected]>
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
ex5.yml Outdated
when: '$ii>0 & ' # `&' is a local `and' operation
#*** enable the output upon the event
#...
#*** enable the output when ii>0 and ii<3 (`&` is a local `and` operation )
Copy link

Choose a reason for hiding this comment

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

The solution of ex5.yml instead mentions a "logical" operation, it must be a typographical error.

PDI_share("pcoord", pcoord, PDI_OUT);
PDI_reclaim("pcoord");
PDI_share("dsize", dsize, PDI_OUT);
PDI_reclaim("dsize");
PDI_share("psize", psize, PDI_OUT);
PDI_reclaim("psize");
PDI_share("main_field", cur, PDI_OUT);
PDI_reclaim("main_field");


// the main loop
for (; ii<10; ++ii) {
Copy link

Choose a reason for hiding this comment

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

May prefer less iterations to help with log readability.

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.

tutorial update: hdf5_ex3_to_ex5
3 participants