爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 10510|回复: 12

在centos6.5上安装WRF,WPS 3.7.1,WPS

[复制链接]
发表于 2016-3-21 07:43:22 | 显示全部楼层 |阅读模式
NCL
系统平台: centos6.5
问题截图: -
问题概况: 在centos6.5上安装WRF,我按照官网给的安装步骤和网上的参考,成功安装了WRF,但是编译WPS时,总是出错。
./configure后,出现如下:
[wyf@localhost WPS]$ ./configure
Will use NETCDF in dir: /usr/local/netcdf
Found Jasper environment variables for GRIB2 support...
$JASPERLIB = /usr/local/grib2/lib
$JASPERINC = /usr/local/grib2/include
------------------------------------------------------------------------
Please select from among the following supported platforms.
Enter selection [1-40] : 1
------------------------------------------------------------------------
Configuration successful. To build the WPS, type: compile
------------------------------------------------------------------------

Testing for NetCDF, C and Fortran compiler

This installation NetCDF is 64-bit
C compiler is 64-bit
Fortran compiler is 64-bit


这一步没什么问题,但是我打开WPS目录,发现没有netcdf相关文件,以下是目录下的所有文件:
[wyf@localhost WPS]$ ls
arch configure.wps namelist.wps README
clean configure.wps.backup namelist.wps.all_options ungrib
compile geogrid namelist.wps.fire ungrib.exe
compile.log link_grib.csh namelist.wps.global util
configure metgrid namelist.wps.nmm

然后我就选择编译了./compile
最后我发现只是出现了ungrib.exe。
查阅compile.log文件,发现错误,有以下内容:
read_geogrid.c:23:1: 警告:“BIG_ENDIAN”重定义
在包含自 /usr/include/bits/waitstatus.h:65 的文件中,
从 /usr/include/stdlib.h:43,
从 read_geogrid.c:12:
/usr/include/endian.h:47:1: 警告:这是先前定义的位置
read_geogrid.c:24:1: 警告:“LITTLE_ENDIAN”重定义
/usr/include/endian.h:46:1: 警告:这是先前定义的位置
read_geogrid.c: 在函数‘read_geogrid_’中:
read_geogrid.c:123: 警告:左移次数大于或等于类型宽度
gfortran -o geogrid.exe cio.o wrf_debug.o bitarray_module.o constants_module.o module_stringutil.o geogrid.o gridinfo_module.o hash_module.o interp_module.o list_module.o llxy_module.o misc_definitions_module.o module_debug.o module_map_utils.o output_module.o parallel_module.o process_tile_module.o proc_point_module.o queue_module.o read_geogrid.o smooth_module.o source_data_module.o \
/home/wyf/WRF/WPS/../WRFV3/frame/module_driver_constants.o \
/home/wyf/WRF/WPS/../WRFV3/frame/pack_utils.o /home/wyf/WRF/WPS/../WRFV3/frame/module_machine.o \
/home/wyf/WRF/WPS/../WRFV3/frame/module_internal_header_util.o \
-I/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf -I/home/wyf/WRF/WPS/../WRFV3/external/io_grib_share -I/home/wyf/WRF/WPS/../WRFV3/external/io_grib1 -I/home/wyf/WRF/WPS/../WRFV3/external/io_int -I/home/wyf/WRF/WPS/../WRFV3/inc -I/usr/local/netcdf/include \
-L/home/wyf/WRF/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/wyf/WRF/WPS/../WRFV3/external/io_grib_share -lio_grib_share -L/home/wyf/WRF/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf/lib -lnetcdff -lnetcdf \

