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 due to SETBLD

Hi all,

I am running the CCSM3.0 in unix sysrem. I have allready done my simulation up to 1994 starting form 1950. But simulation was stopped due to not enough space. Now I am trying restart the simulation but after reconfiguring when I am trying to built CCSM in my system I have got a error massege are given below,

iceberg1 237% cat log.b
-------------------------------------------------------------------------
Preparing T42_gx1v3 component models for execution
-------------------------------------------------------------------------
- Create execution directories for atm,cpl,lnd,ice,ocn
- If a restart run then copy restart files into executable directory
ccsm_getrestart: get /wrkdir/paimazum/TEST2 restarts from /wrkdir/paimazum/archive/TEST2/restart
- Check validity of configuration
- Determine if build must happen (env variable BLDTYPE)
- Build flag (BLDTYPE) is FALSE
- Build Libraries: esmf, mph, mct
Mon Jul 31 15:06:31 ADT 2006 esmf.buildlib.060731-150608
Mon Jul 31 15:06:31 ADT 2006 mph.buildlib.060731-150608
Mon Jul 31 15:06:32 ADT 2006 mct.buildlib.060731-150608
- Create model directories for each platform
- Determine if models must be rebuilt
- Build model executables, create namelist files, prestage input data
Mon Jul 31 15:06:32 ADT 2006 /wrkdir/paimazum/TEST2/cpl/cpl.log.060731-150608
Mon Jul 31 15:06:32 ADT 2006 /wrkdir/paimazum/TEST2/cpl/cpl.buildexe.060731-150608
Mon Jul 31 15:06:34 ADT 2006 /wrkdir/paimazum/TEST2/ice/ice.log.060731-150608
Mon Jul 31 15:06:34 ADT 2006 /wrkdir/paimazum/TEST2/ice/ice.buildexe.060731-150608
ERROR: csim.buildexe.csh failed, see ice.buildexe.060731-150608
ERROR: cat /wrkdir/paimazum/TEST2/ice/ice.buildexe.060731-150608
[1] + Exit 99 ./TEST2.iceberg.build >& log.b


In file "ice.buildexe.060731-150608 " the error massege is

ERROR:csim excutalbe not aviable, check SETBLD

configure of my env_run is givrn below,

#! /bin/csh -f

# Documentation of following environment varibles is provided in env.readme

setenv RESUBMIT 1 # if RESUBMIT is > 0, then will resubmit

setenv CCSMROOT /gpfsu/u1/uaf/paimazum/CAMP/ccsm3.0
setenv CASEROOT /u1/uaf/paimazum/CAMP/TEST2
setenv CONTINUE_RUN TRUE # [TRUE, FALSE]
setenv SETBLD AUTO # [AUTO, TRUE, FALSE]
setenv STOP_OPTION nmonths # [ndays,nmonths,daily,monthly,yearly]
setenv STOP_N 1
setenv REST_OPTION $STOP_OPTION
setenv REST_N $STOP_N
setenv INFO_DBUG 1 # [0,1,2,3]
setenv DEBUG FALSE # [TRUE, FALSE]
set OCN_TRACER_MODULES = (iage) # [(iage), (iage cfc),(cfc),( )]

#=========================================================================
# DERIVED ENVIRONMENT VARIABLES (user may edit these)
#=========================================================================

# BUILD TYPE

if ($SETBLD =~ AUTO*) then
setenv BLDTYPE TRUE
if ($CONTINUE_RUN == 'TRUE') setenv BLDTYPE FALSE
else
setenv BLDTYPE $SETBLD
endif

# COUPLER HISTORY/DIAG NAMELIST SETTING

setenv HIST_OPTION never
setenv HIST_N -999 # unused
setenv HIST_64BIT .false. # use 32-bit (default behavior)
setenv AVHIST_OPTION never
setenv AVHIST_N -999 # unused
setenv DIAG_OPTION nmonths
setenv DIAG_N 1 # current favorite value

setenv LOGDIR "" # save extra copy of log files here

#=========================================================================
# DERIVED ENVIRONMENT VARIABLES (user should not edit these)
#=========================================================================

setenv CONTINUE_RUN `echo $CONTINUE_RUN | tr '[a-z]' '[A-Z]'`
setenv SETBLD `echo $SETBLD | tr '[a-z]' '[A-Z]'`
setenv DEBUG `echo $DEBUG | tr '[a-z]' '[A-Z]'`
setenv UTILROOT $CCSMROOT/scripts/ccsm_utils # root directory for ccsm script utilities
setenv CODEROOT $CCSMROOT/models # model source code root directory
setenv CSMUTL $CCSMROOT/models/utils # model util code root directory
setenv SHAREROOT $CCSMROOT/models/csm_share # model code shared code directory
setenv BLDROOT $CCSMROOT/models/bld # makefiles are here


Kinly help me in this regards.

thanks
Debasish
 

njn01

Member
The problem is that your ice-model executable no longer exists, and you need to rebuild it.

If you refer to the documentation file "env.readme" in your case directory, you'll find information on the SETBLD setting.

Unfortunately, the part of the documentation is incorrect! The corrected information is (the correction is underlined with ^^^^^):

#-------------------------------------------------------------------------
# Variable : SETBLD
# Description : logical flag to specify if model will be built at startup
# Models use the $BLDTYPE environment variable to determine
# if a build should be executed at run time. Each component
# build script checks this flag to determine if gmake is to
# be invoked.
# If SETBLD is set to AUTO, then gmake will not be invoked on
# each component unless $CONTINUE_RUN is set TRUE.
# If SETBLD is set to AUTO, then gmake will not be invoked on
# each component unless $CONTINUE_RUN is set FALSE.
^^^^^
# If SETBLD is set to TRUE, then gmake will be invoked on
# each component regardless of the value of $CONTINUE_RUN.
# If SETBLD is set to FALSE, then gmake will not be invoked on
# each component.
# Valid values : [AUTO, TRUE, FALSE]
# Set in : env_run

The solution to your situation is to temporarily setenv SETBLD TRUE. This will cause all component executables to be rebuilt, and you should be able to run again. After you successfully run, you might decide to setenv SETBLD AUTO. As long as your model executables are not scrubbed from your disk, you can safely use this setting.
 
Top