爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6438|回复: 6

WRF3.8.1安装编译后没有exe文件生成

[复制链接]
发表于 2017-2-22 20:21:31 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
./configure  后
选择 16. (dm+sm)   INTEL (ifort/icc)1=basic
之后 ./compile em_real >& log.compile
并没有出现exe文件
log.compile中为
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 12.1.1.256 Build 20111011
Copyright (C) 1985-2011 Intel Corporation.  All rights reserved.
FOR NON-COMMERCIAL USE ONLY
/opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
real 0m0.812s
user 0m0.541s
sys 0m0.106s
ar: creating ../main/libwrflib.a
0.61user 0.04system 0:00.66elapsed 98%CPU (0avgtext+0avgdata 185808maxresident)k
0inputs+0outputs (0major+20872minor)pagefaults 0swaps
ld: warning: libnetcdf.so.11, needed by /usr/local/fat02/NetCDF_Fortran4.4.4.ifort2013/lib/libnetcdff.so, may conflict with libnetcdf.so.7
/opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
ld: warning: libirng.so, needed by /usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11, not found (try using -rpath or -rpath-link)
/usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11: undefined reference to `__isoc99_sscanf@GLIBC_2.7'
real 0m0.281s
user 0m0.103s
sys 0m0.107s
make[2]: [diffwrf] ?? 1 (??)
/opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
ld: warning: libirng.so, needed by /usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11, not found (try using -rpath or -rpath-link)
/usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11: undefined reference to `__isoc99_sscanf@GLIBC_2.7'
Command exited with non-zero status 1
0.36user 0.37system 0:01.46elapsed 50%CPU (0avgtext+0avgdata 297024maxresident)k
0inputs+0outputs (0major+47686minor)pagefaults 0swaps
make[1]: [em_wrf] ?? 1 (??)
/opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
ld: warning: libirng.so, needed by /usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11, not found (try using -rpath or -rpath-link)
/usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11: undefined reference to `__isoc99_sscanf@GLIBC_2.7'
Command exited with non-zero status 1
0.35user 0.38system 0:01.07elapsed 68%CPU (0avgtext+0avgdata 282144maxresident)k
0inputs+0outputs (0major+47319minor)pagefaults 0swaps
make[1]: [em_real] ?? 1 (??)
/opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
ld: warning: libirng.so, needed by /usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11, not found (try using -rpath or -rpath-link)
/usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11: undefined reference to `__isoc99_sscanf@GLIBC_2.7'
Command exited with non-zero status 1
0.37user 0.31system 0:00.99elapsed 69%CPU (0avgtext+0avgdata 280160maxresident)k
0inputs+0outputs (0major+47365minor)pagefaults 0swaps
make[1]: [em_real] ?? 1 (??)
/opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
ld: warning: libirng.so, needed by /usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11, not found (try using -rpath or -rpath-link)
/usr/local/fat02/NetCDF4.4.1.1.ifort2013/lib/libnetcdf.so.11: undefined reference to `__isoc99_sscanf@GLIBC_2.7'
Command exited with non-zero status 1
0.37user 0.35system 0:01.00elapsed 71%CPU (0avgtext+0avgdata 281504maxresident)k
0inputs+0outputs (0major+47277minor)pagefaults 0swaps
make[1]: [em_real] ?? 1 (??)
求大神看看!{:eb505:}{:eb505:}


密码修改失败请联系微信:mofangbao
发表于 2017-2-22 20:42:30 | 显示全部楼层
建议是用Intel编译netcdf3.6.3版本。
密码修改失败请联系微信:mofangbao
发表于 2017-2-22 20:47:42 | 显示全部楼层
看看            
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-2-22 20:55:53 | 显示全部楼层
andrewsoong 发表于 2017-2-22 20:42
建议是用Intel编译netcdf3.6.3版本。

您好,我刚刚开始接触wrf,还是个小白选手,请问您说的意思是cdf的版本问题不合适吗?
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-2-22 21:04:23 | 显示全部楼层
andrewsoong 发表于 2017-2-22 20:42
建议是用Intel编译netcdf3.6.3版本。

因为服务器上已经有了ifort和netcdf,且并不是我装的,故环境变量的设置是由安装的人提供的,我仅更改了环境变量,就开始安装编译wrf模式主体WRFV3.8.1.TAR.gz,之后的./configure选择的是dm+sm INTEL(ifort/icc),之后是1basic,在之后就都按照官方安装手册进行的,但并不能生成exe
环境变量设置如下
export NETCDF=/usr/local/fat02/NetCDF_Fortran4.4.4.ifort2013
export PATH=/usr/local/fat02/NetCDF_Fotran4.4.4.ifort2013/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/fat02/NetCDF_Fortran4.4.4.ifort2013/lib:$LD_LIBRARY_PATH
密码修改失败请联系微信:mofangbao
发表于 2017-2-22 21:09:00 | 显示全部楼层
小温馨岁月 发表于 2017-2-22 21:04
因为服务器上已经有了ifort和netcdf,且并不是我装的,故环境变量的设置是由安装的人提供的,我仅更改了 ...

还是自己安装吧。仅仅安装netcdf3.6.3就好
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-2-22 21:23:52 | 显示全部楼层
andrewsoong 发表于 2017-2-22 21:09
还是自己安装吧。仅仅安装netcdf3.6.3就好

感谢大神指教
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表