Error compiling LIS #1202
Unanswered
srikar-iist
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have successfully configured LIS but compiling is an issue due to the following error.
:
mpiifort -c -O2 -u -traceback -fpe0 -nomixed_str_len_arg -names lowercase -convert big_endian -assume byterecl -DSPMD -DHIDE_SHR_MSG -DNO_SHR_VMATH -DIFC -DLINUX -I/projects/iist01/parent/LIS/depend/esmf/esmf/mod/modO/Linux.intel.64.intelmpi.default -DUSE_INCLUDE_MPI -I/projects/iist01/parent/LIS/depend/include/ -I/projects/iist01/parent/LIS/depend/include/ -I/projects/iist01/parent/LIS/depend/include/ -I/projects/iist01/parent/LIS/depend/include/ -I/projects/iist01/parent/LIS/depend/include/ -DLIS_JULES -I./ -I../core/ -I../params/gfrac/SPORTDaily/ -I../params/gfrac/VIIRSDaily/ -I../surfacemodels/land/vic.4.1.1/ -I../surfacemodels/land/vic.4.1.1/physics/ -I../surfacemodels/land/vic.4.1.2.l/ -I../surfacemodels/land/vic.4.1.2.l/physics/ -I../surfacemodels/land/awral.6.0.0/physics/ -I../surfacemodels/land/rdhm.3.5.6/ -I../surfacemodels/land/rdhm.3.5.6/sac/ -I../surfacemodels/land/rdhm.3.5.6/frz/ -I../surfacemodels/land/rdhm.3.5.6/snow17/ -I../surfacemodels/land/rdhm.3.5.6/sachtet/ ../core/LIS_DAobservationsMod.F90
../core/LIS_DAobservationsMod.F90(38): error #7013: This module file was not generated by any release of this compiler. [NETCDF]
use netcdf
------^
../core/LIS_DAobservationsMod.F90(519): error #6632: Keyword arguments are invalid without an explicit interface. [PATH]
ios = nf90_open(path=LIS_rc%obsdomainFile(k),&
-----------------------------^
../core/LIS_DAobservationsMod.F90(520): error #6632: Keyword arguments are invalid without an explicit interface. [MODE]
mode=NF90_NOWRITE,ncid=ftn)
------------------^
../core/LIS_DAobservationsMod.F90(520): error #6404: This name does not have a type, and must have an explicit type. [NF90_NOWRITE]
mode=NF90_NOWRITE,ncid=ftn)
-----------------------^
../core/LIS_DAobservationsMod.F90(520): error #6632: Keyword arguments are invalid without an explicit interface. [NCID]
mode=NF90_NOWRITE,ncid=ftn)
------------------------------------^
../core/LIS_DAobservationsMod.F90(519): error #6404: This name does not have a type, and must have an explicit type. [NF90_OPEN]
ios = nf90_open(path=LIS_rc%obsdomainFile(k),&
-------------------^
../core/LIS_DAobservationsMod.F90(523): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQ_DIMID]
ios = nf90_inq_dimid(ftn,"east_west",ncId)
-------------------^
../core/LIS_DAobservationsMod.F90(531): error #6632: Keyword arguments are invalid without an explicit interface. [LEN]
ios = nf90_inquire_dimension(ftn,ncId, len=gnc)
----------------------------------------------------^
../core/LIS_DAobservationsMod.F90(531): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_DIMENSION]
ios = nf90_inquire_dimension(ftn,ncId, len=gnc)
-------------------^
../core/LIS_DAobservationsMod.F90(535): error #6632: Keyword arguments are invalid without an explicit interface. [LEN]
ios = nf90_inquire_dimension(ftn,nrId, len=gnr)
----------------------------------------------------^
../core/LIS_DAobservationsMod.F90(544): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQ_VARID]
ios = nf90_inq_varid(ftn,'lat',latid)
-------------------^
../core/LIS_DAobservationsMod.F90(552): error #6404: This name does not have a type, and must have an explicit type. [NF90_GET_VAR]
ios = nf90_get_var(ftn,latid,lat)
-------------------^
../core/LIS_DAobservationsMod.F90(560): error #6404: This name does not have a type, and must have an explicit type. [NF90_GLOBAL]
ios = nf90_get_att(ftn, NF90_GLOBAL, 'MAP_PROJECTION',map_proj)
-------------------------------------^
../core/LIS_DAobservationsMod.F90(560): error #6404: This name does not have a type, and must have an explicit type. [NF90_GET_ATT]
ios = nf90_get_att(ftn, NF90_GLOBAL, 'MAP_PROJECTION',map_proj)
-------------------^
../core/LIS_DAobservationsMod.F90(1004): error #6632: Keyword arguments are invalid without an explicit interface. [PATH]
ios = nf90_open(path=trim(LIS_rc%obsDomainFile(k)),&
-----------------------------^
../core/LIS_DAobservationsMod.F90(1005): error #6632: Keyword arguments are invalid without an explicit interface. [MODE]
mode=NF90_NOWRITE,ncid=nid)
------------------^
../core/LIS_DAobservationsMod.F90(1005): error #6632: Keyword arguments are invalid without an explicit interface. [NCID]
mode=NF90_NOWRITE,ncid=nid)
------------------------------------^
../core/LIS_DAobservationsMod.F90(1004): error #6404: This name does not have a type, and must have an explicit type. [NF90_OPEN]
ios = nf90_open(path=trim(LIS_rc%obsDomainFile(k)),&
-------------------^
../core/LIS_DAobservationsMod.F90(1008): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQ_DIMID]
ios = nf90_inq_dimid(nid,"east_west",ncId)
-------------------^
../core/LIS_DAobservationsMod.F90(1014): error #6632: Keyword arguments are invalid without an explicit interface. [LEN]
ios = nf90_inquire_dimension(nid,ncId, len=nc)
----------------------------------------------------^
../core/LIS_DAobservationsMod.F90(1014): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_DIMENSION]
ios = nf90_inquire_dimension(nid,ncId, len=nc)
-------------------^
../core/LIS_DAobservationsMod.F90(1018): error #6632: Keyword arguments are invalid without an explicit interface. [LEN]
ios = nf90_inquire_dimension(nid,nrId, len=nr)
----------------------------------------------------^
../core/LIS_DAobservationsMod.F90(1022): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQ_VARID]
ios = nf90_inq_varid(nid,"LANDMASK",maskid)
-------------------^
../core/LIS_DAobservationsMod.F90(1025): error #6404: This name does not have a type, and must have an explicit type. [NF90_GET_VAR]
ios = nf90_get_var(nid,maskid,LIS_obs_domain(n,k)%landmask)
-------------------^
../core/LIS_DAobservationsMod.F90(1028): error #6404: This name does not have a type, and must have an explicit type. [NF90_CLOSE]
ios = nf90_close(nid)
-------------------^
../core/LIS_DAobservationsMod.F90(2149): error #6404: This name does not have a type, and must have an explicit type. [NF90_PUT_VAR]
ierr = nf90_put_var(ftn,varid,gtmp1,(/1,1,1/),&
-----------------^
compilation aborted for ../core/LIS_DAobservationsMod.F90 (code 1)
make: *** [LIS_DAobservationsMod.o] Error 1
[ERR] Compile failed
My env are :
export LIS_ARCH=linux_ifc
export LIS_FC=mpiifort
export LIS_CC=mpiicc
export LIS_MODESMF=/projects/iist01/parent/LIS/depend/esmf/esmf/mod/modO/Linux.intel.64.intelmpi.default
export LIS_LIBESMF=/projects/iist01/parent/LIS/depend/esmf/esmf/lib/libO/Linux.intel.64.intelmpi.default
export LIS_ECCODES=/projects/iist01/parent/LIS/depend
export LIS_NETCDF=/projects/iist01/parent/LIS/depend
export LIS_HDF4=/projects/iist01/parent/LIS/depend
export LIS_HDFEOS=/projects/iist01/parent/LIS/depend
export LIS_HDF5=/projects/iist01/parent/LIS/depend
export LIS_JASPER=/projects/iist01/parent/LIS/depend
export LD_LIBRARY_PATH=$LIS_HDF5/lib:$LIS_LIBESMF:$LIS_NETCDF/lib:$LIS_ECCODES/lib:$LIS_HDFEOS/lib:$LIS_HDF4/lib:$LD_LIBRARY_PATH
My configure .lis file is as follows:
FC = mpiifort
FC77 = mpiifort
LD = mpiifort
CC = mpiicc
AR = ar
MOD_ESMF = /projects/iist01/parent/LIS/depend/esmf/esmf/mod/modO/Linux.intel.64.intelmpi.default
LIB_ESMF = /projects/iist01/parent/LIS/depend/esmf/esmf/lib/libO/Linux.intel.64.intelmpi.default
INC_JPEG2000 = /projects/iist01/parent/LIS/depend/include/
LIB_JPEG2000 = /projects/iist01/parent/LIS/depend/lib64/
INC_ECCODES = /projects/iist01/parent/LIS/depend/include/
LIB_ECCODES = /projects/iist01/parent/LIS/depend/lib/
INC_NETCDF = /projects/iist01/parent/LIS/depend/include/
LIB_NETCDF = /projects/iist01/parent/LIS/depend/lib/
INC_HDF4 = /projects/iist01/parent/LIS/depend/include/
LIB_HDF4 = /projects/iist01/parent/LIS/depend/lib/
INC_HDF5 = /projects/iist01/parent/LIS/depend/include/
LIB_HDF5 = /projects/iist01/parent/LIS/depend/lib/
INC_HDFEOS = /projects/iist01/parent/LIS/depend/include/
LIB_HDFEOS = /projects/iist01/parent/LIS/depend/lib/
LIB_MINPACK =
INC_CRTM =
LIB_CRTM =
INC_PROF_UTIL =
LIB_PROF_UTIL =
INC_CMEM =
LIB_CMEM =
LIB_LAPACK =
CFLAGS = -c -traceback -DIFC -DLINUX -DLIS_JULES
FFLAGS77 = -c -O2 -traceback -nomixed_str_len_arg -names lowercase -convert big_endian -assume byterecl -DSPMD -DHIDE_SHR_MSG -DNO_SHR_VMATH -DIFC -DLINUX -I$(MOD_ESMF) -DUSE_INCLUDE_MPI -I$(INC_ECCODES) -I$(INC_NETCDF) -I$(INC_HDFEOS) -I$(INC_HDF4) -I$(INC_HDF5) -DLIS_JULES
FFLAGS = -c -O2 -u -traceback -fpe0 -nomixed_str_len_arg -names lowercase -convert big_endian -assume byterecl -DSPMD -DHIDE_SHR_MSG -DNO_SHR_VMATH -DIFC -DLINUX -I$(MOD_ESMF) -DUSE_INCLUDE_MPI -I$(INC_ECCODES) -I$(INC_NETCDF) -I$(INC_HDFEOS) -I$(INC_HDF4) -I$(INC_HDF5) -DLIS_JULES
LDFLAGS = -L$(LIB_ESMF) -lesmf -lstdc++ -limf -lrt -lmpi -L$(LIB_ECCODES) -leccodes_f90 -leccodes -L$(LIB_JPEG2000) -ljasper -L$(LIB_NETCDF) -lnetcdff -lnetcdf -L$(LIB_HDFEOS) -lhdfeos -lGctp -L$(LIB_HDF4) -lmfhdf -ldf -ljpeg -lz -L$(LIB_HDF5) -lhdf5_fortran -lhdf5_hl -lhdf5 -lz
Beta Was this translation helpful? Give feedback.
All reactions