/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.13':
wrf_io.f:(.text+0x3637d): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x36b28): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x36b3e): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.12':
wrf_io.f:(.text+0x36bd3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x37397): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x373a4): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.11':
wrf_io.f:(.text+0x37450): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x37c0e): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x37c24): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.10':
wrf_io.f:(.text+0x37cc3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3847c): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x38489): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.9':
wrf_io.f:(.text+0x38530): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x38d00): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x38d16): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.8':
wrf_io.f:(.text+0x38db6): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x39597): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x395a4): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.7':
wrf_io.f:(.text+0x39650): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x39dfe): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x39e14): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.6':
wrf_io.f:(.text+0x39eb6): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3a677): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3a684): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.5':
wrf_io.f:(.text+0x3a72d): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3aed8): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3aeee): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.4':
wrf_io.f:(.text+0x3af83): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3b747): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3b754): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.3':
wrf_io.f:(.text+0x3b7fd): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3bf98): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3bfae): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.2':
wrf_io.f:(.text+0x3c043): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3c807): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3c814): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.1':
wrf_io.f:(.text+0x3c8c0): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3d05e): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3d074): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.0':
wrf_io.f:(.text+0x3d116): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3d8cf): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3d8dc): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.27':
wrf_io.f:(.text+0x3d96a): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3df5c): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3df69): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.26':
wrf_io.f:(.text+0x3dffa): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3e5ec): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3e5f9): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.25':
wrf_io.f:(.text+0x3e693): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3eca2): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3ecaf): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.24':
wrf_io.f:(.text+0x3ed43): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3f352): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3f35f): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.23':
wrf_io.f:(.text+0x3f3f3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3f9f2): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3f9ff): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.22':
wrf_io.f:(.text+0x3fa93): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x40092): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x4009f): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.21':
wrf_io.f:(.text+0x40133): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x40732): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x4073f): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.20':
wrf_io.f:(.text+0x407d3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x40dd2): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x40ddf): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.19':
wrf_io.f:(.text+0x40e6a): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x4145c): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x41469): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.18':
wrf_io.f:(.text+0x414fa): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x41aec): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x41af9): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.17':
wrf_io.f:(.text+0x41b90): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x42184): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x42191): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.16':
wrf_io.f:(.text+0x42230): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x42834): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x42841): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.15':
wrf_io.f:(.text+0x428e3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x42ef7): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x42f04): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.14':
wrf_io.f:(.text+0x42fa3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x435c7): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x435d4): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose':
wrf_io.f:(.text+0x438b2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x438bf): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x43aa2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x43aaf): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x43c82): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x43c8f): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x43e50): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x43e5d): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44030): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x4403d): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44203): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44210): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x443e2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x443ef): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x444f8): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44505): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x4460a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44617): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x4471a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44727): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44809): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44816): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44908): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44915): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44a08): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44a15): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44b0a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44b17): undefined reference to `GOMP_parallel_end'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_':
wrf_io.f:(.text+0x44dd2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44ddf): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44fc2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44fcf): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x451a2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x451af): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45370): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x4537d): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45550): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x4555d): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45723): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45730): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45902): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x4590f): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45a18): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45a25): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45b2a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45b37): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45c3a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45c47): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45d29): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45d36): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45e28): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45e35): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45f28): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45f35): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x4602a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x46037): undefined reference to `GOMP_parallel_end'
collect2: ld 返回 1
make[1]: [geogrid.exe] 错误 1 (忽略)

rotate_winds_module.o storage_module.o write_met_module.o \
/home/wyf/WRF/WPS/../WRFV3/frame/module_driver_constants.o \
/home/wyf/WRF/WPS/../WRFV3/frame/pack_utils.o /home/wyf/WRF/WPS/../WRFV3/frame/module_machine.o \
/home/wyf/WRF/WPS/../WRFV3/frame/module_internal_header_util.o \
-I/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf -I/home/wyf/WRF/WPS/../WRFV3/external/io_grib_share -I/home/wyf/WRF/WPS/../WRFV3/external/io_grib1 -I/home/wyf/WRF/WPS/../WRFV3/external/io_int -I/home/wyf/WRF/WPS/../WRFV3/inc -I/usr/local/netcdf/include \
-L/home/wyf/WRF/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/wyf/WRF/WPS/../WRFV3/external/io_grib_share -lio_grib_share -L/home/wyf/WRF/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf/lib -lnetcdff -lnetcdf \

