- 积分
- 128
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-9-9
- 最后登录
- 1970-1-1
|
发表于 2014-9-9 18:03:56
|
显示全部楼层
我安装了gfortran 和 gcc ,然后又安了netcdf .
我刚刚又重新安装了一下WRFV3
选择的是: 34. x86_64 Linux, gfortran compiler with gcc (dmpar)
Compile for nesting? (1=basic, 2=preset moves, 3=vortex following) [default 1]: 1
然后就不出现上次说的那个编译器的情况了,终端显示:
Testing for NetCDF, C and Fortran compiler
This installation of NetCDF is 64-bit
C compiler is 64-bit
Fortran compiler is 64-bit
It will build in 64-bit
************************** W A R N I N G ************************************
There are some Fortran 2003 features in WRF that your compiler does not recognize
The IEEE signaling call has been removed. That may not be enough.
*****************************************************************************
为了解决这个我又安装另外一个帖子说的:
修改文件夹WRFV3中; configure.wrf对应FORMAT_FIXED/FORMAT_FREE改为如下两行:
FORMAT_FIXED = -ffixed-form -cpp
FORMAT_FREE = -ffree-form -ffree-line-length-none -cpp
./compile后
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ ./compile
Usage:
compile [-d] [-j n] wrf compile wrf in run dir (NOTE: no real.exe, ndown.exe, or ideal.exe generated)
or choose a test case (see README_test_cases for details) :
compile em_b_wave
compile em_esmf_exp
compile em_fire
compile em_grav2d_x
compile em_heldsuarez
compile em_hill2d_x
compile em_les
compile em_quarter_ss
compile em_real
compile em_scm_xy
compile em_seabreeze2d_x
compile em_squall2d_x
compile em_squall2d_y
compile em_tropical_cyclone
compile exp_real
compile nmm_real
compile nmm_tropical_cyclone
compile -d compile without optimization and with debugging
compile -j n parallel make using n tasks if supported (default 2)
compile -h help message
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ ./compile em_real >& compile.log
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ ./compile em_real >& wrf_compile.log
yangjian@yangjian-To-be-filled-by-O-E-M:~/WRF/WRFV3$ ^C
生成wrf.exe ndown.exe real.exe nup.exe tc.exe 但 ./compile >& compile.check.log是有错误的.
make[3]: [buf_for_proc.o] 错误 127 (忽略)
mpicc -DFSEEKO64_OK -w -O3 -c -DDM_PARALLEL -DMAX_HISTORY=25 -DNMM_CORE=0 -c rsl_malloc.c
make[3]: mpicc:命令未找到
make[3]: [rsl_malloc.o] 错误 127 (忽略)
mpicc -DFSEEKO64_OK -w -O3 -c -DDM_PARALLEL -DMAX_HISTORY=25 -DNMM_CORE=0 -c rsl_bcast.c
make[3]: mpicc:命令未找到
make[3]: [rsl_bcast.o] 错误 127 (忽略)
mpicc -DFSEEKO64_OK -w -O3 -c -DDM_PARALLEL -DMAX_HISTORY=25 -DNMM_CORE=0 -c task_for_point.c
make[3]: mpicc:命令未找到
make[3]: [task_for_point.o] 错误 127 (忽略)
mpicc -DFSEEKO64_OK -w -O3 -c -DDM_PARALLEL -DMAX_HISTORY=25 -DNMM_CORE=0 -c period.c
make[3]: mpicc:命令未找到
make[3]: [period.o] 错误 127 (忽略)
大哥,您能帮忙分析一下吗? |
|