Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Arithmetic Overflow Error in Build CESM 1.2.2.1

freddyzhangy

Freddy Zhang
New Member
Hello,

While trying to build my case in cesm1.2.2.1, I have run into an error that pertains to an arithmetic overflow conversion. I am not really sure how to fix it. Could I get some help with it? I have attached the error message and the macros I am currently using to this post.

Thanks,
Freddy
 

Attachments

  • Macros.txt
    1 KB · Views: 1
  • csm_share.bldlog.200810-182611.txt
    2.5 KB · Views: 5

dbailey

CSEG and Liaisons
Staff member
Did you try disabling the check as in the instructions:

/home/fz8/cesm/cesm1_2_2_1/models/csm_share/shr/shr_test_infnan_mod.F90:53.43:

integer(Single), parameter :: sNegInf = Z"FF800000"
1
Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1). This check can be disabled with the option -fno-range-check
/home/fz8/cesm/cesm1_2_2_1/models/csm_share/shr/shr_test_infnan_mod.F90:58.43:
 

freddyzhangy

Freddy Zhang
New Member
I will take a look into that again. I was afraid that disabling the check might affect something else later on.
Thanks for your help!

Freddy
 
Top