Changeset 1559 for branches/libIGCM_CESMEP/ins_job
- Timestamp:
- 09/17/22 15:29:59 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libIGCM_CESMEP/ins_job
r1554 r1559 660 660 IGCM_card_DefineVariableFromOption ${prefix}config.card Post Cesmep 661 661 662 # Compute mail adress - inspired by libIGCM_post.ksh - should be turned in a function663 if [ ! -z ${config_UserChoices_MailName} ] ; then664 MailAdress=${config_UserChoices_MailName}665 elif [ -f ~/.forward ] ; then666 MailAdress=$( cat ~/.forward )667 else668 MailAdress=${USER}669 fi670 671 #672 662 if [ ${config_Post_Cesmep} != FALSE ]; then 673 if [ X"${SYSTEM}" == "Xirene" ] ; then 674 IGCM_card_DefineVariableFromOption ${prefix}config.card Post CesmepCode 675 IGCM_card_DefineVariableFromOption ${prefix}config.card Post CesmepComparison 676 IGCM_card_DefineVariableFromOption ${prefix}config.card UserChoices DateBegin 677 # Need R_SAVE 678 IGCM_config_CommonConfiguration ${prefix}config.card 679 ${config_Post_CesmepCode}/libIGCM_install.sh $(pwd)/${prefix} \ 663 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 ) 669 else 670 MailAdress=${USER} 671 fi 672 # 673 components="," 674 for comp in ${config_ListOfComponents[*]} ; do 675 components=${components}${comp}, ; 676 done 677 if [ X"${SYSTEM}" == "Xirene" ] || [ X"${SYSTEM}" == "Xirene-amd" ] ; then 678 IGCM_card_DefineVariableFromOption ${prefix}config.card UserChoices DateBegin 679 ${config_Post_CesmepCode}/libIGCM_install.sh $(pwd)/${prefix} \ 680 680 ${config_Post_CesmepComparison} $JobName ${R_SAVE} ${ProjectID} \ 681 ${MailAdress} ${config_UserChoices_DateBegin} ${config_Post_Cesmep} 681 ${MailAdress} ${config_UserChoices_DateBegin//-/} \ 682 ${config_Post_Cesmep} ${CesmepPeriod} ${config_Post_CesmepSlices} $components 682 683 else 683 echo "\nERROR Cannot yet handle CESMEPon this computer system"684 echo -e "\nERROR Cannot (yet) handle CESMEP atlas on this computer system" 684 685 echo "=> Variable Cesmep in config.card's section Post must be set to FALSE" 685 686 exit 5
Note: See TracChangeset
for help on using the changeset viewer.