- 积分
- 16
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2024-7-22
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
新手气象研究,在编译wrf时输入./configure时出现如下错误
checking for perl5... no
checking for perl... found /usr/bin/perl (perl)
Will use NETCDF in dir: /data/home/yrf/CMAQ/LIB/netcdf_combined
Will use HDF5 in dir: /data/home/yrf/CMAQ/LIB/netcdf_combined
PHDF5 not set in environment. Will configure WRF for use without.
Will use 'time' to report timing information
$JASPERLIB or $JASPERINC not found in environment, configuring to build without grib2 I/O...
同时在./compile em_real编译后出现如下错误
df5 -lm -lz
ld: cannot find -lhdf5_fortran
0.26user 0.17system 0:00.43elapsed 100%CPU (0avgtext+0avgdata 26280maxresident)k
0inputs+104outputs (0major+50387minor)pagefaults 0swaps
make[1]: [em_real] Error 1 (ignored)
以下是我的环境设置,烦请大家帮我解答一下
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# For CMAQ
module load compiler/intel/intel-compiler-2017.5.239
module load mpi/mpich/intel/3.2
module list
source /data/home/yrf/WRF-test/config.sh
# intel
export CC=icc
export CXX=icpc
export FC=ifort
export F77=ifort
export CFLAGS=-m64
export FFLAGS=-m64
export LIB=/data/home/yrf/CMAQ/LIB
#zlib
export ZLIB=${LIB}/netcdf_combined
export LD_LIBRARY_PATH=${ZLIB}/lib:$LD_LIBRARY_PATH
export INCLUDE=${ZLIB}/include:$INCLUDE
#hdf5
export HDF5=${LIB}/netcdf_combined
export PATH=${HDF5}/bin:$PATH
export LD_LIBRARY_PATH=${HDF5}/lib:$LD_LIBRARY_PATH
export INCLUDE=${HDF5}/include:$INCLUDE
#netcdf
export NETCDF=${LIB}/netcdf_combined
export PATH=${NETCDF}/bin:$PATH
export LD_LIBRARY_PATH=${NETCDF}/lib:$LD_LIBRARY_PATH
export INCLUDE=${NETCDF}/include:$INCLUDE
|
|