Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Encountered an error in CESM2.0

bearzz

熊峰
New Member
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by MCT configure 2.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /g9/weiww/cesm/CESM/cime/src/externals/mct/configure CC=mpicc FC=mpifort MPICC=mpicc MPIFC=mpifort FCFLAGS=-fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none -O -O2 -ffree-form -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include CPPDEFS= -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC CFLAGS=-std=gnu99 -O -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -I.. -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include LDFLAGS=-L/g9/weiww/local/hdf5-1.13.0/lib -L/g9/weiww/local/netcdf-4.5.4:/g1/app/mathlib/netcdf/3.6.3/intel/lib -L/lib -L/g9/weiww/local/openmpi-4.1.1//lib -lnetcdff -llapack -lblas NETCDF_PATH=/g9/weiww/local/netcdf-4.5.4 --srcdir /g9/weiww/cesm/CESM/cime/src/externals/mct
## --------- ##
## Platform. #
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2360: checking for C compiler version
configure:2369: mpicc --version >&5
gcc (GCC) 9.5.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2380: $? = 0
configure:2369: mpicc -v >&5
Using built-in specs.
COLLECT_GCC=/g9/weiww/local/gcc-9.5.0/bin/gcc
COLLECT_LTO_WRAPPER=/g9/weiww/local/gcc-9.5.0/libexec/gcc/x86_64-pc-linux-gnu/9.5.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --prefix=/g9/weiww/local/gcc-9.5.0 --enable-checking=release --enable-languages=c,c++,fortran --disable-multilib
Thread model: posix
gcc version 9.5.0 (GCC)
configure:2380: $? = 0
configure:2369: mpicc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2380: $? = 1
configure:2369: mpicc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:2380: $? = 1
configure:2400: checking whether the C compiler works
configure:2422: mpicc -std=gnu99 -O -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -I.. -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -L/g9/weiww/local/hdf5-1.13.0/lib -L/g9/weiww/local/netcdf-4.5.4:/g1/app/mathlib/netcdf/3.6.3/intel/lib -L/lib -L/g9/weiww/local/openmpi-4.1.1//lib -lnetcdff -llapack -lblas conftest.c -lnetcdf -lhdf5_hl -lhdf5 -lz >&5
/usr/bin/ld: cannot find -lnetcdff
/usr/bin/ld: cannot find -lnetcdf
collect2: error: ld returned 1 exit status
configure:2426: $? = 1
configure:2464: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MCT"
| #define PACKAGE_TARNAME "mct"
| #define PACKAGE_VERSION "2.8"
| #define PACKAGE_STRING "MCT 2.8"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2469: error: in `/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct':
configure:2471: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_BABELROOT_set=
ac_cv_env_BABELROOT_value=
ac_cv_env_BIT64_set=
ac_cv_env_BIT64_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=mpicc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-std=gnu99 -O -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -I.. -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include'
ac_cv_env_COMPILER_ROOT_set=
ac_cv_env_COMPILER_ROOT_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_DEBUG_set=set
ac_cv_env_DEBUG_value=FALSE
ac_cv_env_ENDIAN_set=
ac_cv_env_ENDIAN_value=
ac_cv_env_FCFLAGS_set=set
ac_cv_env_FCFLAGS_value='-fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none -O -O2 -ffree-form -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include'
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
BABELROOT=''
BIT64=''
CC='mpicc'
CFLAGS='-std=gnu99 -O -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -I.. -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include'
COMPILER_ROOT=''
CPP=''
CPPDEFS=' -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC'
CPPFLAGS=''
CRULE=''
DEBUG='FALSE'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENDIAN=''
EXEEXT=''
FC='mpifort'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "MCT"
#define PACKAGE_TARNAME "mct"
#define PACKAGE_VERSION "2.8"
#define PACKAGE_STRING "MCT 2.8"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 77
 

bearzz

