[RegCNET] ICBC run problem

David, John john.david at uconn.edu
Wed Sep 23 20:29:40 CEST 2009


I have not played with ICBC, however it looks like you need to edit the Makefiles to include the path for your NetCDF includes.  On my machine they are in /usr/include, not /usr/local/include.

Hope that helps.

  EBo --


________________________________________
From: regcnet-bounces at lists.ictp.it [regcnet-bounces at lists.ictp.it] On Behalf Of Owanda Otieno [owandaotieno at gmail.com]
Sent: Wednesday, September 23, 2009 1:32 PM
To: regcnet at lists.ictp.it
Subject: [RegCNET] ICBC run problem

Hi,
 Can someone help in identifying the problem here when I try to run ./icbc.x, i get the following error;

rm -f *.o SST SST_FVGCM SST_EH5OM ICBC
/opt/intel/Compiler/11.0/083/bin/intel64/ifort -tpp7 -g -cm -w -w90 -w95 -conver                                                                             t big_endian -c  SST_1DEG.f
SST_1DEG.f(731): error #5102: Cannot open include file '/usr/local/include/netcd                                                                             f.inc'
      include '/usr/local/include/netcdf.inc'
--------------^
SST_1DEG.f(770): error #6404: This name does not have a type, and must have an e                                                                             xplicit type.   [NF_OPEN]
         status=nf_open('../DATA/SST/sst.mnmean.nc<http://sst.mnmean.nc>',nf_nowrite,inet)
----------------^
SST_1DEG.f(771): error #6404: This name does not have a type, and must have an e                                                                             xplicit type.   [NF_GET_ATT_DOUBLE]
         status=nf_get_att_double(inet,5,'scale_factor',xscale)
----------------^
SST_1DEG.f(793): error #6404: This name does not have a type, and must have an e                                                                             xplicit type.   [NF_GET_VARA_INT2]
      status=nf_get_vara_int2(inet,5,start,count,work)
-------------^
SST_1DEG.f(807): error #5102: Cannot open include file '/usr/local/include/netcd                                                                             f.inc'
      include '/usr/local/include/netcdf.inc'
--------------^
SST_1DEG.f(850): error #6404: This name does not have a type, and must have an e                                                                             xplicit type.   [NF_OPEN]
         status=nf_open(pathaddname,nf_nowrite,inet)
----------------^
SST_1DEG.f(851): error #6404: This name does not have a type, and must have an e                                                                             xplicit type.   [NF_GET_ATT_DOUBLE]
         status=nf_get_att_double(inet,5,'scale_factor',xscale)
----------------^
SST_1DEG.f(892): error #6404: This name does not have a type, and must have an e                                                                             xplicit type.   [NF_GET_VARA_INT2]
      status=nf_get_vara_int2(inet,5,start,count,work)
-------------^
compilation aborted for SST_1DEG.f (code 1)
make: *** [SST_1DEG.o] Error 1
./SST: Command not found.
/bin/rm: No match.
/opt/intel/Compiler/11.0/083/bin/intel64/ifort -tpp7 -g -cm -w -w90 -w95 -conver                                                                             t big_endian -c  ICBC.f
ICBC.f(6283): error #5102: Cannot open include file '/usr/local/include/netcdf.i                                                                             nc'
      include '/usr/local/include/netcdf.inc'
--------------^
ICBC.f(6377): error #6404: This name does not have a type, and must have an expl                                                                             icit type.   [NF_OPEN]
            status=nf_open(pathaddname,nf_nowrite,inet7(kkrec))
-------------------^
ICBC.f(6378): error #6404: This name does not have a type, and must have an expl                                                                             icit type.   [NF_GET_ATT_DOUBLE]
            status=nf_get_att_double(inet7(kkrec),5,
-------------------^
ICBC.f(6419): error #6404: This name does not have a type, and must have an expl                                                                             icit type.   [NF_GET_VARA_INT2]
            status=nf_get_vara_int2(inet,5,start,count,work)
-------------------^
ICBC.f(6495): error #5102: Cannot open include file '/usr/local/include/netcdf.i                                                                             nc'
      include '/usr/local/include/netcdf.inc'
--------------^
ICBC.f(6589): error #6404: This name does not have a type, and must have an expl                                                                             icit type.   [NF_OPEN]
            status=nf_open(pathaddname,nf_nowrite,inet7(kkrec))
-------------------^
ICBC.f(6590): error #6404: This name does not have a type, and must have an expl                                                                             icit type.   [NF_GET_ATT_DOUBLE]
            status=nf_get_att_double(inet7(kkrec),5,
-------------------^
ICBC.f(6631): error #6404: This name does not have a type, and must have an expl                                                                             icit type.   [NF_GET_VARA_INT2]
            status=nf_get_vara_int2(inet,5,start,count,work)
-------------------^
ICBC.f(6791): error #5102: Cannot open include file '/usr/local/include/netcdf.i                                                                             nc'
      include '/usr/local/include/netcdf.inc'
--------------^
ICBC.f(6927): error #6404: This name does not have a type, and must have an expl                                                                             icit type.   [NF_OPEN]
            status=nf_open(pathaddname,nf_nowrite,inet6(kkrec,k4))
-------------------^
ICBC.f(6928): error #6404: This name does not have a type, and must have an expl                                                                             icit type.   [NF_GET_ATT_DOUBLE]
            status=nf_get_att_double(inet6(kkrec,k4),5,
-------------------^
ICBC.f(7075): error #6404: This name does not have a type, and must have an expl                                                                             icit type.   [NF_GET_VARA_INT2]
         status=nf_get_vara_int2(inet,5,start,count,work)
----------------^
compilation aborted for ICBC.f (code 1)
make: *** [ICBC.o] Error 1
./ICBC: Command not found.

Thank you



More information about the RegCNET mailing list