- Timestamp:
- 12/03/22 10:29:50 (22 months ago)
- Location:
- branches/libIGCM_CESMEP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libIGCM_CESMEP/AA_clean_PeriodLength
r1525 r1567 57 57 ( ${DEBUG_debug} ) && IGCM_date_Check 58 58 59 clean_CESMEP() 60 { 61 IGCM_card_DefineVariableFromOption ${prefix}config.card Post Cesmep 62 if [ ${config_Post_Cesmep} != FALSE ]; then 63 echo -e "\033[1;32mDo you want to erase the CESMEP atlas and dedicated CliMAF cache) ?" 64 echo -n -e " Your answer (y/n) : \033[m" 65 read reponse 66 case ${reponse} in 67 oui|OUI|o|y|yes|YES) 68 $SUBMIT_DIR/cesmep_lite/libIGCM_clean.sh 69 ;; 70 esac 71 fi 72 } 73 59 74 #================================== 60 75 # First of all … … 113 128 ;; 114 129 esac 130 clean_CESMEP 115 131 exit 0 116 132 fi … … 245 261 246 262 fi 263 264 clean_CESMEP 265 247 266 fi 248 267 exit 0 -
branches/libIGCM_CESMEP/AA_purge_simulation
r1525 r1567 171 171 fi 172 172 173 IGCM_card_DefineVariableFromOption ${prefix}config.card Post Cesmep 174 if [ ${config_Post_Cesmep} != FALSE ]; then 175 echo -e "\033[1;32mDo you want to erase the CESMEP atlas and dedicated CliMAF cache) ?" 176 echo -n -e " Your answer (y/n) : \033[m" 177 read reponse 178 case ${reponse} in 179 oui|OUI|o|y|yes|YES) 180 $SUBMIT_DIR/cesmep_lite/libIGCM_clean.sh 181 ;; 182 esac 183 fi 184 173 185 exit 0 -
branches/libIGCM_CESMEP/ins_job
r1564 r1567 659 659 [ ${new_struct?} == yes ] && prefix="$JobName/" 660 660 IGCM_card_DefineVariableFromOption ${prefix}config.card Post Cesmep 661 662 661 if [ ${config_Post_Cesmep} != FALSE ]; then 663 662 IGCM_config_CommonConfiguration ${prefix}config.card 664 # Compute mail adress - inspired by libIGCM_post.ksh - should be turned in a function 665 if [ ! -z ${config_UserChoices_MailName} ] ; then 666 MailAdress=${config_UserChoices_MailName} 667 elif [ -f ~/.forward ] ; then 668 MailAdress=$( cat ~/.forward ) 663 if [ x"${config_Post_CesmepMail}" == x"TRUE" ] || [ x"${config_Post_CesmepMail}" == x"True" ] ; then 664 # Compute mail adress - inspired by libIGCM_post.ksh - should be turned in a function 665 if [ ! -z ${config_UserChoices_MailName} ] ; then 666 MailAdress=${config_UserChoices_MailName} 667 elif [ -f ~/.forward ] ; then 668 MailAdress=$( cat ~/.forward ) 669 else 670 MailAdress=${USER} 671 fi 669 672 else 670 MailAdress= ${USER}673 MailAdress=None 671 674 fi 672 675 # -
branches/libIGCM_CESMEP/libIGCM_sys/libIGCM_sys_irene.ksh
r1563 r1567 70 70 typeset MASTER=irene 71 71 # add default project on irene 72 set -x73 72 if [ ! -z $BRIDGE_MSUB_PROJECT ]; then 74 73 typeset PROJECT=$(echo ${BRIDGE_MSUB_PROJECT} | cut -d@ -f1 ) … … 76 75 typeset PROJECT=$(echo ${CCCHOME} | cut -d/ -f5 ) 77 76 fi 78 set +x79 77 # jobWarningDelay in seconds 80 78 typeset jobWarningDelay=${BRIDGE_MSUB_MAXTIME}
Note: See TracChangeset
for help on using the changeset viewer.