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

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
 
Back
Top