zhangyi@lasg_iap_ac_cn
Member
I recently run a version of CAM5 model (cesm1_0_4) on an IBM (AIX 7.1) platform, it seems the restart file does not work in a right way. I also ran it on a Linux machine, and experienced no abnormal. The problem follows: For example, when I compare the results between the integration from month 01 to month 05 and the integration from month 01 to month 04, then continue run from 04 to 05, the precipitaion fields in two month 05 are distinct, the distribution pattern are quite different. A succefull restart should require them to be very similar. In such a continue run, lots of "Full positivity moisture is impossible in uwshcu, and soil balance error" warnings occur. In low resolution test, the model can still run forward and gradually turn into balance, but in a high resolution test, clm model stops due to balancecheckerror. So I guess there might be some problems associated with restart file I/O, but I can't find any solution to this, any suggestion is highly appreciated!
P.S.
The code is exactly the same as in cesm1_0_4 code trunk.
The only modification is a few lines in shr_infnan_mod.F90 to please the compiler.
When AIX is defined, there is a line "intrinsic :: IEEE_IS_NAN" in this module, but the compiler(mpxlf90_r) says no such intrinsic function.
So I comment this line, and add a "
", then the model can be compiled successfully.
refer from: http://pic.dhe.ibm.com/infocenter/compbg/v121v141/index.jsp?topic=%2Fcom.ibm.xlf141.bg.doc%2Flanguage_ref%2Fisnan.html
P.S.
The code is exactly the same as in cesm1_0_4 code trunk.
The only modification is a few lines in shr_infnan_mod.F90 to please the compiler.
When AIX is defined, there is a line "intrinsic :: IEEE_IS_NAN" in this module, but the compiler(mpxlf90_r) says no such intrinsic function.
So I comment this line, and add a "
Code:
USE, INTRINSIC :: IEEE_ARITHMETIC
refer from: http://pic.dhe.ibm.com/infocenter/compbg/v121v141/index.jsp?topic=%2Fcom.ibm.xlf141.bg.doc%2Flanguage_ref%2Fisnan.html