熊峰
New Member
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by MCT configure 2.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /g9/weiww/cesm/CESM/cime/src/externals/mct/configure CC=mpicc FC=mpifort MPICC=mpicc MPIFC=mpifort FCFLAGS=-fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none -O -O2 -ffree-form -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include CPPDEFS= -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC CFLAGS=-std=gnu99 -O -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -I.. -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include LDFLAGS=-L/g9/weiww/local/hdf5-1.13.0/lib -L/g9/weiww/local/netcdf-4.5.4:/g1/app/mathlib/netcdf/3.6.3/intel/lib -L/lib -L/g9/weiww/local/openmpi-4.1.1//lib -lnetcdff -llapack -lblas NETCDF_PATH=/g9/weiww/local/netcdf-4.5.4 --srcdir /g9/weiww/cesm/CESM/cime/src/externals/mct
## --------- ##
## Platform. #
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2360: checking for C compiler version
configure:2369: mpicc --version >&5
gcc (GCC) 9.5.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2380: $? = 0
configure:2369: mpicc -v >&5
Using built-in specs.
COLLECT_GCC=/g9/weiww/local/gcc-9.5.0/bin/gcc
COLLECT_LTO_WRAPPER=/g9/weiww/local/gcc-9.5.0/libexec/gcc/x86_64-pc-linux-gnu/9.5.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --prefix=/g9/weiww/local/gcc-9.5.0 --enable-checking=release --enable-languages=c,c++,fortran --disable-multilib
Thread model: posix
gcc version 9.5.0 (GCC)
configure:2380: $? = 0
configure:2369: mpicc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2380: $? = 1
configure:2369: mpicc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:2380: $? = 1
configure:2400: checking whether the C compiler works
configure:2422: mpicc -std=gnu99 -O -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -I.. -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -L/g9/weiww/local/hdf5-1.13.0/lib -L/g9/weiww/local/netcdf-4.5.4:/g1/app/mathlib/netcdf/3.6.3/intel/lib -L/lib -L/g9/weiww/local/openmpi-4.1.1//lib -lnetcdff -llapack -lblas conftest.c -lnetcdf -lhdf5_hl -lhdf5 -lz >&5
/usr/bin/ld: cannot find -lnetcdff
/usr/bin/ld: cannot find -lnetcdf
collect2: error: ld returned 1 exit status
configure:2426: $? = 1
configure:2464: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MCT"
| #define PACKAGE_TARNAME "mct"
| #define PACKAGE_VERSION "2.8"
| #define PACKAGE_STRING "MCT 2.8"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2469: error: in `/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct':
configure:2471: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_BABELROOT_set=
ac_cv_env_BABELROOT_value=
ac_cv_env_BIT64_set=
ac_cv_env_BIT64_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=mpicc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-std=gnu99 -O -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -I.. -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include'
ac_cv_env_COMPILER_ROOT_set=
ac_cv_env_COMPILER_ROOT_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_DEBUG_set=set
ac_cv_env_DEBUG_value=FALSE
ac_cv_env_ENDIAN_set=
ac_cv_env_ENDIAN_value=
ac_cv_env_FCFLAGS_set=set
ac_cv_env_FCFLAGS_value='-fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none -O -O2 -ffree-form -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include'
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
BABELROOT=''
BIT64=''
CC='mpicc'
CFLAGS='-std=gnu99 -O -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -I.. -I. -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/local/netcdf-4.5.4/include -I/g9/weiww/cesm/work/f.e21.F1850.f19_g17.001/bld/gnu/mpich/nodebug/nothreads/include'
COMPILER_ROOT=''
CPP=''
CPPDEFS=' -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC'
CPPFLAGS=''
CRULE=''
DEBUG='FALSE'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENDIAN=''
EXEEXT=''
FC='mpifort'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "MCT"
#define PACKAGE_TARNAME "mct"
#define PACKAGE_VERSION "2.8"
#define PACKAGE_STRING "MCT 2.8"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 77
already been solved
 
Top