[Wrf-users] wrfcamx Compiling
Hosein S
hosein685 at yahoo.com
Sat Sep 8 23:16:29 MDT 2012
Dear all
I use "make" command to compile wrfcamx program with intel compilers, but i got this error:
"ifort -c -o wrf_netcdf.o -O2 -mieee-fp -align dcommons -convert big_endian -ipo -static -I/models/CMAQ/src/CMAQ_v4.7.x86_64pg/lib/netcdf-3.6.0-p1/include wrf_netcdf.f90
wrf_netcdf.f90(11): error #5102: Cannot open include file 'netcdf.inc'
include 'netcdf.inc'
----------^
wrf_netcdf.f90(73): error #5102: Cannot open include file 'netcdf.inc'
include 'netcdf.inc'
----------^
wrf_netcdf.f90(116): error #5102: Cannot open include file 'netcdf.inc'
include 'netcdf.inc'
----------^
wrf_netcdf.f90(148): error #5102: Cannot open include file 'netcdf.inc'
include 'netcdf.inc'
----------^
wrf_netcdf.f90(182): error #5102: Cannot open include file 'netcdf.inc'
include 'netcdf.inc'
----------^
wrf_netcdf.f90(246): error #5102: Cannot open include file 'netcdf.inc'
include 'netcdf.inc'
----------^
wrf_netcdf.f90(305): error #5102: Cannot open include file 'netcdf.inc'
include 'netcdf.inc'
----------^
wrf_netcdf.f90(364): error #5102: Cannot open include file 'netcdf.inc'
include 'netcdf.inc'
----------^
wrf_netcdf.f90(24): error #6404: This name does not have a type, and must have an explicit type. [NCNOWRIT]
cdfid = ncopn(file, NCNOWRIT, rcode )
----------------------^
wrf_netcdf.f90(24): error #6404: This name does not have a type, and must have an explicit type. [NCOPN]
cdfid = ncopn(file, NCNOWRIT, rcode )
----------^
wrf_netcdf.f90(33): error #6404: This name does not have a type, and must have an explicit type. [NCVID]
id_time = ncvid( cdfid, 'Times', rcode )
------------^
wrf_netcdf.f90(35): error #6404: This name does not have a type, and must have an explicit type. [NF_INQ_VAR]
rcode = nf_inq_var( cdfid, id_time, varnam, ivtype, ndims, dimids, natts )
----------^
wrf_netcdf.f90(40): error #6404: This name does not have a type, and must have an explicit type. [NF_INQ_DIMLEN]
rcode = nf_inq_dimlen( cdfid, dimids(i), idims(i) )
------------^
wrf_netcdf.f90(53): error #6404: This name does not have a type, and must have an explicit type. [NF_GET_VARA_TEXT]
rcode = NF_GET_VARA_TEXT ( cdfid, id_time, &
------------^
wrf_netcdf.f90(86): error #6404: This name does not have a type, and must have an explicit type. [NCOPN]
cdfid = ncopn(file, NCNOWRIT, rcode )
----------^
wrf_netcdf.f90(95): error #6404: This name does not have a type, and must have an explicit type. [NCVID]
id_time = ncvid( cdfid, var, rcode )
------------^
wrf_netcdf.f90(97): error #6404: This name does not have a type, and must have an explicit type. [NF_INQ_VAR]
rcode = nf_inq_var( cdfid, id_time, varnam, ivtype, ndims, dimids, natts )
----------^
wrf_netcdf.f90(102): error #6404: This name does not have a type, and must have an explicit type. [NF_INQ_DIMLEN]
rcode = nf_inq_dimlen( cdfid, dimids(i), dims(i) )
------------^
wrf_netcdf.f90(125): error #6404: This name does not have a type, and must have an explicit type. [NCOPN]
cdfid = ncopn(file, NCNOWRIT, rcode )
----------^
wrf_netcdf.f90(134): error #6404: This name does not have a type, and must have an explicit type. [NF_GLOBAL]
rcode = NF_GET_ATT_INT(cdfid, nf_global, att_name, value )
--------------------------------^
wrf_netcdf.f90(134): error #6404: This name does not have a type, and must have an explicit type. [NF_GET_ATT_INT]
rcode = NF_GET_ATT_INT(cdfid, nf_global, att_name, value )
----------^
wrf_netcdf.f90(157): error #6404: This name does not have a type, and must have an explicit type. [NCOPN]
cdfid = ncopn(file, NCNOWRIT, rcode )
----------^
wrf_netcdf.f90(166): error #6404: This name does not have a type, and must have an explicit type. [NF_GET_ATT_REAL]
rcode = NF_GET_ATT_REAL(cdfid, nf_global, att_name, value )
----------^
wrf_netcdf.f90(194): error #6404: This name does not have a type, and must have an explicit type. [NCVID]
id_data = ncvid( cdfid, var, rcode )
------------^
wrf_netcdf.f90(196): error #6404: This name does not have a type, and must have an explicit type. [NF_INQ_VAR]
rcode = nf_inq_var( cdfid, id_data, varnam, ivtype, ndims, dimids, natts )
----------^
wrf_netcdf.f90(201): error #6404: This name does not have a type, and must have an explicit type. [NF_INQ_DIMLEN]
rcode = nf_inq_dimlen( cdfid, dimids(i), idims(i) )
------------^
wrf_netcdf.f90(258): error #6404: This name does not have a type, and must have an explicit type. [NCVID]
id_data = ncvid( cdfid, var, rcode )
------------^
wrf_netcdf.f90(260): error #6404: This name does not have a type, and must have an explicit type. [NF_INQ_VAR]
rcode = nf_inq_var( cdfid, id_data, varnam, ivtype, ndims, dimids, natts )
----------^
wrf_netcdf.f90(265): error #6404: This name does not have a type, and must have an explicit type. [NF_INQ_DIMLEN]
rcode = nf_inq_dimlen( cdfid, dimids(i), idims(i) )
------------^
wrf_netcdf.f90(317): error #6404: This name does not have a type, and must have an explicit type. [NCVID]
id_data = ncvid( cdfid, var, rcode )
------------^
wrf_netcdf.f90(415): catastrophic error: Too many errors, exiting
compilation aborted for wrf_netcdf.f90 (code 1)
make: *** [wrf_netcdf.o] Error 1
any suggestion?
Thanks
Hossein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20120908/70a44e4f/attachment.html
More information about the Wrf-users
mailing list