#! /bin/csh -f ./Tools/ccsm_check_lockedfiles || exit -1 source ./Tools/ccsm_getenv || exit -2 setenv LID "`date +%y%m%d-%H%M%S`" if (! -f $CASE.run) then echo "ERROR: must invoke cesm_setup script before calling build script "; exit -1 endif