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 output when fluid2d runs on multiple cores #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kegelkugel
Copy link
Collaborator

When fluid2d runs on multiple cores, the name of the his file displayed
at the end was wrong. The filename that was printed after the
simulation finished was the name of one of the his-files which was
joined into one big his-file and then removed. With this commit,
fluid2d prints the correct name of the his-file after the run even when
using multiple cores. The same is true for the flux file.

Creating an mp4-file while fluid2d runs on multiple cores was possible
so far, however, it resulted in the creation of just one file which
shows only some part of the domain, not fully. Therefore it was only
limited usefully. Furthermore it led to a crash, since several
fluid2d-processes called "finalize" on the same file. Also creating an
mp4-file, which is not really helpful wastes resouces. Therefore, this
commit disables the possbility to generate mp4s when fluid2d runs on
multiple cores. A warning is printed instead.

The member variables of Output hisfile_joined and flxfile_joined were
unused and are now removed.

When fluid2d runs on multiple cores, the name of the his file displayed
at the end was wrong.  The filename that was printed after the
simulation finished was the name of one of the his-files which was
joined into one big his-file and then removed.  With this commit,
fluid2d prints the correct name of the his-file after the run even when
using multiple cores.  The same is true for the flux file.

Creating an mp4-file while fluid2d runs on multiple cores was possible
so far, however, it resulted in the creation of just one file which
shows only some part of the domain, not fully.  Therefore it was only
limited usefully.  Furthermore it led to a crash, since several
fluid2d-processes called "finalize" on the same file.  Also creating an
mp4-file, which is not really helpful wastes resouces.  Therefore, this
commit disables the possbility to generate mp4s when fluid2d runs on
multiple cores.  A warning is printed instead.

The member variables of Output hisfile_joined and flxfile_joined were
unused and are now removed.
@kegelkugel kegelkugel requested a review from pvthinker June 13, 2019 13:05
@kegelkugel kegelkugel added the bug label Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant