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

Writing displacement to VTU with double precision output = true #5

Open
annajcrawford opened this issue Jan 5, 2021 · 3 comments
Open

Comments

@annajcrawford
Copy link
Collaborator

Computing system (please complete the following information):

  • Machine name: Mahti and Archer

Issue Type
Is this issue:
'procedural': VTU files not writing properly

Error message or symptoms:
When bringing into Paraview this message is given:
image

A similar message is given when trying to work in Python.

Describe the context
I am modifying the io.f90 and wave2.f90 code to write out two additional variables to the STR files. I found that I need to set Double Precision Output = TRUE for these modifications. However, setting this to TRUE does not allow the VTU files to write properly. I am working on the modifications on Mahti but also tried simply setting Double Precision Output = TRUE on old successful sims on Archer to check that it wasn't an issue with the Mahti environment.

Expected behavior
Displacement be written to the VTU files correctly with Double Precision Output set to True.

Files
Nothing was written to the error log. Example files are in this Dropbox folder: https://www.dropbox.com/sh/h4wgd8v7d7ircb9/AADKwTZU1Gp6phPzg8PvJIuna?dl=0

@joeatodd
Copy link
Owner

joeatodd commented Jan 5, 2021

If I run the test case with "Double Precision Output = True" I get reasonable output for the first timestep (running on local machine so no chance of making any actual progress through the simulation).

Can you show me what other modifications you've made to the code (perhaps by making your own branch and pushing it)?

@annajcrawford
Copy link
Collaborator Author

annajcrawford commented Jan 5, 2021 via email

@joeatodd
Copy link
Owner

joeatodd commented Jan 6, 2021

This was a bug with the use of MPI_File_Set_View, should be fixed in commit ebae424

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

No branches or pull requests

2 participants