- 积分
- 1064
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-8-24
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2014-1-24 10:53:18
|
显示全部楼层
letsdo8 发表于 2014-1-23 11:44
当然得重编译。
直接make regcm就可以了是吗?可是我这样编译了,提示有错误,错误如下:
make: svnversion: Command not found
make[1]: svnversion: Command not found
make[1]: Entering directory `/data1/dhx/regcm/RegCM-4.0/PreProc/ICBC'
ifort -c -I/data1/dhx/netcdf-3.6.2/include -O3 -fp-model precise -convert big_endian -assume byterecl -c
mod_sst_1deg.f90
fortcom: Error: mod_sst_1deg.f90, line 920: Error in opening the compiled module file. Check INCLUDE pat
hs. [NETCDF]
use netcdf
----------^
fortcom: Error: mod_sst_1deg.f90, line 1019: Error in opening the compiled module file. Check INCLUDE pa
ths. [NETCDF]
use netcdf
----------^
fortcom: Error: mod_sst_1deg.f90, line 1118: Error in opening the compiled module file. Check INCLUDE pa
ths. [NETCDF]
use netcdf
----------^
fortcom: Error: mod_sst_1deg.f90, line 1245: Error in opening the compiled module file. Check INCLUDE pa
ths. [NETCDF]
use netcdf
----------^
fortcom: Error: mod_sst_1deg.f90, line 961: This name does not have a type, and must have an explicit typ
e. [NF90_NOWRITE]
istatus = nf90_open(pathaddname,nf90_nowrite,inet)
----------------------------------------^
fortcom: Error: mod_sst_1deg.f90, line 961: This name does not have a type, and must have an explicit typ
e. [NF90_OPEN]
istatus = nf90_open(pathaddname,nf90_nowrite,inet)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 962: This name does not have a type, and must have an explicit typ
e. [NF90_NOERR]
if ( istatus/=nf90_noerr ) then
----------------------^
fortcom: Error: mod_sst_1deg.f90, line 966: This name does not have a type, and must have an explicit typ
e. [NF90_INQ_VARID]
istatus = nf90_inq_varid(inet,varname,ivar)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 972: This name does not have a type, and must have an explicit typ
e. [NF90_GET_ATT]
istatus = nf90_get_att(inet,ivar,'scale_factor',xscale)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 994: This name does not have a type, and must have an explicit typ
e. [NF90_GET_VAR]
istatus = nf90_get_var(inet,ivar,work,istart,icount)
----------------^
fortcom: Error: mod_sst_1deg.f90, line 999: This name does not have a type, and must have an explicit typ
e. [NF90_STRERROR]
write ( 6,* ) nf90_strerror(istatus)
----------------------^
fortcom: Error: mod_sst_1deg.f90, line 1060: This name does not have a type, and must have an explicit ty
pe. [NF90_OPEN]
istatus = nf90_open(pathaddname,nf90_nowrite,inet)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1065: This name does not have a type, and must have an explicit ty
pe. [NF90_INQ_VARID]
istatus = nf90_inq_varid(inet,varname,ivar)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1071: This name does not have a type, and must have an explicit ty
pe. [NF90_GET_ATT]
istatus = nf90_get_att(inet,ivar,'scale_factor',xscale)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1093: This name does not have a type, and must have an explicit ty
pe. [NF90_GET_VAR]
istatus = nf90_get_var(inet,ivar,work,istart,icount)
----------------^
fortcom: Error: mod_sst_1deg.f90, line 1098: This name does not have a type, and must have an explicit ty
pe. [NF90_STRERROR]
write ( 6,* ) nf90_strerror(istatus)
----------------------^
fortcom: Error: mod_sst_1deg.f90, line 1159: This name does not have a type, and must have an explicit ty
pe. [NF90_OPEN]
istatus = nf90_open(pathaddname,nf90_nowrite,inet)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1164: This name does not have a type, and must have an explicit ty
pe. [NF90_INQ_VARID]
istatus = nf90_inq_varid(inet,varname,ivar)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1170: This name does not have a type, and must have an explicit ty
pe. [NF90_GET_ATT]
istatus = nf90_get_att(inet,ivar,'scale_factor',xscale)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1182: This name does not have a type, and must have an explicit ty
pe. [NF90_CLOSE]
istatus = nf90_close(inet)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1221: This name does not have a type, and must have an explicit ty
pe. [NF90_GET_VAR]
istatus = nf90_get_var(inet,ivar,work,istart,icount)
----------------^
fortcom: Error: mod_sst_1deg.f90, line 1226: This name does not have a type, and must have an explicit ty
pe. [NF90_STRERROR]
write ( 6,* ) nf90_strerror(istatus)
----------------------^
fortcom: Error: mod_sst_1deg.f90, line 1286: This name does not have a type, and must have an explicit ty
pe. [NF90_OPEN]
istatus = nf90_open(pathaddname,nf90_nowrite,inet)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1291: This name does not have a type, and must have an explicit ty
pe. [NF90_INQ_VARID]
istatus = nf90_inq_varid(inet,varname,ivar)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1297: This name does not have a type, and must have an explicit ty
pe. [NF90_GET_ATT]
istatus = nf90_get_att(inet,ivar,'scale_factor',xscale)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1309: This name does not have a type, and must have an explicit ty
pe. [NF90_CLOSE]
istatus = nf90_close(inet)
------------------^
fortcom: Error: mod_sst_1deg.f90, line 1348: This name does not have a type, and must have an explicit ty
pe. [NF90_GET_VAR]
istatus = nf90_get_var(inet,ivar,work,istart,icount)
----------------^
fortcom: Error: mod_sst_1deg.f90, line 1353: This name does not have a type, and must have an explicit ty
pe. [NF90_STRERROR]
write ( 6,* ) nf90_strerror(istatus)
----------------------^
compilation aborted for mod_sst_1deg.f90 (code 1)
make[1]: *** [mod_sst_1deg.o] Error 1
make[1]: Leaving directory `/data1/dhx/regcm/RegCM-4.0/PreProc/ICBC'
make: *** [icbc] Error 2
NETCDF安装是合适的,mod_sst_1deg.f90这个程序只是改了1097这个数字而已,怎么会出现这种错误呢? |
|