请选择 进入手机版 | 继续访问电脑版
爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 1445|回复: 2

求助 linux系统下帮助安装Noah-MP 有chang

[复制链接]

新浪微博达人勋

发表于 2021-10-23 17:08:19 | 显示全部楼层 |阅读模式

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

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

x
装了两三天Noah-MP,尝试了各种版本 3.8 3.7 3.6均没有安装成功,实在没有办法还得请论讨上各位前辈帮助
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2021-10-23 17:14:23 | 显示全部楼层
make[1]: Entering directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/Utility_routines'

rm -f module_date_utilities.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_ module_date_utilities.F > module_date_utilities.f90
gfortran -o module_date_utilities.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none module_date_utilities.f90


rm -f module_model_constants.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_ module_model_constants.F > module_model_constants.f90
gfortran -o module_model_constants.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none module_model_constants.f90


rm -f module_wrf_utilities.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_ module_wrf_utilities.F > module_wrf_utilities.f90
gfortran -o module_wrf_utilities.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none module_wrf_utilities.f90


rm -f kwm_string_utilities.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_ kwm_string_utilities.F > kwm_string_utilities.f90
gfortran -o kwm_string_utilities.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none kwm_string_utilities.f90

make[1]: Leaving directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/Utility_routines'
(cd phys;                       make)
make[1]: Entering directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/phys'

rm -f module_sf_noahmplsm.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_ module_sf_noahmplsm.F > module_sf_noahmplsm.f90
gfortran -o module_sf_noahmplsm.o -c -I../Utility_routines -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none module_sf_noahmplsm.f90


rm -f module_sf_noahmp_glacier.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_ module_sf_noahmp_glacier.F > module_sf_noahmp_glacier.f90
gfortran -o module_sf_noahmp_glacier.o -c -I../Utility_routines -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none module_sf_noahmp_glacier.f90


rm -f module_sf_noahmp_groundwater.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_ module_sf_noahmp_groundwater.F > module_sf_noahmp_groundwater.f90
gfortran -o module_sf_noahmp_groundwater.o -c -I../Utility_routines -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none module_sf_noahmp_groundwater.f90


rm -f module_sf_noahmpdrv.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_ module_sf_noahmpdrv.F > module_sf_noahmpdrv.f90
gfortran -o module_sf_noahmpdrv.o -c -I../Utility_routines -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none module_sf_noahmpdrv.f90

make[1]: Leaving directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/phys'
(cd IO_code;                    make)
make[1]: Entering directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/IO_code'

rm -f module_hrldas_netcdf_io.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_  -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_hrldas_netcdf_io.F > module_hrldas_netcdf_io.f90
gfortran -o module_hrldas_netcdf_io.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none -I ../MPP -I../Utility_routines -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include  module_hrldas_netcdf_io.f90


rm -f module_NoahMP_hrldas_driver.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_  module_NoahMP_hrldas_driver.F > module_NoahMP_hrldas_driver.f90
gfortran -o module_NoahMP_hrldas_driver.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none -I -I. \
-I../phys -I../Utility_routines -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_NoahMP_hrldas_driver.f90
Warning: Nonexistent include directory "-I."


rm -f main_hrldas_driver.f90
cpp -P -traditional -D_GFORTRAN_  -D_HRLDAS_OFFLINE_  main_hrldas_driver.F > main_hrldas_driver.f90
gfortran -o main_hrldas_driver.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -ffree-form  -ffree-line-length-none -I ../MPP -I. \
-I../phys -I../Utility_routines -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include main_hrldas_driver.f90

make[1]: Leaving directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/IO_code'
(cd run;                        make)
make[1]: Entering directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/run'

echo "    -Wl,-rpath, -L -lhdf5 -lz"
    -Wl,-rpath, -L -lhdf5 -lz
gfortran -o hrldas.exe -I../IO_code -I../phys ../IO_code/main_hrldas_driver.o ../IO_code/module_hrldas_netcdf_io.o ../phys/module_sf_noahmpdrv.o ../phys/module_sf_noahmplsm.o ../phys/module_sf_noahmp_glacier.o ../phys/module_sf_noahmp_groundwater.o ../Utility_routines/module_wrf_utilities.o ../Utility_routines/module_model_constants.o ../Utility_routines/module_date_utilities.o ../Utility_routines/kwm_string_utilities.o ../IO_code/module_NoahMP_hrldas_driver.o    -L/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/lib -lnetcdf -lnetcdff

make[1]: Leaving directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/run'
(cd HRLDAS_forcing;             make)
make[1]: Entering directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing'
(cd lib; make)
make[2]: Entering directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib'

rm -f module_grib2_tables.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO module_grib2_tables.F > module_grib2_tables.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_grib2_tables.f90

rm -f module_mapinfo.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO module_mapinfo.F > module_mapinfo.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_mapinfo.f90

rm -f kwm_date_utilities.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO kwm_date_utilities.F > kwm_date_utilities.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include kwm_date_utilities.f90

rm -f module_grib_common.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO module_grib_common.F > module_grib_common.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_grib_common.f90

rm -f module_grib1.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO module_grib1.F > module_grib1.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_grib1.f90

rm -f module_grib2.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO module_grib2.F > module_grib2.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_grib2.f90

