- 积分
- 262
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-7-8
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
我仔细读了家园里所有关于CESM的帖子,有过类似问题,但我没看懂。所以把我的问题再叙述一下。求教,万分感激。单核使用ifort进行编译是没问题的。在并行时出现了如下的问题。
请教:
我到cesm1_2_0的大气模块/home/caodd/cesm1_2_0/models/atm/cam/bld下configure:./configure -phys cam4 -cam_bld /home/caodd/cesm1_2_0/run_mpi/bld/ -cam_exe cam1 -cam_exedir /home/caodd/cesm1_2_0/run_mpi/ -fc mpiifort -nc_inc /opt/netcdf/netcdf-4.3.2-icc-ifort/include -nc_lib /opt/netcdf/netcdf-4.3.2-icc-ifort/lib -mpi_inc /opt/intel/ics2015/impi_5.0.1/include64 -mpi_lib /opt/intel/ics2015/impi_5.0.1/lib64 -dyn eul -res 64x128 -ntasks 6 -nosmp。
输出信息:Issuing command to the CICE configure utility:
/home/caodd/cesm1_2_0/models/ice/cice/bld/configure -hgrid 64x128 -cice_mode prescribed -ntr_aero 0 -nx 128 -ny 64 -bsizex 16 -bsizey 16 -maxblocks 6 -decomptype blkrobin -cache config_cache_cice.xml -cachedir /home/caodd/cesm1_2_0/run_mpi/bld
CICE configure done.
MCT configure is done.
creating /home/caodd/cesm1_2_0/run_mpi/bld/Filepath
creating /home/caodd/cesm1_2_0/run_mpi/bld/Makefile
creating /home/caodd/cesm1_2_0/run_mpi/bld/config.h
creating /home/caodd/cesm1_2_0/run_mpi/bld/config_cache.xml
CAM configure done.
然后我去到/home/caodd/cesm1_2_0/models/utils/mct和/home/caodd/cesm1_2_0/models/utils/pio,分别./configure。
之后,到/home/caodd/cesm1_2_0/run_mpi/bld/进行编译,gmake。
出现了如下错误:
gmake -C /home/caodd/cesm1_2_0/run_mpi/bld/mct
gmake[1]: Entering directory `/home/caodd/cesm1_2_0/run_mpi/bld/mct'
gmake[2]: Entering directory `/home/caodd/cesm1_2_0/run_mpi/bld/mct/mpeu'
mpif90 -c -I/opt/intel/ics2015/impi_5.0.1/include64 -I. -I../ -DSYSLINUX -DCPRINTEL -O2 -w -ftz /home/caodd/cesm1_2_0/models/utils/mct/mpeu/m_mpif.F90
f951: error: unrecognized command line option "-ftz"
gmake[2]: *** [m_mpif.o] Error 1
gmake[2]: Leaving directory `/home/caodd/cesm1_2_0/run_mpi/bld/mct/mpeu'
gmake[1]: *** [subdirs] Error 2
gmake[1]: Leaving directory `/home/caodd/cesm1_2_0/run_mpi/bld/mct'
gmake: *** [/home/caodd/cesm1_2_0/run_mpi/bld/mct/mct/libmct.a] Error 2。
请问,有遇到过类似错误的吗?该如何解决。
类似的编译还出现过如下的问题:
D -DLINUX -DCPRINTEL -ftz -convert big_endian -fp-model precise -O2 /home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(1026): remark #5140: Unrecognized directive
!DIR$ CONCURRENT
----------------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(1027): remark #5140: Unrecognized directive
!DIR$ PREFERVECTOR
------------------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(160): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_INPAK90]
use m_inpak90
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(42): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_MCTWORLD]
use m_MCTWorld ,only: mct_world_init => init
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(44): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect => AttrVect
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(45): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_init => init
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(46): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_clean => clean
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(47): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_zero => zero
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(48): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_lsize => lsize
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(49): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_indexIA => indexIA
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(50): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_indexRA => indexRA
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(51): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_importIattr => importIattr
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(52): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_exportIattr => exportIattr
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(53): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_importRattr => importRattr
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(54): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_exportRattr => exportRattr
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(55): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_getIList => getIList
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(56): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_getRList => getRList
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(57): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_exportIList2c=> exportIListToChar
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(58): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_exportRList2c=> exportRListToChar
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(59): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_nIAttr => nIAttr
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(60): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_nRAttr => nRAttr
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(61): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_copy => Copy
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(62): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_permute => Permute
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(63): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
use m_AttrVect ,only: mct_aVect_unpermute => Unpermute
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(64): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECTCOMMS]
use m_AttrVectComms ,only: mct_aVect_scatter => scatter
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(65): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECTCOMMS]
use m_AttrVectComms ,only: mct_aVect_gather => gather
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(66): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECTCOMMS]
use m_AttrVectComms ,only: mct_aVect_bcast => bcast
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(68): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ACCUMULATOR]
use m_Accumulator ,only: mct_accum => Accumulator
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(69): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ACCUMULATOR]
use m_Accumulator ,only: mct_accum_init => init
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(70): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ACCUMULATOR]
use m_Accumulator ,only: mct_accum_zero => zero
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(71): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ACCUMULATOR]
use m_Accumulator ,only: mct_accum_accumulate => accumulate
-------^
/home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90(74): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_GENERALGRID]
use m_GeneralGrid ,only: mct_gGrid => GeneralGrid
-------^
/tmp/ifort7qbtZJ.i90(1187): catastrophic error: Too many errors, exiting
compilation aborted for /home/caodd/cesm1_2_0/models/csm_share/shr/mct_mod.F90 (code 1)
gmake: *** [mct_mod.o] Error 1
真的不知咋办了。
|
|