- 积分
- 6377
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-4-5
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 哈妮象 于 2012-8-20 20:00 编辑
各位大侠,我之前编译WRF成功过几次,但是都没有出现过这次这些麻烦。。郁闷死了~
这一次我的是XP和Ubuntu12.04 x86_64双系统, netcdf-4.1.3版本,编译器为 gfortran。其他都安装正常。
下面有两个问题想再次请教大家:
1、./configure时,并没有出现下面这个图示(此图引自@随缘 {:soso_e121:}),就是没有进行探测C、Fortran编译器和测试NETCDF。
2、在无视上述问题,继续./compile em_real>& wrfcompile.log后,我的wrfcompile.log的Error部分粘贴如下:
make[3]: Entering directory `/home/qiulin89/model/WRFV3/external/io_netcdf'
grep nf_format_64bit /usr/local/wrf/netcdf/netcdf-4.1.3/include/netcdf.inc ;\
a=$? ; export a ; \
if [ $a -a "$WRFIO_NCD_LARGE_FILE_SUPPORT" = "1" ] ; then \
/lib/cpp -C -P -C -P -traditional -DWRFIO_NCD_LARGE_FILE_SUPPORT -I../ioapi_share wrf_io.F90 | m4 -Uinclude -Uindex -Ulen - > wrf_io.f ; \
else \
/lib/cpp -C -P -C -P -traditional -I../ioapi_share wrf_io.F90 | m4 -Uinclude -Uindex -Ulen - > wrf_io.f ; \
fi
gfortran -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o wrf_io.o -I/usr/local/wrf/netcdf/netcdf-4.1.3/include -I../ioapi_share -c wrf_io.f
wrf_io.f:1758.59:
stat = NF_CREATE(FileName, IOR(NF_CLOBBER,NF_64BIT_OFFSET), DH%NCID)
1
Error: Symbol 'nf_64bit_offset' at (1) has no IMPLICIT type
make[3]: [wrf_io.o] Error 1 (ignored)
/lib/cpp -C -P -C -P -traditional -I../ioapi_share field_routines.F90 > field_routines.f
gfortran -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o field_routines.o -I/usr/local/wrf/netcdf/netcdf-4.1.3/include -I../ioapi_share -c field_routines.f
/lib/cpp -C -P -C -P -traditional -I../ioapi_share module_wrfsi_static.F90 > module_wrfsi_static.f
gfortran -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -o module_wrfsi_static.o -I/usr/local/wrf/netcdf/netcdf-4.1.3/include -I../ioapi_share -c module_wrfsi_static.f
/bin/rm -f libwrfio_nf.a
if [ "ar" != "lib.exe" ] ; then \
ar cr libwrfio_nf.a wrf_io.o field_routines.o module_wrfsi_static.o ; \
else \
ar /out:libwrfio_nf.a wrf_io.o field_routines.o module_wrfsi_static.o ; \
fi
ar: wrf_io.o: No such file or directory
make[3]: [libwrfio_nf.a] Error 1 (ignored)
ranlib libwrfio_nf.a
ranlib: 'libwrfio_nf.a': No such file
make[3]: [libwrfio_nf.a] Error 1 (ignored)
----------------------------------------------------------------------------------------------------------------
不知道问题有没有贴的清楚。。{:soso_e101:}请问一下问题出在哪里呢?谢谢额~
|
|