Thank you. I changed the intel compiler version to intel/14.0.0.080 and the mpi version to mvapich2/1.9. I also installed locally netcdf-4.3.3.1 with hdf5-1.8.9 and zlib-1.2.8. Some new errors occurred. I also attached the env_mach_specific and Macros files for information. ------------------------Tue Jun 30 04:22:28 EDT 2015 /nfs/gpfs/PAS0661/scratch_cesm1_2_2/exe//intel/mpich/nodebug/nothreads/csm_share.bldlog.150630-042218mpif90 -c -I. -I/nfs/gpfs/PAS0661/scratch_cesm1_2_2/exe//intel/mpich/nodebug/nothreads/include -I/nfs/gpfs/PAS0661/scratch_cesm1_2_2/exe//intel/mpich/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/include -I/usr/local/mvapich2/1.9-intel/include -I/nfs/gpfs/PAS0661/scratch_cesm1_2_2/exe//intel/mpich/nodebug/nothreads/include -I/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr -I. -I/nfs/17/osu6925/cesm1_2_2/scripts/test20150623/SourceMods/src.share -I/nfs/17/osu6925/cesm1_2_2/models/drv/shr -I/nfs/17/osu6925/cesm1_2_2/models/dead_share -I/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr -I/nfs/17/osu6925/cesm1_2_2/models/utils/esmf_wrf_timemgr -I/nfs/gpfs/PAS0661/scratch_cesm1_2_2/exe//lib/include -fp-model source -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -O2 -DNUM_COMP_INST_ATM=1 -DNUM_COMP_INST_LND=1 -DNUM_COMP_INST_OCN=1 -DNUM_COMP_INST_ICE=1 -DNUM_COMP_INST_GLC=1 -DNUM_COMP_INST_WAV=1 -DNUM_COMP_INST_ROF=1 -Dlinux -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -Dlinux -DCPRINTEL -free /nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(15): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [NETCDF] use pio------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(40): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareXYabs = 1 ! X,Y relative error----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(41): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareXYrel = 2 ! X,Y absolute error----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(42): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareAreaAbs = 3 ! area relative error----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(43): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareAreaRel = 4 ! area absolute error----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(44): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareMaskIdent = 5 ! masks are identical----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(45): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareMaskZeros = 6 ! masks have same zeros----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(46): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareMaskSubset = 7 ! mask is subset of other----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(50): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareXYabsMask = 101 ! X,Y relative error----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(51): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareXYrelMask = 102 ! X,Y absolute error----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(52): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareAreaAbsMask = 103 ! area relative error----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(53): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareAreaRelMask = 104 ! area absolute error----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(54): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareMaskIdentMask = 105 ! masks are identical----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(55): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareMaskZerosMask = 106 ! masks have same zeros----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(56): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: shr_dmodel_gGridCompareMaskSubsetMask = 107 ! mask is subset of other----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(58): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN),parameter,public :: iotype_std_netcdf = -99 ! non pio option----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(74): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN) , intent(in) :: gsize------------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(75): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN) , intent(in) :: compid------------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(76): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN) , intent(in) :: mpicom------------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(81): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN) :: n,npes,ierr------------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(82): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN), pointer :: start(:) ! for gsmap initialization------------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(83): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN), pointer :: length(:) ! for gsmap initialization------------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(84): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN), pointer :: pe_loc(:) ! for gsmap initialization------------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(136): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN) , intent(out) :: nxgo----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(137): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN) , intent(out) :: nygo----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(139): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN) , intent(in) :: compid----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(140): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN) , intent(in) :: mpicom----------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(149): error #6683: A kind type parameter must be a compile-time constant. [R8] real(R8) ,optional,intent(in) :: scmlon ! single column lon-------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(150): error #6683: A kind type parameter must be a compile-time constant. [R8] real(R8) ,optional,intent(in) :: scmlat ! single column lat-------^/nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90(153): error #6683: A kind type parameter must be a compile-time constant. [IN] integer(IN) :: n,k,j,i ! indices----------^/tmp/ifortOTZKn3.i90(1537): catastrophic error: Too many errors, exitingcompilation aborted for /nfs/17/osu6925/cesm1_2_2/models/csm_share/shr/shr_dmodel_mod.F90 (code 1)gmake: *** [shr_dmodel_mod.o] Error 1gmake complib -j 1 MODEL=csm_share COMPLIB=libcsm_share.a USER_CPPDEFS=" -DNUM_COMP_INST_ATM=1 -DNUM_COMP_INST_LND=1 -DNUM_COMP_INST_OCN=1 -DNUM_COMP_INST_ICE=1 -DNUM_COMP_INST_GLC=1 -DNUM_COMP_INST_WAV=1 -DNUM_COMP_INST_ROF=1" -f /nfs/17/osu6925/cesm1_2_2/scripts/test20150623/Tools/Makefile returned non-zero exit status 2