/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.13':
wrf_io.f:(.text+0x3637d): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x36b28): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x36b3e): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.12':
wrf_io.f:(.text+0x36bd3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x37397): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x373a4): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.11':
wrf_io.f:(.text+0x37450): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x37c0e): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x37c24): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.10':
wrf_io.f:(.text+0x37cc3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3847c): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x38489): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.9':
wrf_io.f:(.text+0x38530): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x38d00): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x38d16): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.8':
wrf_io.f:(.text+0x38db6): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x39597): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x395a4): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.7':
wrf_io.f:(.text+0x39650): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x39dfe): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x39e14): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.6':
wrf_io.f:(.text+0x39eb6): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3a677): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3a684): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.5':
wrf_io.f:(.text+0x3a72d): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3aed8): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3aeee): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.4':
wrf_io.f:(.text+0x3af83): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3b747): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3b754): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.3':
wrf_io.f:(.text+0x3b7fd): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3bf98): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3bfae): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.2':
wrf_io.f:(.text+0x3c043): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3c807): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3c814): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.1':
wrf_io.f:(.text+0x3c8c0): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3d05e): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3d074): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_.omp_fn.0':
wrf_io.f:(.text+0x3d116): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3d8cf): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3d8dc): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.27':
wrf_io.f:(.text+0x3d96a): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3df5c): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3df69): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.26':
wrf_io.f:(.text+0x3dffa): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3e5ec): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3e5f9): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.25':
wrf_io.f:(.text+0x3e693): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3eca2): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3ecaf): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.24':
wrf_io.f:(.text+0x3ed43): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3f352): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3f35f): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.23':
wrf_io.f:(.text+0x3f3f3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x3f9f2): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x3f9ff): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.22':
wrf_io.f:(.text+0x3fa93): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x40092): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x4009f): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.21':
wrf_io.f:(.text+0x40133): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x40732): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x4073f): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.20':
wrf_io.f:(.text+0x407d3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x40dd2): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x40ddf): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.19':
wrf_io.f:(.text+0x40e6a): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x4145c): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x41469): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.18':
wrf_io.f:(.text+0x414fa): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x41aec): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x41af9): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.17':
wrf_io.f:(.text+0x41b90): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x42184): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x42191): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.16':
wrf_io.f:(.text+0x42230): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x42834): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x42841): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.15':
wrf_io.f:(.text+0x428e3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x42ef7): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x42f04): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose.omp_fn.14':
wrf_io.f:(.text+0x42fa3): undefined reference to `GOMP_loop_runtime_start'
wrf_io.f:(.text+0x435c7): undefined reference to `GOMP_loop_runtime_next'
wrf_io.f:(.text+0x435d4): undefined reference to `GOMP_loop_end_nowait'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `__ext_ncd_support_routines_MOD_transpose':
wrf_io.f:(.text+0x438b2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x438bf): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x43aa2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x43aaf): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x43c82): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x43c8f): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x43e50): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x43e5d): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44030): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x4403d): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44203): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44210): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x443e2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x443ef): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x444f8): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44505): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x4460a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44617): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x4471a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44727): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44809): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44816): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44908): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44915): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44a08): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44a15): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44b0a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44b17): undefined reference to `GOMP_parallel_end'
/home/wyf/WRF/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `transposetor4_':
wrf_io.f:(.text+0x44dd2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44ddf): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x44fc2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x44fcf): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x451a2): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x451af): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45370): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x4537d): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45550): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x4555d): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45723): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45730): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45902): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x4590f): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45a18): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45a25): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45b2a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45b37): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45c3a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45c47): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45d29): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45d36): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45e28): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45e35): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x45f28): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x45f35): undefined reference to `GOMP_parallel_end'
wrf_io.f:(.text+0x4602a): undefined reference to `GOMP_parallel_start'
wrf_io.f:(.text+0x46037): undefined reference to `GOMP_parallel_end'
collect2: ld 返回 1
make[1]: [metgrid.exe] 错误 1 (忽略)

请问各位大神,我该怎么修改呢?是哪里出了问题?netcdf4.1.3和ncl6.2.1已经成功安装。
我看过提问的智慧: 看过
自己思考时长(天): 10

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

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

x

密码修改失败请联系微信:mofangbao
发表于 2016-3-24 16:28:07 | 显示全部楼层
configure.wps里面DM_FC=gfortran -lgomp
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

发表于 2016-3-21 08:44:51 | 显示全部楼层
WPS选的并行?
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2016-3-21 09:20:37 | 显示全部楼层

不是,1是serial
密码修改失败请联系微信:mofangbao
发表于 2016-3-21 09:25:30 | 显示全部楼层

应该还是你的环境变量设置的不对
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2016-3-21 09:29:17 | 显示全部楼层
andrewsoong 发表于 2016-3-21 09:25
应该还是你的环境变量设置的不对

关于什么的环境变量呢?我安装WRF可以顺利安装啊,会不会是WPS执行。/configure后,没有生成netcdf.inc文件,所以才编译不出来?你看我那错误,好像是跟netcdf有关系
密码修改失败请联系微信:mofangbao
发表于 2016-3-21 09:30:03 | 显示全部楼层
wangifan 发表于 2016-3-21 09:29
关于什么的环境变量呢?我安装WRF可以顺利安装啊,会不会是WPS执行。/configure后,没有生成netcdf ...

大哥,你的netcdf.inc是你的netcdf库里面的,这个wrf什么关系?
密码修改失败请联系微信:mofangbao
 成长值: 19710
发表于 2016-3-21 12:57:30 | 显示全部楼层
应该是没有用统一的编译器编译netcdf和wrf~
密码修改失败请联系微信:mofangbao
发表于 2016-3-21 14:55:57 | 显示全部楼层
你可以试一下WRFV3用单核编译再编译WPS
密码修改失败请联系微信:mofangbao
发表于 2016-3-21 15:35:32 | 显示全部楼层
楼上说的全不对,提示说不认识GOMP,所以需要在编译器选项里面加上-lgomp库
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2016-3-24 14:54:08 | 显示全部楼层
石破天惊 发表于 2016-3-21 15:35
楼上说的全不对,提示说不认识GOMP,所以需要在编译器选项里面加上-lgomp库

怎么加这个库?
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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