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

Build Error While Porting CESM1.2.2

When I ported CESM1.2.2 on my own server, creatnewcase and cesm_setup did well. But build reported the following error:-------------------------------------------------------------------------
 CESM BUILDNML SCRIPT STARTING
 - To prestage restarts, untar a restart.tar file into /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/run
 infile is /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/Buildconf/cplconf/cesm_namelist
 CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 CESM PRESTAGE SCRIPT STARTING
 - Case input data directory, DIN_LOC_ROOT, is /soa01/home/yangxd/wangsz/inputdata
 - Checking the existence of input datasets in DIN_LOC_ROOT
 CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 CESM BUILDEXE SCRIPT STARTING
rm: No match.
 COMPILER is intel
 - Build Libraries: mct gptl pio csm_share
Wed Jun 8 08:56:07 CST 2016 /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct.bldlog.160608-085604
ERROR: buildlib.mct failed, see /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct.bldlog.160608-085604
ERROR: cat /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct.bldlog.160608-085604Then I checked the mentioned bldlog file:yangxd@latecomer03:test02> cat /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct.bldlog.160608-085604
Wed Jun 8 08:56:07 CST 2016 /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct.bldlog.160608-085604
setenv MCT_DIR /soa01/home/yangxd/wangsz/cesm1_2_2/models/utils/mct
setenv LIBDIR /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads
setenv MCT_LIBDIR /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct
echo MCT_LIBDIR /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct
MCT_LIBDIR /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct
cd /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct
echo Copying source to CCSM EXEROOT...
Copying source to CCSM EXEROOT...
cp /soa01/home/yangxd/wangsz/cesm1_2_2/models/utils/mct/Makefile .
mkdir mct
cp /soa01/home/yangxd/wangsz/cesm1_2_2/models/utils/mct/mct/Makefile mct
mkdir mpeu
cp /soa01/home/yangxd/wangsz/cesm1_2_2/models/utils/mct/mpeu/Makefile mpeu
cp: cannot stat `/soa01/home/yangxd/wangsz/cesm1_2_2/models/utils/mct/mpeu/Makefile': No such file or directory
mkdir mpi-serial
cp /soa01/home/yangxd/wangsz/cesm1_2_2/models/utils/mct/mpi-serial/Makefile mpi-serial
cp: cannot stat `/soa01/home/yangxd/wangsz/cesm1_2_2/models/utils/mct/mpi-serial/Makefile': No such file or directory
set runconf = 0
set runclean = 0
echo Running configure...
Running configure...
echo for OS=LINUX MACH=FIOCESM
for OS=LINUX MACH=FIOCESM
gmake -f /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/Tools/Makefile /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct/Makefile.conf
cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
/soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/Tools/mkSrcfiles
gmake: execvp: /soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/Tools/mkSrcfiles: Permission denied
SHAREDLIBROOT |/soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld| SHAREDPATH |/soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads|
/bin/sh: line 1: /soa01/home/yangxd/wangsz/cesm1_2_2/models/utils/mct/configure: Permission denied
gmake: *** [/soa01/home/yangxd/wangsz/cesm1_2_2/scripts/test02/bld/intel/mpich/nodebug/nothreads/mct/Makefile.conf] Error 126
if ( 0 == 1 ) then
cp -p Makefile.conf Makefile.conf.old
cp: cannot stat `Makefile.conf': No such file or directory
gmake
Makefile:4: Makefile.conf: No such file or directory
gmake: *** No rule to make target `Makefile.conf'.  Stop.
exit 1But there are no Makefiles in the following two directories:/models/utils/mct/mpeu//models/utils/mct/mpi-serial/So I wonder is it my wrong configuration or  incomplete download of the source codes that causes the error? Any suggestion could be helpful.Thanks,Shizhu Wang  
 
Top