Changeset 906 for trunk/libIGCM
- Timestamp:
- 08/08/13 15:10:45 (11 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_RunChecker
r843 r906 172 172 echo "|===========================================================================================================|" 173 173 printf "| JobName = ${ColExp}%-${#JobName}s${ColNon}" ${JobName} 174 printf "%-${len}s" ${Dum} 174 printf "%-${len}s" ${Dum} 175 175 printf "run.card : ${ColExp}%-18s${ColNon}|\n" "${LastWrite}" 176 176 echo "|-------------------------|-------------|-------------------------|-------------|-----:----------:----------|" … … 180 180 181 181 printf "| %-10s - %-10s | " \ 182 $DateBegin $DateEnd 182 $DateBegin $DateEnd 183 183 184 184 case $PeriodState in … … 226 226 #Â Print rebuild and pack jobs 227 227 #Â --------------------------- 228 for JobType in ${JobType_list[*]} ; do 228 for JobType in ${JobType_list[*]} ; do 229 229 eval Date=\${${JobType}_Date[${ind}]} 230 230 eval Status=\${${JobType}_Status[${ind}]} … … 506 506 set -A JobType_list "${RebuildJob}" "pack_output" "pack_restart" "pack_debug" 507 507 508 for JobType in ${JobType_list[*]} ; do 508 for JobType in ${JobType_list[*]} ; do 509 509 typeset name1="${JobType}_String" 510 510 typeset name2="${JobType}_Field" … … 532 532 # ---------- 533 533 NbLines=0 534 for JobType in ${JobType_list[*]} ; do 534 for JobType in ${JobType_list[*]} ; do 535 535 eval String=\${${JobType}_String} 536 536 eval Field=\${${JobType}_Field} … … 643 643 644 644 fi 645 -
trunk/libIGCM/AA_SE_Checker
r837 r906 117 117 # Debug Print 118 118 IGCM_debug_Print 1 ${comp} 119 # Define component 119 # Define component 120 120 IGCM_card_DefineArrayFromOption ${CARD_DIR}/config.card ListOfComponents ${comp} 121 121 eval compname=\${config_ListOfComponents_${comp}[0]} > /dev/null 2>&1 … … 175 175 # 176 176 (( countTotal = countTotal + 1 )) 177 IGCM_sys_TestFileArchive ${DIRECTORY}/${TestedFile} >/dev/null 2>&1 177 IGCM_sys_TestFileArchive ${DIRECTORY}/${TestedFile} >/dev/null 2>&1 178 178 if [ ! $? = 0 ] ; then 179 179 eval set +A LISTE_FILE_${comp}_${an_deb} \$\{LISTE_FILE_${comp}_${an_deb}[*]} ${TestedFile} … … 186 186 (( i=i+3 )) # to explore file list 187 187 done # until [ $i -eq $NbFiles ] 188 fi # [ X${FileName0} != X${NULL_STR} ] 188 fi # [ X${FileName0} != X${NULL_STR} ] 189 189 190 190 [ $localcountBad = 0 ] || IGCM_debug_Print 1 "$localcountBad file(s) missing for ${comp} : " $( eval echo \${LISTE_FILE_${comp}_${an_deb}[*]} ) -
trunk/libIGCM/AA_SaveSourceModifications
r832 r906 14 14 #-Q- titane ## TITANE CEA ## 15 15 #-Q- titane ###################### 16 #-Q- titane #MSUB -r SaveSource # Nom du job 16 #-Q- titane #MSUB -r SaveSource # Nom du job 17 17 #-Q- titane #MSUB -n 1 # Reservation du processus 18 18 #-Q- titane #MSUB -T 1800 # Limite de temps elapsed du job … … 31 31 #-Q- lxiv8 #PBS -m a 32 32 #-Q- lxiv8 #PBS -j oe 33 #-Q- lxiv8 #PBS -q test 33 #-Q- lxiv8 #PBS -q test 34 34 #-Q- lxiv8 #PBS -o SaveSource.$$ 35 35 #-Q- lxiv8 #PBS -S /bin/ksh … … 93 93 ERR_script_diff_model=$( cat out_script_diff_model | grep "script_diff_model return [0-9]*" | sed -e "s&script_diff_model return *\([0-9]*\)&\1&" ) 94 94 95 if [ ! X${ERR_script_diff_model} = X0 ] ; then 95 if [ ! X${ERR_script_diff_model} = X0 ] ; then 96 96 echo 'Error in script_diff_model :' ${ERR_script_diff_model} 97 97 exit ${ERR_script_diff_model} … … 100 100 MODIPSL_SAVE_NAME=$( cat out_script_diff_model | grep "SAVE directory in" | sed -e "s&SAVE directory in &&" ) 101 101 MODIPSL_SAVE=${MODIPSL}/tmp/${MODIPSL_SAVE_NAME} 102 if ( [ X${MODIPSL_SAVE_NAME} = X ] || [ ! -d ${MODIPSL_SAVE} ] ) ; then 102 if ( [ X${MODIPSL_SAVE_NAME} = X ] || [ ! -d ${MODIPSL_SAVE} ] ) ; then 103 103 echo 'Error in SaveSourceModifications: no MODIPSL_SAVE_NAME avaible. We STOP' 104 104 exit 1 -
trunk/libIGCM/AA_additionnal
r880 r906 2 2 #-Q- curie ## CURIE TGCC/CEA ## 3 3 #-Q- curie ###################### 4 #-Q- curie #MSUB -r ATL_ADD # Nom du job 4 #-Q- curie #MSUB -r ATL_ADD # Nom du job 5 5 #-Q- curie #MSUB -eo 6 6 #-Q- curie #MSUB -n 1 # Reservation du processus … … 20 20 #-Q- ada # Nom du travail LoadLeveler 21 21 #-Q- ada # @ job_name = ATL_ADD 22 #-Q- ada # Fichier de sortie standard du travail 22 #-Q- ada # Fichier de sortie standard du travail 23 23 #-Q- ada # @ output = $(job_name).$(jobid) 24 24 #-Q- ada # Fichier de sortie d'erreur du travail … … 73 73 74 74 #D- Task type (computing or post-processing) 75 TaskType=post-processing 75 TaskType=post-processing 76 76 77 77 ######################################################################### … … 106 106 107 107 # -------------------------------------------- 108 # Insert your commands between III...III lines 108 # Insert your commands between III...III lines 109 109 # and precise produced directories to save 110 110 # IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII … … 120 120 121 121 # Put ferret journal files together 122 for file in $( ls ${R_ATLAS}/ADD/*/*jnl ) ; do 123 echo -e "\n\n################################" ; 124 echo -e "$file\n" ; cat $file ; 122 for file in $( ls ${R_ATLAS}/ADD/*/*jnl ) ; do 123 echo -e "\n\n################################" ; 124 echo -e "$file\n" ; cat $file ; 125 125 done > ${R_ATLAS}/ADD/allferretscript.txt 126 126 -
trunk/libIGCM/AA_atlas_LMDZ
r903 r906 132 132 133 133 # -------------------------------------------- 134 # Insert your commands between III...III lines 134 # Insert your commands between III...III lines 135 135 # and precise produced directories to save 136 136 # IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII … … 148 148 149 149 # Put ferret journal files together 150 for file in $( ls ${R_ATLAS}/ATM/*/*jnl ) ; do 151 echo -e "\n\n################################" ; 152 echo -e "$file\n" ; cat $file ; 150 for file in $( ls ${R_ATLAS}/ATM/*/*jnl ) ; do 151 echo -e "\n\n################################" ; 152 echo -e "$file\n" ; cat $file ; 153 153 done > ${R_ATLAS}/ATM/allferretscript.txt 154 154 -
trunk/libIGCM/AA_atlas_ORCA_LIM
r903 r906 66 66 67 67 #set -eu 68 #set -vx 68 #set -vx 69 69 70 70 date … … 90 90 ######################################################################## 91 91 92 #set -vx 92 #set -vx 93 93 94 94 IGCM_sys_MkdirWork ${RUN_DIR_PATH} … … 156 156 # Put ferret journal files together 157 157 for file in $( ls ${R_ATLAS}/OCE_T/*/*jnl ) ; do 158 echo -e "\n\n################################" ; 159 echo -e "$file\n" ; cat $file ; 158 echo -e "\n\n################################" ; 159 echo -e "$file\n" ; cat $file ; 160 160 done > ${R_ATLAS}/OCE_T/allferretscript.txt 161 161 162 for file in $( ls ${R_ATLAS}/OCE_U/*/*jnl ) ; do 163 echo -e "\n\n################################" ; 164 echo -e "$file\n" ; cat $file ; 162 for file in $( ls ${R_ATLAS}/OCE_U/*/*jnl ) ; do 163 echo -e "\n\n################################" ; 164 echo -e "$file\n" ; cat $file ; 165 165 done > ${R_ATLAS}/OCE_U/allferretscript.txt 166 166 167 for file in $( ls ${R_ATLAS}/OCE_V/*/*jnl ) ; do 168 echo -e "\n\n################################" ; 169 echo -e "$file\n" ; cat $file ; 167 for file in $( ls ${R_ATLAS}/OCE_V/*/*jnl ) ; do 168 echo -e "\n\n################################" ; 169 echo -e "$file\n" ; cat $file ; 170 170 done > ${R_ATLAS}/OCE_V/allferretscript.txt 171 171 172 for file in $( ls ${R_ATLAS}/OCE/*/*jnl ) ; do 173 echo -e "\n\n################################" ; 174 echo -e "$file\n" ; cat $file ; 172 for file in $( ls ${R_ATLAS}/OCE/*/*jnl ) ; do 173 echo -e "\n\n################################" ; 174 echo -e "$file\n" ; cat $file ; 175 175 done > ${R_ATLAS}/OCE/allferretscript.txt 176 176 177 for file in $( ls ${R_ATLAS}/ICE/*/*jnl ) ; do 178 echo -e "\n\n################################" ; 179 echo -e "$file\n" ; cat $file ; 177 for file in $( ls ${R_ATLAS}/ICE/*/*jnl ) ; do 178 echo -e "\n\n################################" ; 179 echo -e "$file\n" ; cat $file ; 180 180 done > ${R_ATLAS}/ICE/allferretscript.txt 181 181 … … 197 197 198 198 IGCM_sys_Rm -Rf ATLAS 199 IGCM_sys_Rm ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_[TUVW].nc 199 IGCM_sys_Rm ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_[TUVW].nc 200 200 IGCM_sys_Rm ${config_UserChoices_JobName}_SE_${YEARS}_1M_icemod.nc 201 201 # WHILE WAITING FOR A MORE GENERIC SOLUTION 202 202 if ( [ ${config_UserChoices_TagName} = "IPSLCM5" ] || [ ${config_UserChoices_TagName} = "IPSLCM5A" ] || [ ${config_UserChoices_TagName} = "IPSLCM5A-MR" ] || [ ${config_UserChoices_TagName} = "ORCA2_LIM2" ] || [ ${config_UserChoices_TagName} = "ORCA2_LIM2_PISCES" ] ) ; then 203 IGCM_sys_Rm ${config_UserChoices_JobName}_SE_${YEARS}_1M_diaptr.nc ; 203 IGCM_sys_Rm ${config_UserChoices_JobName}_SE_${YEARS}_1M_diaptr.nc ; 204 204 fi 205 205 -
trunk/libIGCM/AA_atlas_ORCHIDEE
r903 r906 2 2 #-Q- curie ## CURIE TGCC/CEA ## 3 3 #-Q- curie ###################### 4 #-Q- curie #MSUB -r ATL_ORCH # Nom du job 4 #-Q- curie #MSUB -r ATL_ORCH # Nom du job 5 5 #-Q- curie #MSUB -eo 6 6 #-Q- curie #MSUB -n 1 # Reservation du processus … … 20 20 #-Q- ada # Nom du travail LoadLeveler 21 21 #-Q- ada # @ job_name = ATL_ORCH 22 #-Q- ada # Fichier de sortie standard du travail 22 #-Q- ada # Fichier de sortie standard du travail 23 23 #-Q- ada # @ output = $(job_name).$(jobid) 24 24 #-Q- ada # Fichier de sortie d'erreur du travail … … 43 43 #-Q- titane ## TITANE CEA ## 44 44 #-Q- titane ###################### 45 #-Q- titane #MSUB -r ATL_ORCH # Nom du job 45 #-Q- titane #MSUB -r ATL_ORCH # Nom du job 46 46 #-Q- titane #MSUB -eo 47 47 #-Q- titane #MSUB -n 1 # Reservation du processus … … 99 99 ######################################################################## 100 100 101 #set -vx 101 #set -vx 102 102 103 103 IGCM_sys_MkdirWork ${RUN_DIR_PATH} … … 142 142 143 143 # -------------------------------------------- 144 # Insert your commands between III...III lines 144 # Insert your commands between III...III lines 145 145 # and precise produced directories to save 146 146 # IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII … … 155 155 156 156 # Put ferret journal files together 157 for file in $( ls ${R_ATLAS}/SRF/*/*jnl ) ; do 158 echo -e "\n\n################################" ; 159 echo -e "$file\n" ; cat $file ; 157 for file in $( ls ${R_ATLAS}/SRF/*/*jnl ) ; do 158 echo -e "\n\n################################" ; 159 echo -e "$file\n" ; cat $file ; 160 160 done > ${R_ATLAS}/SRF/allferretscript.txt 161 161 -
trunk/libIGCM/AA_atlas_PISCES
r903 r906 2 2 #-Q- curie ## CURIE TGCC/CEA ## 3 3 #-Q- curie ###################### 4 #-Q- curie #MSUB -r ATL_PIS # Nom du job 4 #-Q- curie #MSUB -r ATL_PIS # Nom du job 5 5 #-Q- curie #MSUB -eo 6 6 #-Q- curie #MSUB -n 1 # Reservation du processus … … 20 20 #-Q- ada # Nom du travail LoadLeveler 21 21 #-Q- ada # @ job_name = ATL_PIS 22 #-Q- ada # Fichier de sortie standard du travail 22 #-Q- ada # Fichier de sortie standard du travail 23 23 #-Q- ada # @ output = $(job_name).$(jobid) 24 24 #-Q- ada # Fichier de sortie d'erreur du travail … … 66 66 67 67 #set -eu 68 #set -vx 68 #set -vx 69 69 70 70 date … … 90 90 ######################################################################## 91 91 92 #set -vx 92 #set -vx 93 93 94 94 IGCM_sys_MkdirWork ${RUN_DIR_PATH} -
trunk/libIGCM/AA_clean_month
r896 r906 73 73 74 74 #================================== 75 # Is the pack active 75 # Is the pack active 76 76 if ( [ ! X${config_Post_PackFrequency} = X${NULL_STR} ] && [ ! X${config_Post_PackFrequency} = XNONE ] ) ; then 77 77 Pack=true … … 81 81 [ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" 82 82 83 if [ ! -f ${SUBMIT_DIR}/run.card ]; then 83 if [ ! -f ${SUBMIT_DIR}/run.card ]; then 84 84 echo "You seem NOT to have a run.card in this directory !!" 85 85 echo "This script will fail because it doesn't know what to do without run.card available." … … 121 121 122 122 IGCM_debug_Print 1 "Number of files to be erased : ${CountListFiles}." 123 if ( [ ${CountListFiles} -gt 0 ] || [ ${CountListFilesBuf} -gt 0 ] ) ; then 123 if ( [ ${CountListFiles} -gt 0 ] || [ ${CountListFilesBuf} -gt 0 ] ) ; then 124 124 for file in ${ListFiles[@]} ; do 125 125 IGCM_debug_Print 2 -e "\033[1;31m ${file}\033[m" … … 149 149 fi 150 150 151 if [ ${CountRebuildDir} -gt 0 ] ; then 151 if [ ${CountRebuildDir} -gt 0 ] ; then 152 152 IGCM_debug_Print 1 "Number of REBUILD Dirs to be erased : ${CountRebuildDir}." 153 153 for Dir in ${RebuildDir[@]} ; do -
trunk/libIGCM/AA_clean_year
r832 r906 73 73 74 74 #================================== 75 # Is the pack active 75 # Is the pack active 76 76 if ( [ ! X${config_Post_PackFrequency} = X${NULL_STR} ] && \ 77 77 [ ! X${config_Post_PackFrequency} = XNONE ] ) ; then … … 82 82 [ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" 83 83 84 if [ ! -f ${SUBMIT_DIR}/run.card ]; then 84 if [ ! -f ${SUBMIT_DIR}/run.card ]; then 85 85 echo "You seem NOT to have a run.card in this directory !!" 86 86 echo "This script will fail because it doesn't know what to do without run.card available." … … 107 107 108 108 if [ $# == 1 ] ; then 109 if [ ${#1} != 4 ] ; then 109 if [ ${#1} != 4 ] ; then 110 110 echo "You must give a year (SSAA) as argument." 111 111 exit 1 … … 157 157 158 158 159 if ( [ ${CountListFiles} -gt 0 ] || [ ${CountListFilesBuf} -gt 0 ] ) ; then 159 if ( [ ${CountListFiles} -gt 0 ] || [ ${CountListFilesBuf} -gt 0 ] ) ; then 160 160 IGCM_debug_Print 1 "Number of files to be erased from ${R_SAVE} : ${CountListFiles}." 161 161 for file in ${ListFiles[@]} ; do … … 188 188 fi 189 189 190 if [ ${CountRebuildDir} -gt 0 ] ; then 190 if [ ${CountRebuildDir} -gt 0 ] ; then 191 191 IGCM_debug_Print 1 "Number of REBUILD Dirs to be erased : ${CountRebuildDir}." 192 192 for Dir in ${RebuildDir[@]} ; do … … 265 265 else 266 266 #Â Update run.card 267 cp ${SUBMIT_DIR}/run.card ${SUBMIT_DIR}/run.card.old 267 cp ${SUBMIT_DIR}/run.card ${SUBMIT_DIR}/run.card.old 268 268 IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "OnQueue" 269 269 IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration CumulPeriod ${NewCumulPeriod} -
trunk/libIGCM/AA_create_multi_se
r903 r906 309 309 (( an = an_multi_deb )) 310 310 # Initialize array 311 #set -A liste_file_se312 #set -A liste_file_se_tmp313 311 unset liste_file_se 314 312 unset liste_file_se_tmp … … 319 317 (( an_fin = an_deb + freq - 1 )) 320 318 date=${an_deb}_${an_fin} 321 #set +A liste_file_se ${liste_file_se[*]} ${file_path}${config_UserChoices_JobName}_${date}_${file}.nc 322 #set +A liste_file_se_tmp ${liste_file_se_tmp[*]} ${config_UserChoices_JobName}_${date}_${file}.nc 319 # 323 320 liste_file_se[${#liste_file_se[*]}]=${file_path}${config_UserChoices_JobName}_SE_${date}_${file}.nc 324 321 liste_file_se_tmp[${#liste_file_se_tmp[*]}]=${config_UserChoices_JobName}_SE_${date}_${file}.nc … … 363 360 IGCM_sys_Rm ${OUT_SE[*]} 364 361 365 # Put correct climatological axis following calendar 362 # Put correct climatological axis following calendar 366 363 case ${config_UserChoices_CalendarType} in 367 364 360d|360_day) -
trunk/libIGCM/AA_create_ts
r903 r906 2 2 #-Q- curie ## CURIE TGCC/CEA ## 3 3 #-Q- curie ###################### 4 #-Q- curie #MSUB -r TS # Nom du job 4 #-Q- curie #MSUB -r TS # Nom du job 5 5 #-Q- curie #MSUB -eo 6 6 #-Q- curie #MSUB -n 1 # Reservation du processus … … 43 43 #-Q- titane ## TITANE CEA ## 44 44 #-Q- titane ###################### 45 #-Q- titane #MSUB -r TS # Nom du job 45 #-Q- titane #MSUB -r TS # Nom du job 46 46 #-Q- titane #MSUB -eo 47 47 #-Q- titane #MSUB -n 1 # Reservation du processus … … 107 107 108 108 #D- Flag to determine if rebuild process has been performed asynchronously 109 #D- Possible value true or false. 109 #D- Possible value true or false. 110 110 #D- If true raw files has allready been patched by rebuild job 111 111 #D- If false create_ts will patch the raw files … … 167 167 168 168 # Useful cleaning function 169 MENAGE () 169 MENAGE () 170 170 { 171 171 [ -f $3 ] && ( IGCM_sys_RshArchive rm -f $1/$2 ;) … … 478 478 IGCM_sys_Cd ${RUN_DIR_PATH}/${comp} 479 479 # 480 #set -A liste_file481 480 unset liste_file 482 481 # … … 502 501 for var in $( eval echo \${LISTE_VARS_${file}[*]} ) ; do 503 502 # 504 #set +A liste_file ${liste_file[*]} ${file_path}/${TS_Dir}/${config_UserChoices_JobName}_${date}_${FlagDir}_${var}.nc505 503 liste_file[${#liste_file[*]}]=${file_path}/${TS_Dir}/${config_UserChoices_JobName}_${date}_${FlagDir}_${var}.nc 506 504 # … … 548 546 549 547 if [ ${NBRE_FILE_TOT} -le ${UNIX_MAX_LIMIT} ] ; then 550 NBRE_TOUR=1 548 NBRE_TOUR=1 551 549 elif [ ${NBRE_FILE_TOT}%${UNIX_MAX_LIMIT} -eq 0 ] ; then 552 let NBRE_TOUR=${NBRE_FILE_TOT}/${UNIX_MAX_LIMIT} 550 let NBRE_TOUR=${NBRE_FILE_TOT}/${UNIX_MAX_LIMIT} 553 551 else 554 552 let NBRE_TOUR=${NBRE_FILE_TOT}/${UNIX_MAX_LIMIT}+1 … … 557 555 CURRENT_LOOP=1 558 556 # THIS LOOP GIVES PARAMETERS FOR THE DATE'S LOOP ie : DATE_COURANTE, DATE_FIN. 559 # WE HAVE 3 LEVELS 557 # WE HAVE 3 LEVELS 560 558 # - LEVEL 1 : JUST ONE LOOP TO COMPLETE 561 559 # - LEVEL 2 : WE ARE IN THE "DEEP" LOOP … … 564 562 while [ ${CURRENT_LOOP} -le ${NBRE_TOUR} ] ; do 565 563 566 if [ ${NBRE_FILE_TOT} -le ${UNIX_MAX_LIMIT} ] ; then 564 if [ ${NBRE_FILE_TOT} -le ${UNIX_MAX_LIMIT} ] ; then 567 565 # - LEVEL 1 : JUST ONE LOOP TO COMPLETE 568 566 NBRE_FILE_LOOP=${NBRE_FILE_TOT} … … 582 580 583 581 LEVEL=1 584 DEPOT="TRUE" 582 DEPOT="TRUE" 585 583 elif [ ${CURRENT_LOOP} -ne ${NBRE_TOUR} ] ; then 586 584 # - LEVEL 2 : WE ARE IN THE "DEEP" LOOP … … 659 657 660 658 # Initialize array 661 #set -A liste_file662 #set -A liste_file_tmp663 659 unset liste_file 664 660 unset liste_file_tmp … … 676 672 Length2=$( IGCM_date_DaysInNextPeriod ${DATE_LOOP} ${config_UserChoices_PeriodLength} ) 677 673 DATE_LOOP=$( IGCM_date_AddDaysToGregorianDate ${DATE_LOOP} ${Length2} ) 678 679 #set +A liste_file ${liste_file[*]} ${file_path}${config_UserChoices_JobName}_${DATE_TAB}_${file}.nc680 #set +A liste_file_tmp ${liste_file_tmp[*]} ${config_UserChoices_JobName}_${DATE_TAB}_${file}.nc681 674 682 675 IGCM_sys_TestFileArchive ${file_path}${config_UserChoices_JobName}_${DATE_TAB}_${file}.nc … … 712 705 if [ ! X${RebuildFrequency} = Xtrue ] ; then 713 706 if [ X$( eval echo \${LISTE_PATCHES_${file}[0]} ) != X${NULL_STR} ]; then 714 for file_t in $( eval echo ${liste_file_tmp[*]} ); do 707 for file_t in $( eval echo ${liste_file_tmp[*]} ); do 715 708 for Patch in $( eval echo \${LISTE_PATCHES_${file}[*]} ); do 716 709 IGCM_${Patch} ${file_t} -
trunk/libIGCM/AA_move-and-rename
r832 r906 17 17 # Change SpaceName/ExperimentName/JobName names and path for a simulation during the run. 18 18 # !! Be careful that the job is suspended before using this script !! 19 # You may call this script with those four variables already defined, or modify directly 19 # You may call this script with those four variables already defined, or modify directly 20 20 # default values under here : 21 21 22 # New Name Space of this experience 22 # New Name Space of this experience 23 23 NEW_SpaceName=${NEW_SpaceName:=DEVT} 24 24 … … 112 112 fi 113 113 IGCM_debug_Print 3 "MOVE_and_RENAME_files all : ${VAR1}" 114 IGCM_debug_Print 3 " to ${FILE_OUT}." 114 IGCM_debug_Print 3 " to ${FILE_OUT}." 115 115 116 116 (( ifile = 0 )) … … 119 119 RET=$? 120 120 (( ifile = ifile + 1 )) 121 done 121 done 122 122 123 123 IGCM_debug_PopStack "MOVE_and_RENAME_files" … … 169 169 fi 170 170 171 # We temporary change ${run_Configuration_PeriodState} to 171 # We temporary change ${run_Configuration_PeriodState} to 172 172 if [ -f ${SUBMIT_DIR}/run.card ] ; then 173 173 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/run.card Configuration PeriodState -
trunk/libIGCM/AA_rebuild_fromArchive
r880 r906 2 2 #-Q- curie ## CURIE TGCC/CEA ## 3 3 #-Q- curie ###################### 4 #-Q- curie #MSUB -r REBUILDARCH # Nom du job 4 #-Q- curie #MSUB -r REBUILDARCH # Nom du job 5 5 #-Q- curie #MSUB -eo 6 6 #-Q- curie #MSUB -n 1 # Reservation du processus … … 105 105 RebuildFromArchive=${RebuildFromArchive:=true} 106 106 107 #D- Directory where files we need to rebuild are store 107 #D- Directory where files we need to rebuild are store 108 108 #D- Default : value from AA_job if any 109 109 #D- if RebuildFromArchive=true REBUILD_DIR=${DMFDIR}/IGCM_OUT/.../JobName/TMP -
trunk/libIGCM/AA_rebuild_fromWorkdir
r880 r906 105 105 RebuildFromArchive=${RebuildFromArchive:=false} 106 106 107 #D- Directory where files we need to rebuild are store 107 #D- Directory where files we need to rebuild are store 108 108 #D- Default : value from AA_job if any 109 109 #D- if RebuildFromArchive=true REBUILD_DIR=${DMFDIR}/IGCM_OUT/.../JobName/TMP
Note: See TracChangeset
for help on using the changeset viewer.