Thank you, I used 24 processes, cice.run script file is as follows:
#!/bin/csh -f
#YHBATCH -J case1
#YHBATCH -q batch
#YHBATCH -A yukai
#YHBATCH -N 1
#YHBATCH --ntasks 24
#YHBATCH --ntasks-per-node=24
#YHBATCH --time=120:00:00
#YHBATCH -e slurm%j.err
#YHBATCH -o slurm%j.out
#--------------------------------------------
cd /WORK/sysu_xcheng_1/chenzq/yukai/CICE-CICE6.0.1/case1
source ./cice.settings || exit 2
source ./env.${ICE_MACHCOMP} || exit 2
echo " "
echo "${0}:"
set stamp = `date '+%y%m%d-%H%M%S'`
set ICE_RUNLOG_FILE = "cice.runlog.${stamp}"
#--------------------------------------------
./setup_run_dirs.csh
#--------------------------------------------
cd ${ICE_RUNDIR}
setenv OMP_NUM_THREADS 1
cp -f ${ICE_CASEDIR}/ice_in ${ICE_RUNDIR}
echo " "
echo "CICE rundir is ${ICE_RUNDIR}"
echo "CICE log file is ${ICE_RUNLOG_FILE}"
echo "CICE run started : `date`"
yhrun -n 24 ./cice >&! $ICE_RUNLOG_FILE
echo "CICE run finished: `date`"
echo " "
#--------------------------------------------
if !(-d ${ICE_LOGDIR}) mkdir -p ${ICE_LOGDIR}
cp -p ${ICE_RUNLOG_FILE} ${ICE_LOGDIR}
grep ' CICE COMPLETED SUCCESSFULLY' ${ICE_RUNLOG_FILE}
if ( $status != 0 ) then
echo "CICE run did not complete - see ${ICE_LOGDIR}/${ICE_RUNLOG_FILE}"
echo "`date` ${0}: ${ICE_CASENAME} run did NOT complete ${ICE_RUNLOG_FILE}" >> ${ICE_CASEDIR}/README.case
exit -1
endif
echo "`date` ${0}: ${ICE_CASENAME} run completed ${ICE_RUNLOG_FILE}" >> ${ICE_CASEDIR}/README.case
echo "done ${0}"
Good to hear that you have it running. Can you share the settings from your cice.run script? How many processors are you using?