[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #ICU-822733]: Reporting Problems: netcdf with intel fortran compiler v.11



Hi Dessy,

> I would like to reporting problems as followings:
> Currently we are trying to use netcdf on new server with compiler ifort 
> (IFORT) 11.1 20101201.
> We ask our administrator to install netcdf to support the output of COHERENS 
> V2.4.1.
> After he installed the netcdf-4.1.3, we couldn't succeed compiling.
> There were so many errors if I'm using the netcdf v.4.1.3 as followings:
   ...
> ifort -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic 
> -DCDFÂ -c ./cf90_routines.f90 -o cf90_routines.o
> cf90_routines.f90(37): error #7013: This module file was not generated by any 
> release of this compiler.ÂÂ [NETCDF]
> ÂÂ USE netcdf
> -------^

From this first error below (which leads to all the other errors), it looks 
like either

  - netCDF 4.1.3 was built using a different Fortran 90 compiler than ifort, for
    example gfortran or g95
  - the Fortran-90 module file, netcdf.mod, created when compiling netCDF 4.1.3 
was 
    installed in a different location than /usr/local/include.

Can you check if either of the above are the cause of the problem?

--Russ

> address@hidden out03]$ make linux-iforts
> make coherens "FC=ifort" "FCOPTS=-cpp1 -i-dynamic" \
> ÂÂÂÂÂÂÂ "FCDEFS=-DCDF" "FCDEBUG=" \
> ÂÂÂÂÂÂÂ "FCIFLAGS_COMP=-Wl,-rpath=/usr/local/intel/lib" \
> ÂÂÂÂÂÂÂ "CPP=" "address@hidden" "CPPOPTS=" "CPPDEFS="
> make[1]: Entering directory `/home/dessy/mac/out03'
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/currents.f90 -o currents.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/syspars.f90 -o syspars.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/datatypes.f90 -o datatypes.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/density.f90 -o density.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/depths.f90 -o depths.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/diffusion.f90 -o diffusion.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/fluxes.f90 -o fluxes.o
> ifort -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic 
> -DCDFÂ -c COHERENS/code/source/grid.f90 -o grid.o
> ifort -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic 
> -DCDFÂ -c
> COHERENS/code/source/gridpars.f90 -o gridpars.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/iopars.f90 -o iopars.o
> ifort -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic 
> -DCDFÂ -c COHERENS/code/source/meteo.f90 -o meteo.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/modids.f90 -o modids.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/nestgrids.f90 -o nestgrids.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/obconds.f90 -o obconds.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/telltelltellcode/source/optics.f90 -o optics.o
> ifort -I/usr/local/include
> -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic -DCDF -c 
> COHERENS/code/source/paralpars.f90 -o paralpars.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/physpars.f90 -o physpars.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/relaxation.f90 -o relaxation.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/switches.f90 -o switches.o
> ifort -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic 
> -DCDFÂ -c COHERENS/code/source/tide.f90 -o tide.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/timepars.f90 -o timepars.o
> ifort -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic 
> -DCDFÂ -c
> COHERENS/code/source/turbpars.f90 -o turbpars.o
> ifort
> -I/usr/local/includtelle -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/turbulence.f90 -o turbulence.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/utility_routines.f90 -o
> utility_routines.o
> ifort -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic 
> -DCDFÂ -c ./error_routines.f90 -o error_routines.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/datatypes_init.f90 -o datatypes_init.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/biology/source/biovars_routines.f90 -o
> biovars_routines.o
> ifort -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic 
> -DCDFÂ -c
> COHERENS/code/source/modvars_routines.f90 -o modvars_routines.o
> iforttell
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/time_routines.f90 -o time_routines.o
> ifort
> -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic
> -DCDFÂ -c COHERENS/code/source/array_interp.f90 -o array_interp.o
> ifort -I/usr/local/include -Wl,-rpath=/usr/local/intel/lib -cpp1 -i-dynamic 
> -DCDFÂ -c ./cf90_routines.f90 -o cf90_routines.o
> cf90_routines.f90(37): error #7013: This module file was not generated by any 
> release of this compiler.ÂÂ [NETCDF]
> ÂÂ USE netcdf
> -------^
> cf90_routines.f90(122): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_ABORT]
> errstat = NF90_abort(ncid)
> ----------^
> cf90_routines.f90(170): error #6404: This name does not have a type, and must 
> have an explicit
> type.ÂÂ [NF90_CLOSE]
> errstat = NF90_close(ncid)
> ----------^
> cf90_routines.f90(223): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF9telltell0_COPY_ATT]
> errstat = NF90_copy_att(ncid_in,varid_in,name,ncid_out,varid_out)
> ----------^
> cf90_routines.f90(293): error #6632: Keyword arguments are invalid without an 
> explicit interface.ÂÂ [INITIALSIZE]
> errstat = NF90_create(path,cmode,ncid,initialsize=initsize,chunksize=chunk)
> --------------------------------------^
> cf90_routines.f90(293): error #6632: Keyword arguments are invalid without an 
> explicit interface.ÂÂ [CHUNKSIZE]
> errstat = NF90_create(path,cmode,ncid,initialsize=initsize,chunksize=chunk)
> -----------------------------------------------------------^
> cf90_routines.f90(293): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_CREATE]
> errstat =
> NF90_create(path,cmode,ncid,initialsize=initsize,chunksize=chunk)
> ----------^
> cf90_routines.f90(348): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_DEF_DIM]
> errstat = NF90_def_dim(ncid,name,len,dimid)
> ----------^
> cf90_routines.f90(405): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_DEF_VAR]
> errstat = NF90_def_var(ncid,name,xtype,dimids,varid)
> ----------^
> cf90_routines.f90(458): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_DEL_ATT]
> errstat = NF90_del_att(ncid,varid,name)
> ----------^
> cf90_routines.f90(538): error #6632: Keyword arguments are invalid without an 
> explicit interface.ÂÂ [H_MINFREE]
> errstat = NF90_enddef(ncid,h_minfree=hmin,v_align=valign,v_minfree=vmin,&
> ---------------------------^
> cf90_routines.f90(538): error #6632: Keyword arguments are
> invalid without an explicit interface.ÂÂ [V_ALIGN]
> errstat = NF90_enddef(ncid,h_minfree=hmin,v_align=valign,v_minfree=vmin,&
> ------------------------------------------^
> cf90_routines.f90(538): error #6632: Keyword arguments are invalid without an 
> explicit interface.ÂÂ [V_MINFREE]
> errstat = NF90_enddef(ncid,h_minfree=hmin,v_align=valign,v_minfree=vmin,&
> ---------------------------------------------------------^
> cf90_routines.f90(539): error #6632: Keyword arguments are invalid without an 
> explicit interface.ÂÂ [R_ALIGN]
> ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ & r_align=ralign)
> ----------------------^
> cf90_routines.f90(538): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_ENDDEF]
> errstat =
> NF90_enddef(ncid,h_minfree=hmin,v_align=valign,v_minfree=vmin,&
> ----------^
> cf90_routines.f90(598): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_STRERROR]
> ÂÂÂÂÂÂÂÂ WRITE (ioerr,'(A)') TRIM(NF90_strerror(errstat))
> ----------------------------------^
> cf90_routines.f90(598): error #6362: The data types of the argument(s) are 
> invalid.ÂÂ [TRIM]
> ÂÂÂÂÂÂÂÂ WRITE (ioerr,'(A)') TRIM(NF90_strerror(errstat))
> ----------------------------------^
> cf90_routines.f90(650): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_GET_ATT]
> errstat = NF90_get_att(ncid,varid,name,chardat)
> ----------^
> cf90_routines.f90(708): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_GET_ATT]
> errstat =
> NF90_get_att(ncid,varid,name,chartmp)
> ----------^
> cf90_routines.f90(767): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_GET_ATT]
> errstat = NF90_get_att(ncid,varid,name,intdat)
> ----------^
> cf90_routines.f90(820): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_GET_ATT]
> errstat = NF90_get_att(ncid,varid,name,intdat)
> ----------^
> cf90_routines.f90(873): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_GET_ATT]
> errstat = NF90_get_att(ncid,varid,name,realdat)
> ----------^
> cf90_routines.f90(926): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_GET_ATT]
> errstat = NF90_get_att(ncid,varid,name,realdat)
> ----------^
> cf90_routines.f90(986): error #6632: Keyword arguments are invalid without an 
> explicit interface.ÂÂ
> [START]
> ÂÂ errstat = NF90_get_var(ncid,varid,chardat,start=nstart(1:1),count=(/l/))
> ---------------------------------------------^
> cf90_routines.f90(986): error #6632: Keyword arguments are invalid without an 
> explicit interface.ÂÂ [COUNT]
> ÂÂ errstat = NF90_get_var(ncid,varid,chardat,start=nstart(1:1),count=(/l/))
> ---------------------------------------------------------------^
> cf90_routines.f90(986): error #6404: This name does not have a type, and must 
> have an explicit type.ÂÂ [NF90_GET_VAR]
> ÂÂ errstat = NF90_get_var(ncid,varid,chardat,start=nstart(1:1),count=(/l/))
> -------------^
> cf90_routines.f90(988): error #6632: Keyword arguments are invalid without an 
> explicit interface.ÂÂ [START]
> ÂÂ errstat = NF90_get_var(ncid,varid,chardat,start=nstart,count=(/l,1/))
> ---------------------------------------------^
> cf90_routines.f90(988): error #6632: Keyword
> arguments are invalid without an explicit interface.ÂÂ [COUNT]
> ÂÂ errstat = NF90_get_var(ncid,varid,chardat,start=nstart,count=(/l,1/))
> ----------------------------------------------------------^
> cf90_routines.f90(1047): error #6404: This name does not have a type, and 
> must have an explicit type.ÂÂ [NF90_GET_VAR]
> ÂÂ errstat = NF90_get_var(ncid,varid,intdat)
> -------------^
> cf90_routines.f90(1049): error #6632: Keyword arguments are invalid without 
> an explicit interface.ÂÂ [START]
> ÂÂ errstat = NF90_get_var(ncid,varid,intdat,start=nstart)
> --------------------------------------------^
> /tmp/ifortXrwt65.i90(3667): catastrophic error: Too many errors, exiting
> compilation aborted for ./cf90_routines.f90 (code 1)
> make[1]: *** [cf90_routines.o] Error 1
> make[1]: Leaving directory `/home/dessy/mac/out03'
> make: *** [linux-iforts] Error 2
> 
> 
> Since I
> always succeed compiling on other server by using netcdf v.3.6.2,
> then our administrator tried to install the netcdf v.3.6.2.
> But we have the same problem as I mention above.
> 
> Following we include the needed information:
> 1. we have installed 2 version of netcdf: v4.1.3 and v3.6.2
> 2. "./configure" and config.log for both version
> 
> I would be highly appreciate for any suggestion to solve my problem.
> Thank you very much for your help.
> 
> Best regards,
> 
> dessy
> 
> ---
> Dessy Berlianty | Interdisciplinary Graduate School of Engineering and 
> Sciences |ÂKyushu University
> Research Institute for Applied Mechanics, West Building R. W302 | Kasuga Koen 
> 6-1, Kasuga-shi, Fukuoka-ken, 8168580 | Japan
> Mobile Phone: +81 80 4311 3127 | Email: address@hidden
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: ICU-822733
Department: Support netCDF
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.