- 积分
- 14354
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-5-23
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
按照官方的指导文件重新安装了WRF,前面的Fortran + C + NetCDF + MPI+Fortran + C + NetCDF测试运行都没问题,但是运行出错了,我列了一些错误在下面,大家帮忙看看,完整的log文件见附件
In file included from rsl_bcast.c:69:rsl_bcast.c: 在函数‘destroy_list’中:rsl_lite.h:164:35: 错误:传递‘rsl_free’的第 1 个参数时在不兼容的指针类型间转换 [-Wincompatible-pointer-types] 164 | #define RSL_FREE(P) rsl_free(&(P)) | ^~~~ | | | rsl_list_t ** {或称 struct rsl_list **}rsl_bcast.c:96:5: 附注:in expansion of macro ‘RSL_FREE’ 96 | RSL_FREE( trash ) ; | ^~~~~~~~rsl_lite.h:170:24: 附注:需要类型‘char **’,但实参的类型为‘rsl_list_t **’ {或称 ‘struct rsl_list **’} 170 | void rsl_free( char ** p ) ; | ~~~~~~~~^rsl_bcast.c: 在函数‘rsl_lite_nesting_reset_’中:rsl_lite.h:164:35: 错误:传递‘rsl_free’的第 1 个参数时在不兼容的指针类型间转换 [-Wincompatible-pointer-types] 164 | #define RSL_FREE(P) rsl_free(&(P)) | ^~~~ | | | rsl_list_t *** {或称 struct rsl_list ***}rsl_bcast.c:180:5: 附注:in expansion of macro ‘RSL_FREE’ 180 | RSL_FREE( Plist ) ; | ^~~~~~~~rsl_lite.h:170:24: 附注:需要类型‘char **’,但实参的类型为‘rsl_list_t ***’ {或称 ‘struct rsl_list ***’} 170 | void rsl_free( char ** p ) ; | ~~~~~~~~^c_code.c: 在函数‘rsl_lite_pack_’中:c_code.c:487:27: 错误:传递‘f_pack_lint_’的第 1 个参数时在不兼容的指针类型间转换 [-Wincompatible-pointer-types] 487 | F_PACK_LINT ( buf, p+yp_curs, imemord, &js, &je, &ks, &ke, &is, &ie, | ^~~ | | | char *In file included from c_code.c:31:rsl_lite.h:200:25: 附注:需要类型‘long int *’,但实参的类型为‘char *’ 200 | void F_PACK_LINT (long *inbuf, long *outbuf, int* memorder, int* js, int* je, int* ks, int* ke, int* is, int* ie, int* jms, int* jme, int* kms, int* kme, int* ims, int* ime, int* curs); | ~~~~~~^~~~~c_code.c:487:33: 错误:传递‘f_pack_lint_’的第 2 个参数时在不兼容的指针类型间转换 [-Wincompatible-pointer-types] 487 | F_PACK_LINT ( buf, p+yp_curs, imemord, &js, &je, &ks, &ke, &is, &ie, | ~^~~~~~~~ | | | char *rsl_lite.h:200:38: 附注:需要类型‘long int *’,但实参的类型为‘char *’ 200 | void F_PACK_LINT (long *inbuf, long *outbuf, int* memorder, int* js, int* je, int* ks, int* ke, int* is, int* ie, int* jms, int* jme, int* kms, int* kme, int* ims, int* ime, int* curs); | ~~~~~~^~~~~~c_code.c:492:26: 错误:传递‘f_pack_int_’的第 1 个参数时在不兼容的指针类型间转换 [-Wincompatible-pointer-types] 492 | F_PACK_INT ( buf, p+yp_curs, imemord, &js, &je, &ks, &ke, &is, &ie, | ^~~ | | | char *rsl_lite.h:201:23: 附注:需要类型‘int *’,但实参的类型为‘char *’
|
|