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

svpost crashes when using the -nonbinary option. #97

Open
ktbolt opened this issue Feb 26, 2021 · 1 comment
Open

svpost crashes when using the -nonbinary option. #97

ktbolt opened this issue Feb 26, 2021 · 1 comment
Assignees
Labels

Comments

@ktbolt
Copy link
Contributor

ktbolt commented Feb 26, 2021

The svpost program has a -nonbinary option to convert results to VTK ASCII format. However, using this option causes svpost to crash with

Will reduce all available data
Opening 4-procs_case/restart.100.1 to scan for number of variables...
Opening 4-procs_case/geombc.dat.1 to scan for number of processors and global modes...
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc

The -vis option does work, converts results to Spectrum Visualizer (!) ASCII results.

And I can only wonder why the -nonbinary option is not named -ascii.

@ktbolt ktbolt added the bug label Feb 26, 2021
@ktbolt ktbolt self-assigned this Feb 26, 2021
@ktbolt
Copy link
Contributor Author

ktbolt commented Feb 26, 2021

The -nonbinary option description is Read/Write files in ASCII format so the crash occurs because svpost is trying to read simulation results in ASCII format.

It seems that the -nonbinary option is not used to write VTK ASCII files as I thought it might.

I'm not sure how useful this option is since results must be in ASCII to write results in ASCII. It would be nice to write results to VTK ASCII files.

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

No branches or pull requests

1 participant