Changeset 716 for trunk/libIGCM/libIGCM_sys
- Timestamp:
- 10/12/12 10:43:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
r715 r716 1748 1748 echo "IGCM_sys_rebuild :" $@ 1749 1749 fi 1750 ~p86ipsl/CESIUM/bin/rebuild -f -o $@ 1750 1751 typeset NB_ESSAI DELAI status i 1752 # number of tentative 1753 NB_ESSAI=3 1754 # time delay between tentative 1755 DELAI=2 1756 1757 i=0 1758 while [ $i -lt $NB_ESSAI ] ; do 1759 ~p86ipsl/CESIUM/bin/rebuild -f -o $@ > out_rsync 2>&1 1760 status=$? 1761 if [ ${status} -gt 0 ] ; then 1762 IGCM_debug_Print 2 "IGCM_sys_rebuild : error code ${status}" 1763 cat out_rsync 1764 \rm out_rsync 1765 IGCM_debug_Print 2 "IGCM_sys_rebuild : ${i}/${NB_ESSAI} sleep ${DELAI} seconds and try again." 1766 else 1767 \rm out_rsync 1768 break 1769 fi 1770 (( i = i + 1 )) 1771 done 1772 1751 1773 if [ $? -gt 0 ] ; then 1752 echo "IGCM_sys_rebuild : erreur ${@}."1774 echo "IGCM_sys_rebuild : rebuild error" 1753 1775 IGCM_debug_Exit "rebuild" 1754 1776 fi
Note: See TracChangeset
for help on using the changeset viewer.