爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 4949|回复: 1

CESM1_2_0 bulid时出现的问题

[复制链接]

新浪微博达人勋

发表于 2015-12-25 10:09:52 | 显示全部楼层 |阅读模式

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

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

x
由于要研究GPU,前几天下了个PGI2015,打算重装PGI之后跑下CESM
将C编译器都换成了pgcc,编译netcdf的也换成了pgcc,然后的然后,一直到build之前都还很顺利
然后build的时候报了个错,反复百度无果
日志显示如下:

2015年 12月 24日 星期四 19:16:03 CST /cesm/cesm1_2_0/case/bld/mct/mct.bldlog.151224-191603
Copying source to CCSM EXEROOT...
New build of MCT
Running configure...
for OS=LINUX MACH=newmach
cat: Filepath: 没有那个文件或目录
cat: Srcfiles: 没有那个文件或目录
/cesm/cesm1_2_0/case/Tools/mkSrcfiles
cp -f /cesm/cesm1_2_0/case/bld/mct/Filepath /cesm/cesm1_2_0/case/bld/mct/Deppath
/cesm/cesm1_2_0/case/Tools/mkDepends  Deppath Srcfiles > /cesm/cesm1_2_0/case/bld/mct/Depends
cd /cesm/cesm1_2_0/case/bld/mct; \
     /cesm/cesm1_2_0/models/utils/mct/configure  CC="pgcc " FC="pgf95 " MPICC="mpicc " MPIFC="mpif90 " FCFLAGS="-i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include" CPPDEFS=" -DLINUX  -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16  -DLINUX -DCPRPGI  -DHAVE_SLASHPROC" CFLAGS="-gopt -Mlist -time -O -Mvect=nosse   -DLINUX  -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16  -DLINUX -DCPRPGI  -DHAVE_SLASHPROC -I.. -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include" NETCDF_PATH=/home/ed/local LDFLAGS="-time -Wl,--allow-multiple-definition " LIBS="-L/home/ed/local/lib -lnetcdf -lnetcdff"   --srcdir /cesm/cesm1_2_0/models/utils/mct
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether pgcc  accepts -g... yes
checking for pgcc  option to accept ISO C89... none needed
checking how to run the C preprocessor... pgcc  -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking whether we are using the GNU Fortran compiler... no
checking whether pgf95  accepts -g... yes
checking for Fortran flag to compile .F90 files... none
checking for mpif90... mpif90
checking for mpif.h... yes
Checking Compiler Version
checking how to get the version output from pgf95 ... -V
checking for Fortran flag to compile preprocessed .F files... none
checking how to define symbols for preprocessed Fortran... -D
checking how to get verbose linking output from pgf95 ... -v
checking for Fortran libraries of pgf95 ...  -L/home/ed/local/lib -L/opt/pgi_2015/linux86-64/15.10/lib -L/usr/lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -lnetcdf -lnetcdff -lpgf90rtl -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgftnrtl -lpgmp -lpthread -lnspgc -lpgc -lrt -lm
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
Hostname=localhost.localdomain
Machine=x86_64
OS=Linux
Fortran Compiler is Portland Group

Output Variables: {CC=pgcc } {CFLAGS=-gopt -Mlist -time -O -Mvect=nosse -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -I.. -I. -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include} {FC=pgf95 } {FCFLAGS=-i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee -Mfree -I. -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include} {PROGFCFLAGS=}{CPPDEFS= -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI} {OPT=-O2} {DEBUG=} {REAL8=-r8} {BIT64=-pc 64} {ENDIAN=-byteswapio} {MPIFC=mpif90 } {MPILIBS=mpich} {MPIHEADER=} {INCLUDEFLAG=-I} {INCLUDEPATH=} {AR=ar cq} {BABELROOT=} {COMPILER_ROOT=} {PYTHON=} {PYTHONOPTS=} {FORT_SIZE=} {prefix=NONE} {SRCDIR=} {FC_DEFINE=-D}

configure: creating ./config.status
config.status: creating Makefile.conf
config.status: creating config.h
Please check the Makefile.conf
Have a nice day!
gmake[1]: Entering directory `/cesm/cesm1_2_0/case/bld/mct/mpeu'
pgcc  -c -DLINUX  -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16  -DLINUX -DCPRPGI  -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI  -gopt -Mlist -time -O -Mvect=nosse   -DLINUX  -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16  -DLINUX -DCPRPGI  -DHAVE_SLASHPROC -I.. -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include   -I. -I../ /cesm/cesm1_2_0/models/utils/mct/mpeu/get_zeits.c
  Timing stats:
    init                    16 millisecs   100%
    Total time              16 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_mpif.F90
  Timing stats:
    Total time               0 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_realkinds.F90
  Timing stats:
    Total time               0 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_stdio.F90
  Timing stats:
    Total time               0 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_mpif90.F90
  Timing stats:
    init                    16 millisecs   100%
    Total time              16 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_dropdead.F90
  Timing stats:
    schedule                16 millisecs   100%
    Total time              16 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_chars.F90
  Timing stats:
    Total time               0 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_flow.F90
  Timing stats:
    init                    16 millisecs   100%
    Total time              16 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_ioutil.F90
  Timing stats:
    expand                  16 millisecs   100%
    Total time              16 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_mpout.F90
  Timing stats:
    optimize                16 millisecs   100%
    Total time              16 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_die.F90
  Timing stats:
    schedule                16 millisecs   100%
    Total time              16 millisecs
mpif90  -c  -I. -I../ -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -DSYSLINUX -DCPRPGI -O2  -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee   -Mfree  -I.  -I/cesm/cesm1_2_0/case/bld/pio -I/home/ed/local/include -I/home/ed/local/mpich/include -I/cesm/cesm1_2_0/case/bld/mct/mct -I/cesm/cesm1_2_0/case/bld/mct/mpeu -I/cesm/cesm1_2_0/case/bld/pio -I/cesm/cesm1_2_0/case/bld/gptl -I/cesm/cesm1_2_0/models/utils/pio -I/cesm/cesm1_2_0/case/bld/lib/include -pc 64  /cesm/cesm1_2_0/models/utils/mct/mpeu/m_IndexBin_char.F90
  Timing stats:
    import                  17 millisecs    51%
    vectorize               16 millisecs    48%
    Total time              33 millisecs
/tmp/pgf900_XbCCKawIHi.s: Assembler messages:
/tmp/pgf900_XbCCKawIHi.s:2375: Error: suffix or operands invalid for `vpxor'
/tmp/pgf900_XbCCKawIHi.s:2767: Error: suffix or operands invalid for `vpxor'
/tmp/pgf900_XbCCKawIHi.s:2837: Error: suffix or operands invalid for `vpxor'
/tmp/pgf900_XbCCKawIHi.s:2877: Error: suffix or operands invalid for `vpxor'
/tmp/pgf900_XbCCKawIHi.s:2942: Error: suffix or operands invalid for `vpxor'
/tmp/pgf900_XbCCKawIHi.s:3003: Error: suffix or operands invalid for `vpxor'
gmake[1]: *** [m_IndexBin_char.o] 错误 2
gmake[1]: Leaving directory `/cesm/cesm1_2_0/case/bld/mct/mpeu'
gmake: *** [subdirs] 错误 2

根本不知道问题出在哪里了,求助论坛的各位大大们~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-12-25 12:17:17 | 显示全部楼层
问题已解决,需要自行去下载最新版的binutils并安装
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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