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

Error during building case with cesm1.2.2 (mct.bld)

waheed

New Member
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
 
I encountered the exact same error that mpeu cannot be make.
As a workaround, copy the files under the compiled mpeu and you can build successfully.
But I don't know what the real reason for this error.
Looking forward to someone who can answer this question.
 

balaji

BALAJI SENAPATI
New Member
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
Did you solve this issue?
 
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

Hi,
Did you resolve these issues? I received the same problem.
 
Top