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

History using REAL32 does not appear to write properly #336

Open
cacraigucar opened this issue Dec 12, 2024 · 1 comment
Open

History using REAL32 does not appear to write properly #336

cacraigucar opened this issue Dec 12, 2024 · 1 comment
Labels
bug Something isn't working correctly

Comments

@cacraigucar
Copy link
Collaborator

What happened?

When I was outputting history fields using REAL32, the values written to the history file are incorrect. Simply switching the output to hist_precision;h1: REAL64 solved the problem

What are the steps to reproduce the bug?

Use hist_precision;h1: REAL32 instead of hist_precision;h1: REAL64

What CAM-SIMA hash were you using?

my branch used fd886c

What machine were you running CAM-SIMA on?

CGD machine (e.g. izumi)

What compiler were you using?

GNU

Path to a case directory, if applicable

No response

Will you be addressing this bug yourself?

No

Extra info

No response

@cacraigucar cacraigucar added the bug Something isn't working correctly label Dec 12, 2024
@PeterHjortLauritzen
Copy link
Collaborator

To reproduce issue:

/cluster/anaconda-3.11.5/bin/python3 /home/pel/src/CAM-SIMA-dycore-update/cime/CIME/scripts/create_newcase.py --case /scratch/cluster/pel/CAM-SIMA-FHS94/SMS_D_Ln9.ne16pg3_ne16pg3_mg17.FHS94.izumi_gnu.cam-outfrq_se_cslam.20241213_114345_hg30dr --res ne16pg3_ne16pg3_mg17 --compset FHS94 --test --machine izumi --compiler gnu --output-root /scratch/cluster/pel/CAM-SIMA-FHS94 --workflow default --srcroot /home/pel/src/CAM-SIMA-dycore-update --user-mods-dir /home/pel/src/CAM-SIMA-dycore-update/cime_config/testdefs/testmods_dirs/cam/outfrq_se_cslam

I used my own branch but same result with the head of CAM-SIMA (as of 12/14/2024)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

2 participants