zhibo_zhang@umbc_edu
New Member
Hi All, I'm trying to port the new CESM2.1.0 release to our cluster but the case.build step got stuck with a strange problem with CSM_share. Below are some information on our cluster and environment:Compilers: intel icc & ifort & mpiifort 18.0.3Netcdf: netcdf-4.4.1.1 & netcdf-fortran-4.4.4Python 2.7.15job management: Slurm [/list]more details can be found in the xml files. I tried to follow the simple quick start to build the case FHIST using "./create_newcase--casetest_FHIST--resf09_f09_mg17--compsetFHIST". I'm able to create and set up the case. But when I build the case using case.build, it ran into some error when compiling CSM_share. the error is as follows The code generator genf90.pl generates the shr_infnan_mod.F90 from /umbc/xfs1/zzbatmos/common/Codes/cesm2.0.1/cime/src/share/util/shr_infnan_mod.F90.in > shr_infnan_mod.F90 The following codes in shr_infnan_mod.F90.in! Locally defined isnan. #ifndef HAVE_IEEE_ARITHMETIC interface shr_infnan_isnan ! TYPE double,real module procedure shr_infnan_isnan_{TYPE} end interface #endifbecome the following in shr_infnan_mod.F90! Locally defined isnan. #ifndef HAVE_IEEE_ARITHMETIC # 70 "/umbc/xfs1/zzbatmos/common/Codes/cesm2.0.1/cime/src/share/util/shr_infnan_mod.F90.in" interface shr_infnan_isnan ! TYPE double,real module procedure shr_infnan_isnan_double ! TYPE double,real module procedure shr_infnan_isnan_real 1end interface #endif Somehow, the compiler doesn't know how to handle these lines and gave the error /umbc/xfs1/zzbatmos/common/Codes/cesm2.0.1/cime/src/share/util/shr_infnan_mod.F90.in(72): error #7950: Procedure name in MODULE PROCEDURE statement must be the name of accessible module procedure. [SHR_INFNAN_ISNAN_DOUBLE] module procedure shr_infnan_isnan_double --------------------^ /umbc/xfs1/zzbatmos/common/Codes/cesm2.0.1/cime/src/share/util/shr_infnan_mod.F90.in(74): error #7950: Procedure name in MODULE PROCEDURE statement must be the name of accessible module procedure. [SHR_INFNAN_ISNAN_REAL] module procedure shr_infnan_isnan_real --------------------^ /umbc/xfs1/zzbatmos/common/Codes/cesm2.0.1/cime/src/share/util/shr_infnan_mod.F90.in(72): error #7407: Unresolved MODULE PROCEDURE specification name. [SHR_INFNAN_ISNAN_DOUBLE] module procedure shr_infnan_isnan_double --------------------^ /umbc/xfs1/zzbatmos/common/Codes/cesm2.0.1/cime/src/share/util/shr_infnan_mod.F90.in(74): error #7407: Unresolved MODULE PROCEDURE specification name. [SHR_INFNAN_ISNAN_REAL] module procedure shr_infnan_isnan_real Anyone had the same problem? Any help/suggestion is highly appreciated! Thank you very much!