- 积分
- 906
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2019-12-15
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 gaochao123 于 2020-2-26 22:06 编辑
安装noahmp时出错
make[3]: Leaving directory '/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib'
/usr/local/mpi/bin/mpif90 -o create_forcing.exe -I./lib -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I./lib create_forcing.o \
-L./lib -lsmda -L/usr/local/netcdf4/lib -lnetcdf -lnetcdff -L/usr/lib/x86_64-linux-gnu -lbz2 -L/usr/local/libjpeg/lib -ljpeg -L/usr/local/griblib/lib -ljasper
^[[Z./lib/libsmda.a(module_grib2.o): In function `__module_grib2_MOD_fortran_decode_jpeg2000':
/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib2.f90:148: undefined reference to `info_jpeg2000'
/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib2.f90:156: undefined reference to `decode_jpeg2000'
./lib/libsmda.a(module_grib.o): In function `__module_grib_MOD_findgrib':
/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:186: undefined reference to `io_fread'
/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:203: undefined reference to `io_fread'
/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:223: undefined reference to `io_fread'
/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:280: undefined reference to `io_ftell'
./lib/libsmda.a(module_grib.o): In function `__module_grib_MOD_getgrib':
/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:114: undefined reference to `io_fread'
./lib/libsmda.a(module_grib.o): In function `__module_grib_MOD_gribclose':
/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:77: undefined reference to `c_close'
./lib/libsmda.a(module_grib.o): In function `__module_grib_MOD_gribopen':
/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:67: undefined reference to `c_gribopen'
collect2: error: ld returned 1 exit status
Makefile:28: recipe for target 'create_forcing.exe' failed
make[2]: *** [create_forcing.exe] Error 1
make[2]: Leaving directory '/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing'
Makefile:12: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/usr/local/hrldas-release-3.8/HRLDAS/HRLDAS_forcing'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
我的user_build_options的设置如下:
# Options for Linux with gfortran (not fully tested)
#=============================================================================================
COMPILERF90 = /usr/local/mpi/bin/mpif90
FREESOURCE = -ffree-form -ffree-line-length-none
F90FLAGS = -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring
MODFLAG =
LDFLAGS =
CPP = /usr/bin/cpp
CPPFLAGS = -P -traditional -D_GFORTRAN_ # -D_HRLDAS_URBAN_
LIBS =
LIBJASPER = -L/usr/local/libjpeg/lib -ljpeg -L/usr/local/griblib/lib -ljasper
INCJASPER = -I/usr/local/griblib/include
NETCDFMOD = -I/usr/local/netcdf4/include
NETCDFLIB = -L/usr/local/netcdf4/lib -lnetcdf -lnetcdff
BZIP2 = YES
BZIP2_LIB = -L/usr/lib/x86_64-linux-gnu -lbz2
BZIP2_INCLUDE = -I/usr/include
RM = rm -f
CC = /usr/bin/gcc
看有没有啥问题。
|
|