- 积分
- 5032
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-8-8
- 最后登录
- 1970-1-1

|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
求教各位论坛学友,本人近日利用服务器编译wrf3.5.1(pgi编译器,configure选项都是1),此前编译过wrf没有问题,这次改动了其中的初始文件后,./compile em_b_wave并没有生成ideal.exe和wrf.exe,报错如下:
pgf90 -o ideal.exe -O3 -w -Mfree -byteswapio ideal_em.o ../dyn_em/module_initialize_b_wave.o libwrflib.a /gpfs2/home/dwang/WRF3/WRFV3/external/fftpack/fftpack5/libfftpack.a /gpfs2/home/dwang/WRF3/WRFV3/external/io_grib1/libio_grib1.a /gpfs2/home/dwang/WRF3/WRFV3/external/io_grib_share/libio_grib_share.a /gpfs2/home/dwang/WRF3/WRFV3/external/io_int/libwrfio_int.a -L/gpfs2/home/dwang/WRF3/WRFV3/external/esmf_time_f90 -lesmf_time /gpfs2/home/dwang/WRF3/WRFV3/external/RSL_LITE/librsl_lite.a /gpfs2/home/dwang/WRF3/WRFV3/frame/module_internal_header_util.o /gpfs2/home/dwang/WRF3/WRFV3/frame/pack_utils.o -L/gpfs2/home/dwang/WRF3/WRFV3/external/io_netcdf -lwrfio_nf -L/software/netcdf-3.6.3-pgi/lib -lnetcdf
/software/pgi-10.6/linux86-64/10.6/lib/libpgf90.a(initpar.o)(.text+0x2): In function `__hpf_myprocnum':
: relocation truncated to fit: R_X86_64_PC32 __hpf_lcpu
/software/pgi-10.6/linux86-64/10.6/lib/libpgf90.a(initpar.o)(.text+0x12): In function `__hpf_ncpus':
: relocation truncated to fit: R_X86_64_PC32 __hpf_tcpus
/software/pgi-10.6/linux86-64/10.6/lib/libpgf90.a(initpar.o)(.text+0x22): In function `__hpf_getioproc':
: relocation truncated to fit: R_X86_64_PC32 __hpf_ioproc
/software/pgi-10.6/linux86-64/10.6/lib/libpgf90.a(initpar.o)(.text+0x5f): In function `__hpf_abort':
: relocation truncated to fit: R_X86_64_PC32 __hpf_lcpu
/software/pgi-10.6/linux86-64/10.6/lib/libpgf90.a(initpar.o)(.text+0xeb): In function `__hpf_abortp':
: relocation truncated to fit: R_X86_64_PC32 __hpf_lcpu
/software/pgi-10.6/linux86-64/10.6/lib/libpgf90.a(initpar.o)(.text+0x127): In function `__hpf_initarg':
: relocation truncated to fit: R_X86_64_PC32 .bss
/software/pgi-10.6/linux86-64/10.6/lib/libpgf90.a(initpar.o)(.text+0x151): In function `__hpf_initarg':
: relocation truncated to fit: R_X86_64_PC32 .bss
/software/pgi-10.6/linux86-64/10.6/lib/libpgf90.a(initpar.o)(.text+0x17b): In function `__hpf_initarg':
: relocation truncated to fit: R_X86_64_PC32 .bss
/software/pgi-10.6/linux86-64/10.6/lib/libpgf90.a(initpar.o)(.text+0x18b): In function `__hpf_initarg':
: additional relocation overflows omitted from the output
make[1]: [em_ideal] Error 2 (ignored)
在网上寻找答案,好像错误是静态数组物理内存超出了2G,建议改动编译器属性(-mcmodel=medium),结果报错如下:
pgf90 -o ideal.exe -O3 -mcmodel=medium -w -Mfree -byteswapio ideal_em.o ../dyn_em/module_initialize_b_wave.o libwrflib.a /gpfs2/home/dwang/WRF3/WRFV3/external/fftpack/fftpack5/libfftpack.a /gpfs2/home/dwang/WRF3/WRFV3/external/io_grib1/libio_grib1.a /gpfs2/home/dwang/WRF3/WRFV3/external/io_grib_share/libio_grib_share.a /gpfs2/home/dwang/WRF3/WRFV3/external/io_int/libwrfio_int.a -L/gpfs2/home/dwang/WRF3/WRFV3/external/esmf_time_f90 -lesmf_time /gpfs2/home/dwang/WRF3/WRFV3/external/RSL_LITE/librsl_lite.a /gpfs2/home/dwang/WRF3/WRFV3/frame/module_internal_header_util.o /gpfs2/home/dwang/WRF3/WRFV3/frame/pack_utils.o -L/gpfs2/home/dwang/WRF3/WRFV3/external/io_netcdf -lwrfio_nf -L/software/netcdf-3.6.3-pgi/lib -lnetcdf
ideal_em.o(.text+0x7d): In function `ideal':
./ideal_em.f90:56: relocation truncated to fit: R_X86_64_32 _module_domain_type_1_
ideal_em.o(.text+0x11d):./ideal_em.f90:71: relocation truncated to fit: R_X86_64_32 _module_domain_type_1_
ideal_em.o(.text+0x148):./ideal_em.f90:71: relocation truncated to fit: R_X86_64_32 _module_domain_0_
ideal_em.o(.text+0x153):./ideal_em.f90:71: relocation truncated to fit: R_X86_64_32 _module_domain_0_
ideal_em.o(.text+0x15f):./ideal_em.f90:71: relocation truncated to fit: R_X86_64_PC32 _module_domain_0_
ideal_em.o(.text+0x3ae):./ideal_em.f90:71: relocation truncated to fit: R_X86_64_PC32 _module_domain_0_
ideal_em.o(.text+0x3ba):./ideal_em.f90:71: relocation truncated to fit: R_X86_64_32 _module_configure_0_
ideal_em.o(.text+0x3df):./ideal_em.f90:71: relocation truncated to fit: R_X86_64_PC32 _module_domain_0_
ideal_em.o(.text+0x42b):./ideal_em.f90:71: relocation truncated to fit: R_X86_64_32 _module_date_time_1_
ideal_em.o(.text+0x4ef):./ideal_em.f90:71: relocation truncated to fit: R_X86_64_32 _module_wrf_error_1_
ideal_em.o(.text+0x535):./ideal_em.f90:71: additional relocation overflows omitted from the output
make[1]: [em_ideal] Error 2 (ignored)
错误类型没发生变化,但是错误的地方发生了改变。着实无可奈何,望各位能指点一二,不胜感激!
|
|