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

The speed of mode calculation

yukai

New Member
Mode runs too slowly, taking an hour for a month's worth of results, which is clearly abnormal speed, what is the reason, and there is no problem with the compilation process.I suspect it's not the server, it's the mode set up somewhere.
 

dbailey

CSEG and Liaisons
Staff member
Good to hear that you have it running. Can you share the settings from your cice.run script? How many processors are you using?
 

yukai

New Member
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}"
 

yukai

New Member
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?
 
Top