Hello, I'm using CESM2.1.2. I suddenly got an error when I build the case. Itis never happened before.
ERROR: /data/home/pzhang/cesm2/cime/src/build_scripts/buildlib.mct FAILED, cat /data/home/pzhang/cesm2/output/aa/bld/mct.bldlog.201224-092854
So I cat the bldlog and get the follow information:
make -f /data/home/pzhang/cesm2/case/aa/Tools/Makefile -C /data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct CASEROOT=/data/home/pzhang/cesm2/case/aa MODEL=mct /data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/Makefile.conf
make: Entering directory `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct'
/data/home/pzhang/cesm2/case/aa/Tools/mkSrcfiles
cp -f Filepath Deppath
/data/home/pzhang/cesm2/case/aa/Tools/mkDepends Deppath Srcfiles > Depends
make: Leaving directory `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct'
make: Entering directory `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct'
SHAREDLIBROOT |/data/home/pzhang/cesm2/output/aa/bld| SHAREDPATH |intel/impi/nodebug/nothreads|
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... make: Leaving directory `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct'
cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
configure: error: in `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** [/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/Makefile.conf] Error 1
ERROR: cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
configure: error: in `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** [/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/Makefile.conf] Error 1
And in the config.log, it points out some errors:
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2360: checking for C compiler version
configure:2369: mpicc --version >&5
icc (ICC) 17.0.1 20161005
Copyright (C) 1985-2016 Intel Corporation. All rights reserved.
configure:2380: $? = 0
configure:2369: mpicc -v >&5
icc version 17.0.1 (gcc version 4.4.7 compatibility)
configure:2380: $? = 0
configure:2369: mpicc -V >&5
Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.1.132 Build 20161005
Copyright (C) 1985-2016 Intel Corporation. All rights reserved.
configure:2380: $? = 0
configure:2369: mpicc -qversion >&5
icc: command line warning #10006: ignoring unknown option '-qversion'
icc: command line error: no files specified; for help type "icc -help"
configure:2380: $? = 1
configure:2400: checking whether the C compiler works
configure:2422: mpicc -qno-opt-dynamic-align -fp-model precise -std=gnu99 -O2 -debug minimal -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DCPRINTEL -DHAVE_SLASHPROC -I.. -I. -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/scratch/software/netcdf-4/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include conftest.c >&5
configure:2426: $? = 0
configure:2474: result: yes
configure:2477: checking for C compiler default output file name
configure:2479: result: a.out
configure:2485: checking for suffix of executables
configure:2492: mpicc -o conftest -qno-opt-dynamic-align -fp-model precise -std=gnu99 -O2 -debug minimal -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DCPRINTEL -DHAVE_SLASHPROC -I.. -I. -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/scratch/software/netcdf-4/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include conftest.c >&5
configure:2496: $? = 0
configure:2518: result:
configure:2540: checking whether we are cross compiling
configure:2548: mpicc -o conftest -qno-opt-dynamic-align -fp-model precise -std=gnu99 -O2 -debug minimal -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DCPRINTEL -DHAVE_SLASHPROC -I.. -I. -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/scratch/software/netcdf-4/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include conftest.c >&5
configure:2552: $? = 0
configure:2559: ./conftest
./conftest: error while loading shared libraries: libbat.so: cannot open shared object file: No such file or directory
configure:2563: $? = 127
configure:2570: error: in `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct':
configure:2572: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
ERROR: /data/home/pzhang/cesm2/cime/src/build_scripts/buildlib.mct FAILED, cat /data/home/pzhang/cesm2/output/aa/bld/mct.bldlog.201224-092854
So I cat the bldlog and get the follow information:
make -f /data/home/pzhang/cesm2/case/aa/Tools/Makefile -C /data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct CASEROOT=/data/home/pzhang/cesm2/case/aa MODEL=mct /data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/Makefile.conf
make: Entering directory `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct'
/data/home/pzhang/cesm2/case/aa/Tools/mkSrcfiles
cp -f Filepath Deppath
/data/home/pzhang/cesm2/case/aa/Tools/mkDepends Deppath Srcfiles > Depends
make: Leaving directory `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct'
make: Entering directory `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct'
SHAREDLIBROOT |/data/home/pzhang/cesm2/output/aa/bld| SHAREDPATH |intel/impi/nodebug/nothreads|
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... make: Leaving directory `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct'
cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
configure: error: in `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** [/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/Makefile.conf] Error 1
ERROR: cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
configure: error: in `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** [/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/Makefile.conf] Error 1
And in the config.log, it points out some errors:
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2360: checking for C compiler version
configure:2369: mpicc --version >&5
icc (ICC) 17.0.1 20161005
Copyright (C) 1985-2016 Intel Corporation. All rights reserved.
configure:2380: $? = 0
configure:2369: mpicc -v >&5
icc version 17.0.1 (gcc version 4.4.7 compatibility)
configure:2380: $? = 0
configure:2369: mpicc -V >&5
Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.1.132 Build 20161005
Copyright (C) 1985-2016 Intel Corporation. All rights reserved.
configure:2380: $? = 0
configure:2369: mpicc -qversion >&5
icc: command line warning #10006: ignoring unknown option '-qversion'
icc: command line error: no files specified; for help type "icc -help"
configure:2380: $? = 1
configure:2400: checking whether the C compiler works
configure:2422: mpicc -qno-opt-dynamic-align -fp-model precise -std=gnu99 -O2 -debug minimal -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DCPRINTEL -DHAVE_SLASHPROC -I.. -I. -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/scratch/software/netcdf-4/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include conftest.c >&5
configure:2426: $? = 0
configure:2474: result: yes
configure:2477: checking for C compiler default output file name
configure:2479: result: a.out
configure:2485: checking for suffix of executables
configure:2492: mpicc -o conftest -qno-opt-dynamic-align -fp-model precise -std=gnu99 -O2 -debug minimal -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DCPRINTEL -DHAVE_SLASHPROC -I.. -I. -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/scratch/software/netcdf-4/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include conftest.c >&5
configure:2496: $? = 0
configure:2518: result:
configure:2540: checking whether we are cross compiling
configure:2548: mpicc -o conftest -qno-opt-dynamic-align -fp-model precise -std=gnu99 -O2 -debug minimal -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DCPRINTEL -DHAVE_SLASHPROC -I.. -I. -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/scratch/software/netcdf-4/include -I/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/include conftest.c >&5
configure:2552: $? = 0
configure:2559: ./conftest
./conftest: error while loading shared libraries: libbat.so: cannot open shared object file: No such file or directory
configure:2563: $? = 127
configure:2570: error: in `/data/home/pzhang/cesm2/output/aa/bld/intel/impi/nodebug/nothreads/mct':
configure:2572: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details