rm -f trig_degrees.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO trig_degrees.F > trig_degrees.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include trig_degrees.f90

rm -f module_llxy.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO module_llxy.F > module_llxy.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_llxy.f90

rm -f module_input_data_structure.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO module_input_data_structure.F > module_input_data_structure.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_input_data_structure.f90

rm -f arguments_module.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO arguments_module.F > arguments_module.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include arguments_module.f90

rm -f gbytesys.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO gbytesys.F > gbytesys.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include gbytesys.f90

rm -f swap4f.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO swap4f.F > swap4f.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include swap4f.f90
gcc -c -D_BZIP_NO cio.c

rm -f kwm_grid_utilities.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO kwm_grid_utilities.F > kwm_grid_utilities.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include kwm_grid_utilities.f90

rm -f kwm_timing_utilities.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO kwm_timing_utilities.F > kwm_timing_utilities.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include kwm_timing_utilities.f90

rm -f kwm_string_utilities.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO kwm_string_utilities.F > kwm_string_utilities.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include kwm_string_utilities.f90
gcc -c swap4c.c

rm -f get_unused_unit.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO get_unused_unit.F > get_unused_unit.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include get_unused_unit.f90
gcc -c -I/home/huangmaozi/Build_WRF/LIBRARIES/grib2/include decode_jpeg2000.c
gcc -c  -D_BZIP_NO -I/usr/local/include io_f.c

rm -f module_grib.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO module_grib.F > module_grib.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_grib.f90

rm -f module_geo_em.f90
cpp -P -traditional -D_GFORTRAN_  -DBIT32 -D_BZIP_NO module_geo_em.F > module_geo_em.f90
gfortran -c -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include module_geo_em.f90
rm -f libsmda.a
ar q libsmda.a module_grib2.o module_grib2_tables.o trig_degrees.o module_input_data_structure.o arguments_module.o gbytesys.o swap4f.o module_llxy.o cio.o kwm_date_utilities.o kwm_grid_utilities.o kwm_timing_utilities.o kwm_string_utilities.o swap4c.o get_unused_unit.o decode_jpeg2000.o io_f.o module_mapinfo.o module_grib1.o module_grib.o module_grib_common.o module_geo_em.o
ar: creating libsmda.a
make[2]: Leaving directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib'
(make -f Makefile all)
make[2]: Entering directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing'

rm -f create_forcing.f90
cpp -P -traditional -D_GFORTRAN_   create_forcing.F > create_forcing.f90
gfortran -ffree-form  -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring -c -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include -I./lib -I./lib create_forcing.f90
(cd lib; make)
make[3]: Entering directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib'
gfortran -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/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/lib -lnetcdf -lnetcdff -lbz2 -ljpeg -L/home/huangmaozi/Build_WRF/LIBRARIES/grib2/lib -ljasper
./lib/libsmda.a(module_grib2.o): In function `__module_grib2_MOD_fortran_decode_jpeg2000':
/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib2.f90:146: undefined reference to `info_jpeg2000'
/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib2.f90:154: undefined reference to `decode_jpeg2000'
./lib/libsmda.a(module_grib.o): In function `__module_grib_MOD_findgrib':
/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:184: undefined reference to `io_fread'
/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:201: undefined reference to `io_fread'
/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:221: undefined reference to `io_fread'
/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:278: undefined reference to `io_ftell'
./lib/libsmda.a(module_grib.o): In function `__module_grib_MOD_getgrib':
/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:112: undefined reference to `io_fread'
./lib/libsmda.a(module_grib.o): In function `__module_grib_MOD_gribclose':
/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:75: undefined reference to `c_close'
./lib/libsmda.a(module_grib.o): In function `__module_grib_MOD_gribopen':
/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing/lib/module_grib.f90:65: undefined reference to `c_gribopen'
collect2: error: ld returned 1 exit status
make[2]: *** [create_forcing.exe] Error 1
make[2]: Leaving directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/huangmaozi/Build_WRF/WPS-3.9.1/hrldas-release-3.8/HRLDAS/HRLDAS_forcing'
make: *** [all] Error 2
具体报错
配置文件如下

#  Options for Linux with gfortran (not fully tested)
#=============================================================================================

COMPILERF90    =       gfortran
FREESOURCE     =       -ffree-form  -ffree-line-length-none
F90FLAGS       =       -g -fconvert=big-endian -fbounds-check -fno-range-check -fno-underscoring
MODFLAG        =       -I
LDFLAGS        =
CPP            =       cpp
CPPFLAGS       =       -P -traditional -D_GFORTRAN_ # -D_HRLDAS_URBAN_
LIBS           =
LIBJASPER      =       -ljpeg -L/home/huangmaozi/Build_WRF/LIBRARIES/grib2/lib -ljasper
INCJASPER      =       -I/home/huangmaozi/Build_WRF/LIBRARIES/grib2/include
NETCDFMOD      =       -I/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/include
NETCDFLIB      =       -L/home/huangmaozi/Build_WRF/LIBRARIES/NETCDF/lib -lnetcdf -lnetcdff
BZIP2          =       NO
BZIP2_LIB      =       -lbz2
BZIP2_INCLUDE  =       -I/usr/local/include
RM             =       rm -f
CC             =       gcc


密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2021-12-25 16:48:58 | 显示全部楼层
请问楼主装上了吗
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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