You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the README and ref/README, including the Troubleshooting Guide.
I have reviewed existing issues to ensure this has not already been reported.
Describe the bug
The print_state() function is outputting non-standard scientific notation, and incompatible with standards used by other languages (C, C++, Julia) and other printf based I/O.
Observe print_state()'s calls to print_3d_variable() and print_2d_variable() functions. These functions' write statement should be altered to comply with the 'conventional' way that printf represents floating point numbers in scientific notation.
Expected behavior, Screenshots, and terminal output
The current output in scientific notation:
-0.10000000000E-07
printf's equivalent of how this value is expressed in scientific notation:
-1.00000000000E-08
This is what the modified Fortran code should output.
Fortran is the outlier in how scientific notation is expressed. The current output will make it very difficult for others to use baselines for testing.
Not only will the write statements in the print_3d_variable & print_2d_variable functions need to be changed, all of the files within the ref/test/test_output will need alterations to reflect the new scientific notation necessary to comply with future testing of the kernel.
The text was updated successfully, but these errors were encountered:
Issue checklist
Describe the bug
The
print_state()
function is outputting non-standard scientific notation, and incompatible with standards used by other languages (C, C++, Julia) and otherprintf
based I/O.Recipe to reproduce
Steps to reproduce the behavior:
print_state()
's calls toprint_3d_variable()
andprint_2d_variable()
functions. These functions'write
statement should be altered to comply with the 'conventional' way thatprintf
represents floating point numbers in scientific notation.Expected behavior, Screenshots, and terminal output
The current output in scientific notation:
-0.10000000000E-07
printf
's equivalent of how this value is expressed in scientific notation:-1.00000000000E-08
This is what the modified Fortran code should output.
See current test outputs for full context.
Additional context
Fortran is the outlier in how scientific notation is expressed. The current output will make it very difficult for others to use baselines for testing.
Not only will the
write
statements in theprint_3d_variable
&print_2d_variable
functions need to be changed, all of the files within the ref/test/test_output will need alterations to reflect the new scientific notation necessary to comply with future testing of the kernel.The text was updated successfully, but these errors were encountered: