I recently changed the NetCDF install path. I changed the macros file and the set a couple of environment variables. The macros file is:[nitin@master case_B_f19_g16_userdefined_2]$ cat ./Macros## Makefile Macros generated from /storage/home/nitin/CESM/cesm1_2_2/scripts/ccsm_utils/Machines/config_compilers.xml using# COMPILER=intel# OS=LINUX# MACH=userdefined#CPPDEFS+= -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL SLIBS+= -L/storage/softwares/installedsoftware/netcdfF-install/lib -L/storage/softwares/installedsoftware/netcdfF-install/ -L/storage/softwares/installedsoftware/netcdfF-install/include -lnetcdff CFLAGS:= -O2 -fp-model precise CONFIG_ARGS:= CXX_LDFLAGS:= -cxxlib CXX_LINKER:=FORTRAN ESMF_LIBDIR:= FC_AUTO_R8:= -r8 FFLAGS:= -fp-model source -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs FFLAGS_NOOPT:= -O0 FIXEDFLAGS:= -fixed -132 FREEFLAGS:= -free MPICC:= mpiicc MPICXX:= mpiicc MPIFC:= mpiifort MPI_LIB_NAME:= MPI_PATH:= /opt/intel/impi/4.1.3.048/intel64 NETCDF_PATH:= /storage/softwares/installedsoftware/netcdfF-install/ PNETCDF_PATH:= SCC:= icc SCXX:= icpc SFC:= ifort SUPPORTS_CXX:=TRUE ifeq ($(DEBUG), TRUE) FFLAGS += -O0 -g -check uninit -check bounds -check pointers -fpe0endif ifeq ($(DEBUG), FALSE) FFLAGS += -O2endif ifeq ($(compile_threaded), true) LDFLAGS += -openmp CFLAGS += -openmp FFLAGS += -openmpendif ifeq ($(MODEL), pop2) CPPDEFS += -D_USE_FLOW_CONTROLendif The environement variables used are as follows:export PERL_LOCAL_LIB_ROOT=/usr/lib64/perl5/XMLexport PATH=/usr/lib64/perl5/XML:/usr/lib64:$PATHexport PERL5LIB=/usr/lib64/perl5/XML:/usr/lib64:$PERL5LIBexport NETCDF_PATH=/storage/softwares/installedsoftware/netcdfF-install:/storage/softwares/installedsoftware/netcdfC-install:$NETCDF_PATHexport LD_LIBRARY_PATH=/storage/softwares/installedsoftware/netcdfC-install/lib:/storage/softwares/installedsoftware/netcdfF-install/lib:$LD_LIBRARY_PATHexport LD_INCLUDE_PATH=/storage/softwares/installedsoftware/netcdfC-install/include:/storage/softwares/installedsoftware/netcdfF-install/include:/usr/lib64/perl5/XML/:$LD_INCLUDE_PATHexport CPPFLAGS=-I/storage/softwares/installedsoftware/netcdfC-install/includeexport LDFLAGS=-L/storage/softwares/installedsoftware/netcdfC-install/lib:-L/storage/softwares/installedsoftware/netcdfC-install:-L/storage/softwares/installedsoftware/netcdfF-install:-L/storage/softwares/installedsoftware/netcdfF-install/lib The macros file is as follows[nitin@master case_B_f19_g16_userdefined_2]$ cat Macros## Makefile Macros generated from /storage/home/nitin/CESM/cesm1_2_2/scripts/ccsm_utils/Machines/config_compilers.xml using# COMPILER=intel# OS=LINUX# MACH=userdefined#CPPDEFS+= -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL SLIBS+= -L/storage/softwares/installedsoftware/netcdfF-install/lib -L/storage/softwares/installedsoftware/netcdfF-install/ -L/storage/softwares/installedsoftware/netcdfF-install/include -lnetcdff CFLAGS:= -O2 -fp-model precise CONFIG_ARGS:= CXX_LDFLAGS:= -cxxlib CXX_LINKER:=FORTRAN ESMF_LIBDIR:= FC_AUTO_R8:= -r8 FFLAGS:= -fp-model source -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs FFLAGS_NOOPT:= -O0 FIXEDFLAGS:= -fixed -132 FREEFLAGS:= -free MPICC:= mpiicc MPICXX:= mpiicc MPIFC:= mpiifort MPI_LIB_NAME:= MPI_PATH:= /opt/intel/impi/4.1.3.048/intel64 NETCDF_PATH:= /storage/softwares/installedsoftware/netcdfF-install/lib/ PNETCDF_PATH:= SCC:= icc SCXX:= icpc SFC:= ifort SUPPORTS_CXX:=TRUE ifeq ($(DEBUG), TRUE) FFLAGS += -O0 -g -check uninit -check bounds -check pointers -fpe0endif ifeq ($(DEBUG), FALSE) FFLAGS += -O2endif ifeq ($(compile_threaded), true) LDFLAGS += -openmp CFLAGS += -openmp FFLAGS += -openmpendif ifeq ($(MODEL), pop2) CPPDEFS += -D_USE_FLOW_CONTROLendif The error shown when I build the case is as follows:[nitin@master case_B_f19_g16_userdefined_2]$ ./case_B_f19_g16_userdefined_2.build------------------------------------------------------------------------- CESM BUILDNML SCRIPT STARTING - To prestage restarts, untar a restart.tar file into /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/Run/ infile is /storage/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/Buildconf/cplconf/cesm_namelistCAM writing dry deposition namelist to drv_flds_inCAM writing namelist to atm_inCLM configure done.CLM adding use_case 2000_control defaults for var sim_year with val 2000CLM adding use_case 2000_control defaults for var sim_year_range with val constantCLM adding use_case 2000_control defaults for var use_case_desc with val Conditions to simulate 2000 land-useCICE configure done.POP2 build-namelist: ocn_grid is gx1v6POP2 build-namelist: ocn_tracer_modules are iage CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY-------------------------------------------------------------------------------------------------------------------------------------------------- CESM PRESTAGE SCRIPT STARTING - Case input data directory, DIN_LOC_ROOT, is /home/nitin/CESM/cesm1_2_2/input_data - Checking the existence of input datasets in DIN_LOC_ROOT CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY-------------------------------------------------------------------------------------------------------------------------------------------------- CESM BUILDEXE SCRIPT STARTINGrm: No match. COMPILER is intel - Build Libraries: mct gptl pio csm_shareTue Dec 16 20:41:50 IST 2014 /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/mct.bldlog.141216-204143Tue Dec 16 20:41:51 IST 2014 /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/gptl.bldlog.141216-204143Tue Dec 16 20:41:51 IST 2014 /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/pio.bldlog.141216-204143Tue Dec 16 20:41:52 IST 2014 /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/csm_share.bldlog.141216-204143Tue Dec 16 20:41:52 IST 2014 /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/atm.bldlog.141216-204143ERROR: cam.buildexe.csh failed, see /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/atm.bldlog.141216-204143ERROR: cat /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/atm.bldlog.141216-204143 The log file shows the following error [nitin@master case_B_f19_g16_userdefined_2]$ cat /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/atm.bldlog.141216-204143Tue Dec 16 20:41:52 IST 2014 /home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/atm.bldlog.141216-204143mpiifort -c -I. -I/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/include -I/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/storage/softwares/installedsoftware/netcdfF-install/lib/ /include -I/opt/intel/impi/4.1.3.048/intel64/include -I/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/include -I/storage/home/nitin/CESM/cesm1_2_2/models/csm_share/shr -I. -I/storage/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/SourceMods/src.cam -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/pp_none -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/mozart -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/bulk_aero -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/utils -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/physics/cam -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/utils/pilgrim -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/cpl_mct -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/cpl_share -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/utils -I/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/lib/include -fp-model source -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -O2 -DCO2A -DMAXPATCH_PFT=numpft+1 -DLSMLAT=1 -DLSMLON=1 -DPLON=144 -DPLAT=96 -DPLEV=26 -DPCNST=3 -DPCOLS=16 -DPSUBCOLS=1 -DPTRM=1 -DPTRN=1 -DPTRK=1 -DSTAGGERED -DSPMD -DLINUX -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -free /storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/utils/pilgrim/decompmodule.F90mpiifort -c -I. -I/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/include -I/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/storage/softwares/installedsoftware/netcdfF-install/lib/ /include -I/opt/intel/impi/4.1.3.048/intel64/include -I/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/intel/impi/nodebug/nothreads/include -I/storage/home/nitin/CESM/cesm1_2_2/models/csm_share/shr -I. -I/storage/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/SourceMods/src.cam -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/pp_none -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/mozart -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/bulk_aero -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/utils -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/physics/cam -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/utils/pilgrim -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/cpl_mct -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/cpl_share -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control -I/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/utils -I/home/nitin/CESM/cesm1_2_2/nitin_cases/case_B_f19_g16_userdefined_2/lib/include -fp-model source -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -O2 -DCO2A -DMAXPATCH_PFT=numpft+1 -DLSMLAT=1 -DLSMLON=1 -DPLON=144 -DPLAT=96 -DPLEV=26 -DPCNST=3 -DPCOLS=16 -DPSUBCOLS=1 -DPTRM=1 -DPTRN=1 -DPTRK=1 -DSTAGGERED -DSPMD -DLINUX -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -free /storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/pp_none/mo_rxt_rates_conv.F90ifort: error #10236: File not found: '/include'/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/error_messages.F90(96): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [NETCDF] use netcdf---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/error_messages.F90(106): error #6404: This name does not have a type, and must have an explicit type. [NF90_NOERR] if ( ret .ne. NF90_NOERR ) then--------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/error_messages.F90(112): error #6404: This name does not have a type, and must have an explicit type. [NF90_STRERROR] write(iulog,*) nf90_strerror( ret )------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(16): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [NETCDF] use netcdf------^compilation aborted for /storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/error_messages.F90 (code 1)/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(43): error #6404: This name does not have a type, and must have an explicit type. [NF90_REDEF] ret = nf90_redef (nfid)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(44): error #6404: This name does not have a type, and must have an explicit type. [NF90_NOERR] if (ret/=NF90_NOERR) call handle_error (ret)------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(57): error #6404: This name does not have a type, and must have an explicit type. [NF90_ENDDEF] ret = nf90_enddef (nfid)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(78): error #6404: This name does not have a type, and must have an explicit type. [NF90_CREATE] ret = nf90_create (path, cmode, ncid)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(99): error #6632: Keyword arguments are invalid without an explicit interface. [UNLIMITEDDIMID] ret = nf90_inquire(nfid, unlimitedDimId=dimid)-----------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(99): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE] ret = nf90_inquire(nfid, unlimitedDimId=dimid)----------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(119): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_DIMENSION] ret = nf90_inquire_dimension (nfid, dimid, dimname, dimlen)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(139): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE] ret = nf90_inquire (nfid, nvars)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(158): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE] ret = nf90_inquire(nfid, ndims)---------^gmake: *** [error_messages.o] Error 1/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(181): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQ_DIMID] ret = nf90_inq_dimid (nfid, dimname, dimid)---------^gmake: *** Waiting for unfinished jobs..../storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(183): error #6404: This name does not have a type, and must have an explicit type. [NF90_EBADDIM] if (ret/=NF90_EBADDIM) call handle_error (ret)------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(206): error #6632: Keyword arguments are invalid without an explicit interface. [LEN] ret = nf90_inquire_dimension (nfid, dimid, len=dimlen)----------------------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(206): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_DIMENSION] ret = nf90_inquire_dimension (nfid, dimid, len=dimlen)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(228): error #6632: Keyword arguments are invalid without an explicit interface. [DIMIDS] ret = nf90_inquire_variable (nfid, varid, dimids=dimids)---------------------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(228): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_VARIABLE] ret = nf90_inquire_variable (nfid, varid, dimids=dimids)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(250): error #6632: Keyword arguments are invalid without an explicit interface. [NDIMS] ret = nf90_inquire_variable (nfid, varid, ndims=ndims)---------------------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(250): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_VARIABLE] ret = nf90_inquire_variable (nfid, varid, ndims=ndims)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(274): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQ_VARID] ret = nf90_inq_varid (nfid, varname, varid)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(313): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_VARIABLE] ret = nf90_inquire_variable (nfid, varid, varname, xtype, ndims, dimids, &---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(336): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_VARIABLE] ret = nf90_inquire_variable(nfid, varid, varname)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(359): error #6404: This name does not have a type, and must have an explicit type. [NF90_GET_ATT] ret = nf90_get_att(nfid, varid, attname, atttext)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(390): error #6404: This name does not have a type, and must have an explicit type. [NF90_PUT_ATT] ret = nf90_put_att(nfid, varid, attname, atttext)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(416): error #6404: This name does not have a type, and must have an explicit type. [NF90_PUT_ATT] ret = nf90_put_att(nfid, varid, attname, attval)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(437): error #6404: This name does not have a type, and must have an explicit type. [NF90_DEF_DIM] ret = nf90_def_dim (nfid, dimname, len, dimid)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(462): error #6404: This name does not have a type, and must have an explicit type. [NF90_DEF_VAR] ret = nf90_def_var(nfid, name, xtype, vdims, varid)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(484): error #6404: This name does not have a type, and must have an explicit type. [NF90_GET_VAR] ret = nf90_get_var (nfid, varid, arr)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(509): error #6404: This name does not have a type, and must have an explicit type. [NF90_GET_VAR] ret = nf90_get_var (nfid, varid, arr)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(534): error #6404: This name does not have a type, and must have an explicit type. [NF90_GET_VAR] ret = nf90_get_var (nfid, varid, x)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90(559): error #6404: This name does not have a type, and must have an explicit type. [NF90_GET_VAR] ret = nf90_get_var (nfid, varid, arr)---------^/tmp/ifortXzNGI9.i90(923): catastrophic error: Too many errors, exitingcompilation aborted for /storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/control/wrap_nf.F90 (code 1)gmake: *** [wrap_nf.o] Error 1/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(16): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [NETCDF] use pio, only : file_desc_t--------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(17): error #6406: Conflicting attributes or multiple declaration of name. [FILE_DESC_T] type(file_desc_t) :: file---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(40): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [NETCDF] use pio, only : file_desc_t, var_desc_t--------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(43): error #6406: Conflicting attributes or multiple declaration of name. [FILE_DESC_T] type(file_desc_t), intent(inout) :: File---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(44): error #6406: Conflicting attributes or multiple declaration of name. [VAR_DESC_T] type(var_desc_t), intent(inout) :: varid---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(45): error #6683: A kind type parameter must be a compile-time constant. [R8] real(r8), intent(in) :: fld(:,:,:)---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(55): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [NETCDF] use pio, only : file_desc_t, var_desc_t--------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(57): error #6406: Conflicting attributes or multiple declaration of name. [FILE_DESC_T] type(file_desc_t), intent(inout) :: File---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(58): error #6406: Conflicting attributes or multiple declaration of name. [VAR_DESC_T] type(var_desc_t), intent(inout) :: varidu, varidv---------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(15): error #6404: This name does not have a type, and must have an explicit type. [FILE] subroutine add_interp_attributes(file)-----------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(16): error #6580: Name in only-list does not exist. [FILE_DESC_T] use pio, only : file_desc_t--------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(39): error #6404: This name does not have a type, and must have an explicit type. [FILE] subroutine write_interpolated_scalar(File, varid, fld, numlev, data_type, decomp_type)---------------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(41): error #6581: Unresolved rename. [R8] use shr_kind_mod, only : r8=>shr_kind_r8-----------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(39): error #6404: This name does not have a type, and must have an explicit type. [VARID] subroutine write_interpolated_scalar(File, varid, fld, numlev, data_type, decomp_type)---------------------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(40): error #6580: Name in only-list does not exist. [FILE_DESC_T] use pio, only : file_desc_t, var_desc_t--------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(40): error #6580: Name in only-list does not exist. [VAR_DESC_T] use pio, only : file_desc_t, var_desc_t---------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(54): error #6404: This name does not have a type, and must have an explicit type. [FILE] subroutine write_interpolated_vector(File, varidu, varidv, fldu, fldv, numlev, data_type, decomp_type)---------------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(54): error #6404: This name does not have a type, and must have an explicit type. [VARIDU] subroutine write_interpolated_vector(File, varidu, varidv, fldu, fldv, numlev, data_type, decomp_type)---------------------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(54): error #6404: This name does not have a type, and must have an explicit type. [VARIDV] subroutine write_interpolated_vector(File, varidu, varidv, fldu, fldv, numlev, data_type, decomp_type)-----------------------------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(55): error #6580: Name in only-list does not exist. [FILE_DESC_T] use pio, only : file_desc_t, var_desc_t--------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(55): error #6580: Name in only-list does not exist. [VAR_DESC_T] use pio, only : file_desc_t, var_desc_t---------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(76): warning #6178: The return value of this FUNCTION has not been defined. [THISLAT] function get_interp_lat() result(thislat)-----------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90(82): warning #6178: The return value of this FUNCTION has not been defined. [THISLON] function get_interp_lon() result(thislon)-----------------------------------^compilation aborted for /storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/dynamics/fv/interp_mod.F90 (code 1)gmake: *** [interp_mod.o] Error 1ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'ifort: error #10236: File not found: '/include'gmake: *** [pbl_utils.o] Error 1gmake: *** [quicksort.o] Error 1gmake: *** [m_sad_data.o] Error 1/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/pp_none/mo_prod_loss.F90(37): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [PROD] subroutine imp_prod_loss( prod, loss, y, rxt, het_rates )--------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/pp_none/mo_prod_loss.F90(18): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [PROD] subroutine exp_prod_loss( prod, loss, y, rxt, het_rates )--------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/pp_none/mo_prod_loss.F90(37): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [LOSS] subroutine imp_prod_loss( prod, loss, y, rxt, het_rates )--------------------------------------^/storage/home/nitin/CESM/cesm1_2_2/models/atm/cam/src/chemistry/pp_none/mo_prod_loss.F90(18): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [LOSS] subroutine exp_prod_loss( prod, loss, y, rxt, het_rates )--------------------------------------^gmake: *** [mo_adjrxt.o] Error 1gmake: *** [m_spc_id.o] Error 1gmake: *** [mo_indprd.o] Error 1gmake: *** [mo_prod_loss.o] Error 1gmake: *** [trb_mtn_stress.o] Error 1gmake: *** [spehox.o] Error 1gmake: *** [spmd_utils.o] Error 1gmake: *** [sv_decomp.o] Error 1gmake: *** [decompmodule.o] Error 1gmake: *** [mo_rxt_rates_conv.o] Error 1
-I/storage/softwares/installedsoftware/netcdfF-install/lib/ /include MPIFORT uses the following path and is unable to find /include directory. Where exactly do I need to specify the path for /include?
Thanks,Nitin