I am trying to build a case with CESM1.2.2 using MacBook; after running the cesm_setup; I proceed to build_case, I came across the following error.
- Build Libraries: mct gptl pio csm_share
Fri Jan 3 23:51:10 CST 2020 /cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct.bldlog.200103-235108
ERROR: buildlib.mct failed, see /cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct.bldlog.200103-235108
ERROR: cat /cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct.bldlog.200103-235108
After checking the error following details are shown, where should I start tracking the error please
Fri Jan 3 23:51:10 CST 2020 /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct.bldlog.200103-235108
setenv MCT_DIR /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct
setenv LIBDIR /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads
setenv MCT_LIBDIR /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct
echo MCT_LIBDIR /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct
MCT_LIBDIR /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct
cd /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct
echo Copying source to CCSM EXEROOT...
Copying source to CCSM EXEROOT...
cp /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct/Makefile .
mkdir mct
mkdir: mct: File exists
cp /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct/mct/Makefile mct
mkdir mpeu
mkdir: mpeu: File exists
cp /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct/mpeu/Makefile mpeu
mkdir mpi-serial
mkdir: mpi-serial: File exists
cp /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct/mpi-serial/Makefile mpi-serial
set runconf = 0
set runclean = 0
echo Running configure...
Running configure...
echo for OS=khanmac MACH=userdefined
for OS=khanmac MACH=userdefined
gmake -f /Users/apple/Downloads/DART/cesm/cesm1_2_2/scripts/test/Tools/Makefile /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/Makefile.conf
gmake: '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/Makefile.conf' is up to date.
if ( 0 == 1 ) then
cp -p Makefile.conf Makefile.conf.old
gmake
gmake[1]: Entering directory '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mpeu'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mpeu'
gmake[1]: Entering directory '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mct'
gmake[1]: *** No rule to make target '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mpeu/libmpeu.a', needed by 'm_MCTWorld.o'. Stop.
gmake[1]: Leaving directory '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mct'
gmake: *** [Makefile:10: subdirs] Error 2
exit 1
- Build Libraries: mct gptl pio csm_share
Fri Jan 3 23:51:10 CST 2020 /cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct.bldlog.200103-235108
ERROR: buildlib.mct failed, see /cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct.bldlog.200103-235108
ERROR: cat /cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct.bldlog.200103-235108
After checking the error following details are shown, where should I start tracking the error please
Fri Jan 3 23:51:10 CST 2020 /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct.bldlog.200103-235108
setenv MCT_DIR /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct
setenv LIBDIR /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads
setenv MCT_LIBDIR /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct
echo MCT_LIBDIR /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct
MCT_LIBDIR /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct
cd /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct
echo Copying source to CCSM EXEROOT...
Copying source to CCSM EXEROOT...
cp /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct/Makefile .
mkdir mct
mkdir: mct: File exists
cp /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct/mct/Makefile mct
mkdir mpeu
mkdir: mpeu: File exists
cp /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct/mpeu/Makefile mpeu
mkdir mpi-serial
mkdir: mpi-serial: File exists
cp /Users/apple/Downloads/DART/cesm/cesm1_2_2/models/utils/mct/mpi-serial/Makefile mpi-serial
set runconf = 0
set runclean = 0
echo Running configure...
Running configure...
echo for OS=khanmac MACH=userdefined
for OS=khanmac MACH=userdefined
gmake -f /Users/apple/Downloads/DART/cesm/cesm1_2_2/scripts/test/Tools/Makefile /Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/Makefile.conf
gmake: '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/Makefile.conf' is up to date.
if ( 0 == 1 ) then
cp -p Makefile.conf Makefile.conf.old
gmake
gmake[1]: Entering directory '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mpeu'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mpeu'
gmake[1]: Entering directory '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mct'
gmake[1]: *** No rule to make target '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mpeu/libmpeu.a', needed by 'm_MCTWorld.o'. Stop.
gmake[1]: Leaving directory '/Users/apple/Downloads/DART/cesm/scratch/bld/gcc/openmpi/nodebug/nothreads/mct/mct'
gmake: *** [Makefile:10: subdirs] Error 2
exit 1