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

Problem with porting CESM 1.2.0 to a new machine

yli_ouc@163_com

New Member
Hello everyoneI am trying to port CESM1.2.0 to a local cluster. The compiler is intel compiler and openmpi, with netcdf. I managed to create a new case with resolution f45_g37 and compset X, the build process was fine, too.However, there were problems when I run *.submit, the log file says===============================================Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
-------------------------------------------------------------------------
CESM BUILDNML SCRIPT STARTING
- To prestage restarts, untar a restart.tar file into /public/home/test11/liyi/root_cesm/ccsmuser/test2/run
infile is /public/home/test11/liyi/root_cesm/case/test2/Buildconf/cplconf/cesm_namelist
CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM PRESTAGE SCRIPT STARTING
- Case input data directory, DIN_LOC_ROOT, is /public/home/test11/liyi/cesm/inputdata
- Checking the existence of input datasets in DIN_LOC_ROOT
CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
Fri Jul 26 08:55:44 CST 2013 -- CSM EXECUTION BEGINS HERE
Fri Jul 26 08:55:44 CST 2013 -- CSM EXECUTION HAS FINISHED
ls: No match.
Model did not complete - no cesm.log file present - exiting===============================================I had mpirun & mpiexec checked (by compiling and running fhello_world_mpi.F90), they seem work fine. Thank You
 

jedwards

CSEG and Liaisons
Staff member
Add a -x to the first line of your run script to get a little more detail in the output.  Are you sure that mpirun or mpiexec is in the path of your submitted job?
 

yli_ouc@163_com

New Member
jedwards,I added -x as you suggested, the error messages seem to be unhelpful==================================================cd /public/home/test11/liyi/root_cesm/ccsmuser/test2/runecho `date` -- CSM EXECUTION BEGINS HEREdateFri Jul 26 22:10:26 CST 2013 -- CSM EXECUTION BEGINS HEREsetenv OMP_NUM_THREADS 1waitecho `date` -- CSM EXECUTION HAS FINISHEDdateFri Jul 26 22:10:26 CST 2013 -- CSM EXECUTION HAS FINISHEDset sdate = `date +"%Y-%m-%d %H:%M:%S"`date +%Y-%m-%d %H:%M:%Scd /public/home/test11/liyi/root_cesm/ccsmuser/test2/runset CESMLogFile = `ls -1t cesm.log* | head -1`head -1ls: No match.if ( ==  ) thenecho Model did not complete - no cesm.log file present - exitingModel did not complete - no cesm.log file present - exitingexit -1============================================Any way to test weather mpirun/mpiexec is in the path of my job? I could run fhello_world_mpi.f90 successfully without specify the path of mpirun/mpiexec cause it's in the PATH environment Thank you
 

jedwards

CSEG and Liaisons
Staff member
 echo `date` -- CSM EXECUTION BEGINS HEREdateFri Jul 26 22:10:26 CST 2013 -- CSM EXECUTION BEGINS HEREsetenv OMP_NUM_THREADS 1waitecho `date` -- CSM EXECUTION HAS FINISHED I don't see your mpirun or mpiexec command here - probably a mistake in your mkbatch script is preventing that section of code from being copied to the run script.   Make sure that any environment variables that you use in the mkbatch script are escaped so that they are not evaluated too early.   If this isn't making sense attach your mkbatch script and I'll have a look.    
 
Hi jedwards,    It seems that I have the same problem with yli_ouc, which also says "Model did not complete - no cesm.log file present - exiting". I guess it might also be the mkbatch problem. Actually I just copied the default mkbatch.userdefined file. Here's the log file of runnning ./test.submit and my mkbatch file if has any help.Best regards    
 

jedwards

CSEG and Liaisons
Staff member
You need to edit that mkbatch file and uncomment the mpirun command appropriate for your environment.
 
Thank you for your kindly reply. Yet another problem arised, "mpirun: Command not found". I've passed the "helloworld" test with the command "./mpirun -np 4 helloworld.o"  and feel confused. Any suggestions? 
 

jedwards

CSEG and Liaisons
Staff member
The syntax ./mpirun suggests that the mpirun command was in your current directory when you ran the helloworld program.   You need the mpirun command to be in your path when you run cesm.  You can set the path in your default environment or in the env_mach_specific file. 
 
Dear jedwards,I also meet the same error. So I added the -x to the first line of your run script to get a little more detaile. Seeing the detailed output as follows, I still can not know how to settle. cd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4./Tools/ccsm_check_lockedfilessource ./Tools/ccsm_getenv./Tools/xml2envif ( 0 != 0 ) thenforeach i ( env_case.xml env_run.xml env_conf.xml env_build.xml env_mach_pes.xml )source env_casesetenv CASE testX4setenv CASEROOT /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4setenv CCSMROOT /lustre/baijingjing/Cesm/cesm1_0_4setenv GRID 4x5_gx3v7setenv CCSM_COMPSET X_PRESENT_DAY (X)setenv MACH mach_asetenv PTS_MODE FALSEsetenv CCSMUSER baijingjingsetenv CASETOOLS /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Toolssetenv CASEBUILD /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Buildconfsetenv SCRIPTSROOT /lustre/baijingjing/Cesm/cesm1_0_4/scriptssetenv UTILROOT /lustre/baijingjing/Cesm/cesm1_0_4/scripts/ccsm_utilssetenv BLDROOT /lustre/baijingjing/Cesm/cesm1_0_4/scripts/ccsm_utils/Buildsetenv CODEROOT /lustre/baijingjing/Cesm/cesm1_0_4/modelssetenv SHAREROOT /lustre/baijingjing/Cesm/cesm1_0_4/models/csm_sharesetenv COMP_ATM xatmsetenv COMP_LND xlndsetenv COMP_ICE xicesetenv COMP_GLC xglcsetenv COMP_OCN xocnsetenv COMP_CPL cplsetenv ATM_GRID 4x5setenv LND_GRID 4x5setenv OCN_GRID gx3v7setenv ICE_GRID gx3v7setenv ATM_NX 72setenv ATM_NY 46setenv LND_NX 72setenv LND_NY 46setenv GLC_NX 72setenv GLC_NY 46setenv ICE_NX 100setenv ICE_NY 116setenv OCN_NX 100setenv OCN_NY 116setenv OS Linuxsetenv CCSM_LCOMPSET X_PRESENT_DAYsetenv CCSM_SCOMPSET Xsetenv CCSM_CCOST -6setenv CCSM_GCOST -1setenv CCSM_MCOST 0setenv XMLMODE normalif ( 0 != 0 ) thenrm env_caseif ( 0 != 0 ) thenendsource env_runsetenv CONTINUE_RUN FALSEsetenv RESUBMIT 0setenv CCSM_REPOTAG cesm1_0_4setenv CASESTR UNSETsetenv STOP_OPTION ndayssetenv STOP_N 5setenv STOP_DATE -999setenv REST_OPTION ndayssetenv REST_N 5setenv REST_DATE -999setenv PIO_ASYNC_INTERFACE FALSEsetenv PIO_STRIDE -1setenv PIO_ROOT 1setenv PIO_NUMTASKS -1setenv PIO_TYPENAME netcdfsetenv PIO_DEBUG_LEVEL 0setenv OCN_PIO_STRIDE -99setenv OCN_PIO_ROOT 0setenv OCN_PIO_NUMTASKS 1setenv OCN_PIO_TYPENAME nothingsetenv LND_PIO_STRIDE -99setenv LND_PIO_ROOT -99setenv LND_PIO_NUMTASKS -99setenv LND_PIO_TYPENAME nothingsetenv ICE_PIO_STRIDE -99setenv ICE_PIO_ROOT -99setenv ICE_PIO_NUMTASKS -99setenv ICE_PIO_TYPENAME nothingsetenv ATM_PIO_STRIDE -99setenv ATM_PIO_ROOT -99setenv ATM_PIO_NUMTASKS -99setenv ATM_PIO_TYPENAME nothingsetenv CPL_PIO_STRIDE -99setenv CPL_PIO_ROOT -99setenv CPL_PIO_NUMTASKS -99setenv CPL_PIO_TYPENAME nothingsetenv GLC_PIO_STRIDE -99setenv GLC_PIO_ROOT -99setenv GLC_PIO_NUMTASKS -99setenv GLC_PIO_TYPENAME nothingsetenv CALENDAR NO_LEAPsetenv START_TOD 0setenv BUDGETS FALSEsetenv DRV_THREADING FALSEsetenv BFBFLAG FALSEsetenv CHECK_TIMING TRUEsetenv SAVE_TIMING FALSEsetenv INFO_DBUG 1setenv TIMING_BARRIER FALSEsetenv TIMER_LEVEL 4setenv COMP_RUN_BARRIERS FALSEsetenv ORBITAL_MODE fixed_yearsetenv ORBITAL_YEAR 1990setenv ORBITAL_YEAR_ALIGN 1990setenv EPS_FRAC 1.0e-02setenv EPS_AMASK 1.0e-13setenv EPS_AGRID 1.0e-12setenv EPS_AAREA 9.0e-07setenv EPS_OMASK 1.0e-06setenv EPS_OGRID 1.0e-02setenv EPS_OAREA 1.0e-01setenv SHR_MAP_DOPOLE TRUEsetenv VECT_MAP npfixsetenv AOFLUX_GRID ocnsetenv TPROF_OPTION neversetenv TPROF_N -999setenv TPROF_DATE -999setenv AVGHIST_OPTION neversetenv AVGHIST_N -999setenv AVGHIST_DATE -999setenv HISTINIT FALSEsetenv HIST_OPTION neversetenv HIST_N -999setenv HIST_DATE -999setenv BUDGET_INST 0setenv BUDGET_DAILY 0setenv BUDGET_MONTHLY 1setenv BUDGET_ANNUAL 1setenv BUDGET_LONGTERM_EOY 1setenv BUDGET_LONGTERM_STOP 0setenv OCN_TIGHT_COUPLING FALSEsetenv BATCHQUERY /opt/tsce/share/bin/qstatsetenv BATCHSUBMIT /opt/tsce/share/bin/qsubsetenv DIN_LOC_ROOT_CSMDATA /lustre/baijingjing/Cesm/inputdatasetenv DIN_LOC_ROOT_CLMQIAN /lustre/baijingjing/Cesm/inputdata/atm/datm7/atm_forcing.datm7.Qian.T62.c080727setenv DIN_LOC_ROOT /lustre/baijingjing/Cesm/inputdatasetenv LOGDIR /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/logssetenv DOUT_S TRUEsetenv DOUT_S_ROOT /lustre/baijingjing/Cesm/cesm1_0_4/scripts/archive/testX4setenv DOUT_S_SAVE_INT_REST_FILES FALSEsetenv DOUT_L_MS FALSEsetenv DOUT_L_MSROOT /lustre/baijingjing/Cesm/cesm1_0_4/scripts/archive/csm/testX4setenv DOUT_L_HPSS_ACCNT 00000000setenv DOUT_L_HTAR FALSEsetenv CCSM_BASELINE /lustre/baijingjing/Cesm/cesm1_0_4/scripts/baselinessetenv CCSM_CPRNC /lustre/baijingjing/Cesm/cesm1_0_4/scripts/tools/cprnc/cprncsetenv OCN_TAVG_TRACER_BUDGET FALSEsetenv OCN_TAVG_HIFREQ FALSEif ( 0 != 0 ) thenrm env_runif ( 0 != 0 ) thenendsource env_confsetenv RUN_TYPE startupsetenv RUN_STARTDATE 0001-01-01setenv RUN_REFCASE case.stdsetenv RUN_REFDATE 0001-01-01setenv BRNCH_RETAIN_CASENAME FALSEsetenv GET_REFCASE FALSEsetenv USE_MPISERIAL FALSEsetenv MPISERIAL_SUPPORT TRUEsetenv ATM_NCPL 48setenv LND_NCPL 48setenv ICE_NCPL 48setenv OCN_NCPL 1setenv GLC_NCPL 1setenv MAP_A2OF_FILE map_fv4x5_to_gx3v7_aave_da_091218.ncsetenv MAP_A2OS_FILE map_fv4x5_to_gx3v7_bilin_da_091218.ncsetenv MAP_O2AF_FILE map_gx3v7_to_fv4x5_aave_da_091218.ncsetenv MAP_O2AS_FILE map_gx3v7_to_fv4x5_aave_da_091218.ncsetenv MAP_A2LF_FILE idmapsetenv MAP_A2LS_FILE idmapsetenv MAP_L2AF_FILE idmapsetenv MAP_L2AS_FILE idmapsetenv MAP_R2O_FILE_R05 map_r05_to_gx3v5_e2000r500_040209.ncsetenv MAP_R2O_FILE_R19 UNSETsetenv MAP_R2O_FILE_RX1 map_rx1_to_gx3v5_e1000r500_090319.ncsetenv CPL_EPBAL offsetenv CPL_ALBAV falsesetenv CCSM_BGC nonesetenv CCSM_VOC FALSEsetenv CCSM_CO2_PPMV 379.000if ( 0 != 0 ) thenrm env_confif ( 0 != 0 ) thenendsource env_buildsetenv EXEROOT /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4setenv COMP_INTERFACE MCTsetenv ESMF_LIBDIRsetenv USE_ESMF_LIB FALSEsetenv DEBUG FALSEsetenv BUILD_THREADED FALSEsetenv PIO_CONFIG_OPTS  --disable-mct --disable-timing setenv GLC_NEC 10setenv GMAKE gmakesetenv GMAKE_J 8setenv RUNDIR /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/runsetenv OBJROOT /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4setenv LIBROOT /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/libsetenv INCROOT /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lib/includesetenv BUILD_COMPLETE TRUEsetenv SMP_BUILD a0l0i0o0g0c0setenv SMP_VALUE a0l0i0o0g0c0setenv BUILD_STATUS 0if ( 0 != 0 ) thenrm env_buildif ( 0 != 0 ) thenendsource env_mach_pessetenv NTASKS_ATM 16setenv NTHRDS_ATM 1setenv ROOTPE_ATM 0setenv NTASKS_LND 16setenv NTHRDS_LND 1setenv ROOTPE_LND 0setenv NTASKS_ICE 16setenv NTHRDS_ICE 1setenv ROOTPE_ICE 0setenv NTASKS_OCN 16setenv NTHRDS_OCN 1setenv ROOTPE_OCN 0setenv NTASKS_CPL 16setenv NTHRDS_CPL 1setenv ROOTPE_CPL 0setenv NTASKS_GLC 16setenv NTHRDS_GLC 1setenv ROOTPE_GLC 0setenv PSTRID_ATM 1setenv PSTRID_LND 1setenv PSTRID_ICE 1setenv PSTRID_OCN 1setenv PSTRID_CPL 1setenv PSTRID_GLC 1setenv TOTALPES 16setenv PES_LEVEL 1csetenv MAX_TASKS_PER_NODE 24setenv PES_PER_NODE 24setenv BATCH_PES 0setenv CCSM_PCOST 1setenv CCSM_TCOST 0setenv CCSM_ESTCOST -6if ( 0 != 0 ) thenrm env_mach_pesif ( 0 != 0 ) thenendif ( -f env_mach_specific ) source env_mach_specificsource env_mach_specificsetenv NETCDF_PATH /lustre/baijingjing/program/netcdf4.1.3setenv INC_NETCDF /lustre/baijingjing/program/netcdf4.1.3/includesetenv LIB_NETCDF /lustre/baijingjing/program/netcdf4.1.3/libsetenv MOD_NETCDF /lustre/baijingjing/program/netcdf4.1.3/includesetenv MPICH_PATH /lustre/baijingjing/program/mpich2setenv INC_MPI /lustre/baijingjing/program/mpich2/includesetenv LIB_MPI /lustre/baijingjing/program/mpich2/libif ( FALSE == FALSE ) thenendifsetenv INTEL /opt/intelsetenv PATH /opt/intel/composer_xe_2013.3.163/bin:/opt/intel/composer_xe_2013.3.163/bin/intel64:/opt/intel/composer_xe_2013.3.163/bin/intel64_mic:/opt/intel/composer_xe_2013.3.163/mpirt/bin:/lustre/baijingjing/program/pnetcdf/bin:/lustre/baijingjing/program/netcdf4.1.3/bin:/lustre/baijingjing/program/hdf5/bin:/lustre/baijingjing/program/mpich2/bin:/opt/intel/composer_xe_2013.3.163/bin/intel64:/opt/intel/composer_xe_2013.3.163/bin/intel64:/opt/intel/composer_xe_2013.3.163/mpirt/bin/intel64:/opt/intel/composer_xe_2013.3.163/bin/intel64:/opt/intel/composer_xe_2013.3.163/bin/intel64_mic:/opt/intel/composer_xe_2013.3.163/debugger/gui/intel64:/usr/local/maui/sbin:/usr/local/maui/bin:/opt/tsce/share/bin:/opt/tsce/share/sbin:/opt/tsce/share/jdk1.6.0_10/bin:/opt/tsce/share/jdk1.6.0_10/jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/ibutils/bin:.:/lustre/baijingjing/binsetenv LD_LIBRARY_PATH /opt/intel/composer_xe_2013.3.163/mpirt/lib:/opt/intel/composer_xe_2013.3.163/compiler/lib/intel64:/opt/intel/composer_xe_2013.3.163/compiler/mic:/opt/intel/composer_xe_2013.3.163/mkl/lib/intel64:/opt/intel/composer_xe_2013.3.163/mkl/lib/mic:/lustre/baijingjing/program/mpich2/lib:/opt/intel/composer_xe_2013.3.163/compiler/lib/intel64:/opt/intel/composer_xe_2013.3.163/mpirt/lib/intel64:/opt/intel/composer_xe_2013.3.163/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013.3.163/ipp/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2013.3.163/compiler/lib/intel64:/opt/intel/composer_xe_2013.3.163/mkl/lib/intel64:/opt/intel/composer_xe_2013.3.163/tbb/lib/intel64/gcc4.4setenv P4_GLOBMEMSIZE 1000000000set fname = env_derivedcatsource env_derivedset MODELS = ( cpl atm lnd ice ocn glc )set COMPONENTS = ( cpl xatm xlnd xice xocn xglc )set NTASKS = ( 16 16 16 16 16 16 )set NTHRDS = ( 1 1 1 1 1 1 )set ROOTPE = ( 0 0 0 0 0 0 )set PSTRID = ( 1 1 1 1 1 1 )cp -f env_derived LockedFiles/env_derived.lockedif ( TRUE != TRUE ) thensetenv LBQUERY TRUEsetenv LBSUBMIT TRUEsetenv LID `date +%y%m%d-%H%M%S`date +%y%m%d-%H%M%Senvegrep (MP_|LOADL|XLS|FPE|DSM|OMP|MPC)CCSM_COMPSET=X_PRESENT_DAY (X)COMP_ATM=xatmCOMP_LND=xlndCOMP_ICE=xiceCOMP_GLC=xglcCOMP_OCN=xocnCOMP_CPL=cplCCSM_LCOMPSET=X_PRESENT_DAYCCSM_SCOMPSET=XCOMP_RUN_BARRIERS=FALSECOMP_INTERFACE=MCTBUILD_COMPLETE=TRUESMP_BUILD=a0l0i0o0g0c0SMP_VALUE=a0l0i0o0g0c0cd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4source /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Tools/ccsm_buildnml.cshecho --------------------------------------------------------------------------------------------------------------------------------------------------set buildnml = TRUEif ( 0 ) thenecho  CCSM BUILDNML SCRIPT STARTING CCSM BUILDNML SCRIPT STARTINGecho  - To prestage restarts, untar a restart.tar file into /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/run - To prestage restarts, untar a restart.tar file into /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/runforeach DIR ( /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4 /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lib /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lib/include /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4 /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/run )if ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4 ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4endif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lib ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/libendif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lib/include ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lib/includeendif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4 ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4endif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/run ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/runendset rundir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/runset docdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocsif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs ) thencd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4setenv COMPLIBS @ n = 0foreach model ( cpl atm lnd ice ocn glc )@ n = 0 + 1set comp = cplset objdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/cpl/objif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/cpl/obj ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/cpl/objset libdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/cplif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/cpl ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/cplcd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/cpl/lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Buildconf/cpl.buildnml.csh - Create modelio namelist input filesif ( 0 != 0 ) thenend@ n = 1 + 1set comp = xatmset objdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/atm/objif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/atm/obj ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/atm/objset libdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/atmif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/atm ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/atmcd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/atm/lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Buildconf/xatm.buildnml.cshif ( 0 != 0 ) thenend@ n = 2 + 1set comp = xlndset objdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lnd/objif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lnd/obj ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lnd/objset libdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lndif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lnd ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lndcd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/lnd/lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Buildconf/xlnd.buildnml.cshif ( 0 != 0 ) thenend@ n = 3 + 1set comp = xiceset objdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ice/objif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ice/obj ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ice/objset libdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/iceif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ice ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/icecd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ice/lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Buildconf/xice.buildnml.cshif ( 0 != 0 ) thenend@ n = 4 + 1set comp = xocnset objdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ocn/objif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ocn/obj ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ocn/objset libdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ocnif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ocn ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ocncd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/ocn/lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Buildconf/xocn.buildnml.cshif ( 0 != 0 ) thenend@ n = 5 + 1set comp = xglcset objdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/glc/objif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/glc/obj ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/glc/objset libdir = /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/glcif ! ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/glc ) mkdir -p /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/glccd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/glc/lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Buildconf/xglc.buildnml.cshif ( 0 != 0 ) thenendcd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/runchmod +w /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/drv_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/README /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/seq_maps.rc /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xatm_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xglc_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xice_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xlnd_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xocn_incp -p drv_in xatm_in xglc_in xice_in xlnd_in xocn_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/cp -p seq_maps.rc /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/chmod 444 /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/drv_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/README /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/seq_maps.rc /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xatm_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xglc_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xice_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xlnd_in /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/CaseDocs/xocn_inecho  CCSM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY CCSM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLYcd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4source /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4/Tools/ccsm_prestage.cshif ( 0 ) thenecho --------------------------------------------------------------------------------------------------------------------------------------------------echo  CCSM PRESTAGE SCRIPT STARTING CCSM PRESTAGE SCRIPT STARTINGecho  - CCSM input data directory, DIN_LOC_ROOT_CSMDATA, is /lustre/baijingjing/Cesm/inputdata - CCSM input data directory, DIN_LOC_ROOT_CSMDATA, is /lustre/baijingjing/Cesm/inputdataecho  - Case input data directory, DIN_LOC_ROOT, is /lustre/baijingjing/Cesm/inputdata - Case input data directory, DIN_LOC_ROOT, is /lustre/baijingjing/Cesm/inputdataecho  - Checking the existence of input datasets in DIN_LOC_ROOT - Checking the existence of input datasets in DIN_LOC_ROOTif ! ( -d /lustre/baijingjing/Cesm/inputdata ) thenif ( `./check_input_data -inputdata $DIN_LOC_ROOT -check | grep "unknown" | wc -l` > 0 ) then./check_input_data -inputdata /lustre/baijingjing/Cesm/inputdata -checkwc -lgrep unknownif ( `./check_input_data -inputdata $DIN_LOC_ROOT -check | grep "missing" | wc -l` > 0 ) then./check_input_data -inputdata /lustre/baijingjing/Cesm/inputdata -checkwc -lgrep missingif ( `./check_input_data -inputdata $DIN_LOC_ROOT -check | grep "missing" | wc -l` > 0 ) then./check_input_data -inputdata /lustre/baijingjing/Cesm/inputdata -checkwc -lgrep missingif ( ( FALSE == TRUE ) && ( startup != startup ) && ( FALSE == FALSE ) ) thenecho  CCSM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY CCSM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLYif ( -d /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/run/timing ) rm -r -f /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/run/timingrm -r -f /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/run/timingmkdir /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/run/timingmkdir /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/run/timing/checkpointsset sdate = `date +"%Y-%m-%d %H:%M:%S"`date +%Y-%m-%d %H:%M:%Secho run started 2015-05-14 21:06:14cd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/exe/testX4/runecho `date` -- CSM EXECUTION BEGINS HEREdateThu May 14 21:06:14 CST 2015 -- CSM EXECUTION BEGINS HEREsetenv OMP_NUM_THREADS 1if ( FALSE == FALSE ) thenmpirun -np 16 ./ccsm.exeelsewaitecho `date` -- CSM EXECUTION HAS FINISHEDdateThu May 14 21:06:14 CST 2015 -- CSM EXECUTION HAS FINISHEDcd /lustre/baijingjing/Cesm/cesm1_0_4/scripts/testX4./Tools/ccsm_postrun.csh-----------------01ls: No match.Model did not complete - no cpl.log file present - exitingexit 1   
 

jedwards

CSEG and Liaisons
Staff member
I don't see any error in this output.   Do you have stdout and stderr?   If there is no cpl log written then the model never started and the error is probably in your mkbatch set up.  Have you tried to run an mpi hello world program?   After you successfully run the hello world program from the command line, try running it from the mkbatch -replace the cesm.exe in mkbatch with hello world and run an X case - does that work? 
 

jhhan@kei_re_kr

New Member
Dear All,Hello, everyone.I have also same problems.I tried all of methods that you guys comments on above to solve the problems.but, it still say "Model did not complete - no cesm.log file present - exiting".I also want test "Hello world MPI" for test of MPI run. I tried "Hello world MPI" from the manual in a webpage. But, it was not working.Unfortunately, I'm beginner of both linux and cesm.So, please, tell me the method for cheking of MPI run step by step ?Thank you everyone!   
 
Top