Changeset 1057
- Timestamp:
- 09/23/14 11:16:24 (10 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r1056 r1057 81 81 # TEST simulations will not be packed and will stay on SCRATCHDIR filesystem 82 82 IGCM_debug_Print 1 "SpaceName=TEST. OVERRULE PackFrequency to NONE" 83 IGCM_debug_Print 1 "SpaceName=TEST. OVERRULE destination path directories"84 83 config_Post_PackFrequency=NONE 85 IGCM_sys_ChangeArchive86 84 else 87 85 # Default to RebuildFrequency if nothing has been set up related to PackFrequency … … 92 90 config_Post_PackFrequency=NONE 93 91 fi 92 93 #==================================================== 94 # Define ARCHIVE : Dedicated to large files 95 # Define STORAGE : Dedicated to small/medium files 96 # Define R_OUT : Output tree located on ARCHIVE 97 # Define R_FIG : Output tree located on STORAGE hosting figures (monitoring and atlas, and/or small files) 98 # Define R_BUF : USELESS and DEPRECATED output tree. 99 IGCM_sys_defineArchives 94 100 95 101 #==================================================== -
trunk/libIGCM/libIGCM_post/libIGCM_post.ksh
r1043 r1057 640 640 function IGCM_post_CheckModuloFrequency 641 641 { 642 IGCM_debug_PushStack "IGCM_post_CheckModuloFrequency" $ *642 IGCM_debug_PushStack "IGCM_post_CheckModuloFrequency" $@ 643 643 644 644 # Used by IGCM_config_Check … … 764 764 function IGCM_post_ModuloRuntimeFrequency 765 765 { 766 IGCM_debug_PushStack "IGCM_post_ModuloRuntimeFrequency" $ *766 IGCM_debug_PushStack "IGCM_post_ModuloRuntimeFrequency" $@ 767 767 768 768 # Used by IGCM_post_Configure -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_ada.ksh
r1055 r1057 125 125 126 126 #==================================================== 127 #- ARCHIVE (dedicated to large files)128 typeset ARCHIVE=$(echo ${HOME} | sed -e "s,/.*home/,/arch/home/,")129 130 #====================================================131 #- STORAGE (dedicated to small/medium files)132 typeset STORAGE=${WORKDIR}133 134 #====================================================135 #- R_OUT136 typeset R_OUT=${ARCHIVE}/IGCM_OUT137 138 #====================================================139 #- R_FIG (hosting figures : monitoring and atlas, and/or small files)140 typeset R_FIG=${ARCHIVE}/IGCM_OUT141 142 #====================================================143 #- R_BUF (ONLY FOR double copy an scratch)144 typeset -r R_BUF=${WORKDIR}/IGCM_OUT145 146 #====================================================147 127 #- RUN_DIR_PATH : Temporary working directory (=> TMP) 148 128 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${TMPDIR}} … … 157 137 158 138 #==================================================== 159 #- set PackDefault true on curie139 #- set PackDefault true on ada 160 140 PackDefault=true 161 141 … … 174 154 175 155 #D-#================================================== 176 #D-function IGCM_sys_ChangeArchive 177 #D-* Purpose: if SpaceName=TEST everything is stored on SCRATCHDIR 178 #D-* Examples: 179 #D- 180 function IGCM_sys_ChangeArchive { 181 IGCM_debug_PushStack "IGCM_sys_ChangeArchive" 182 183 R_OUT=${WORKDIR}/IGCM_OUT 184 R_FIG=${WORKDIR}/IGCM_OUT 185 186 IGCM_debug_Print 1 "R_OUT has been redefined = ${R_OUT}" 187 IGCM_debug_Print 1 "R_FIG has been redefined = ${R_FIG}" 188 189 IGCM_debug_PopStack "IGCM_sys_ChangeArchive" 156 #D-function IGCM_sys_defineArchives 157 #D-* Purpose: 158 #D-* Define ARCHIVE : Dedicated to large files 159 #D-* Define STORAGE : Dedicated to small/medium files 160 #D-* Define R_OUT : Output tree located on ARCHIVE 161 #D-* Define R_FIG : Output tree located on STORAGE hosting figures (monitoring and atlas, and/or small files) 162 #D-* Define R_BUF : Output tree located on SCRATCHDIR hosting files waiting for rebuild or pack processes 163 #D-* if SpaceName=TEST everything is stored on WORKDIR 164 #D-* Examples: 165 #D- 166 function IGCM_sys_defineArchives { 167 IGCM_debug_PushStack "IGCM_sys_defineArchives" 168 169 if [ ! X${config_UserChoices_Archive} = X ]; then 170 #==================================================== 171 #- ARCHIVE (dedicated to large files) 172 typeset ARCHIVE=${config_UserChoices_Archive} 173 else 174 #==================================================== 175 #- ARCHIVE (dedicated to large files) 176 typeset ARCHIVE=$(echo ${HOME} | sed -e "s,/.*home/,/arch/home/,") 177 fi 178 179 if [ ! X${config_UserChoices_Storage} = X ]; then 180 #==================================================== 181 #- STORAGE (dedicated to small/medium files) 182 typeset STORAGE=${config_UserChoices_Storage} 183 else 184 #==================================================== 185 #- STORAGE (dedicated to small/medium files) 186 typeset STORAGE=${WORKDIR} 187 fi 188 189 if [ X${config_UserChoices_SpaceName} = XTEST ]; then 190 #==================================================== 191 #- R_OUT 192 typeset R_OUT=${WORKDIR}/IGCM_OUT 193 194 #==================================================== 195 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 196 typeset R_FIG=${WORKDIR}/IGCM_OUT 197 198 IGCM_debug_Print 1 "SpaceName=TEST ==> OVERRULE destination path directories" 199 200 else 201 #==================================================== 202 #- R_OUT 203 typeset R_OUT=${ARCHIVE}/IGCM_OUT 204 205 #==================================================== 206 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 207 typeset R_FIG=${ARCHIVE}/IGCM_OUT 208 fi 209 210 #==================================================== 211 #- R_BUF (ONLY FOR double copy an scratch) 212 typeset -r R_BUF=${WORKDIR}/IGCM_OUT 213 214 IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" 215 IGCM_debug_Print 1 "R_BUF has been defined = ${R_BUF}" 216 IGCM_debug_Print 1 "R_FIG has been defined = ${R_FIG}" 217 218 IGCM_debug_PopStack "IGCM_sys_defineArchives" 190 219 } 191 220 … … 443 472 #D- 444 473 function IGCM_sys_Chmod { 445 IGCM_debug_PushStack "IGCM_sys_Chmod" --$@474 IGCM_debug_PushStack "IGCM_sys_Chmod" $@ 446 475 if ( $DEBUG_sys ) ; then 447 476 echo "IGCM_sys_Chmod :" $@ … … 953 982 #D- 954 983 function IGCM_sys_Rm { 955 IGCM_debug_PushStack "IGCM_sys_Rm" --$@984 IGCM_debug_PushStack "IGCM_sys_Rm" $@ 956 985 if ( $DEBUG_sys ) ; then 957 986 echo "IGCM_sys_Rm :" $@ … … 981 1010 #D- 982 1011 function IGCM_sys_RmRunDir { 983 IGCM_debug_PushStack "IGCM_sys_RmRunDir" --$@1012 IGCM_debug_PushStack "IGCM_sys_RmRunDir" $@ 984 1013 if ( $DEBUG_sys ) ; then 985 1014 echo "IGCM_sys_RmRunDir :" $@ … … 1726 1755 #D- 1727 1756 function IGCM_sys_rebuild { 1728 IGCM_debug_PushStack "IGCM_sys_rebuild" --$@1757 IGCM_debug_PushStack "IGCM_sys_rebuild" $@ 1729 1758 if ( $DEBUG_sys ) ; then 1730 1759 echo "IGCM_sys_rebuild :" $@ … … 1770 1799 #D- 1771 1800 function IGCM_sys_rebuild_station { 1772 IGCM_debug_PushStack "IGCM_sys_rebuild_station" --$@1801 IGCM_debug_PushStack "IGCM_sys_rebuild_station" $@ 1773 1802 typeset i list_opt file_in file_out prefix_invert list_invert 1774 1803 if ( $DEBUG_sys ) ; then … … 2181 2210 #D- 2182 2211 function IGCM_sys_ncap2 { 2183 IGCM_debug_PushStack "IGCM_sys_ncap2" --$@2212 IGCM_debug_PushStack "IGCM_sys_ncap2" $@ 2184 2213 if ( $DEBUG_sys ) ; then 2185 2214 echo "IGCM_sys_ncap2 :" $@ … … 2223 2252 #D- 2224 2253 function IGCM_sys_ncatted { 2225 IGCM_debug_PushStack "IGCM_sys_ncatted" --$@2254 IGCM_debug_PushStack "IGCM_sys_ncatted" $@ 2226 2255 if ( $DEBUG_sys ) ; then 2227 2256 echo "IGCM_sys_ncatted :" $@ … … 2265 2294 #D- 2266 2295 function IGCM_sys_ncbo { 2267 IGCM_debug_PushStack "IGCM_sys_ncbo" --$@2296 IGCM_debug_PushStack "IGCM_sys_ncbo" $@ 2268 2297 if ( $DEBUG_sys ) ; then 2269 2298 echo "IGCM_sys_ncbo :" $@ … … 2307 2336 #D- 2308 2337 function IGCM_sys_ncdiff { 2309 IGCM_debug_PushStack "IGCM_sys_ncdiff" --$@2338 IGCM_debug_PushStack "IGCM_sys_ncdiff" $@ 2310 2339 if ( $DEBUG_sys ) ; then 2311 2340 echo "IGCM_sys_ncdiff :" $@ … … 2349 2378 #D- 2350 2379 function IGCM_sys_ncea { 2351 IGCM_debug_PushStack "IGCM_sys_ncea" --$@2380 IGCM_debug_PushStack "IGCM_sys_ncea" $@ 2352 2381 if ( $DEBUG_sys ) ; then 2353 2382 echo "IGCM_sys_ncea :" $@ … … 2391 2420 #D- 2392 2421 function IGCM_sys_ncecat { 2393 IGCM_debug_PushStack "IGCM_sys_ncecat" --$@2422 IGCM_debug_PushStack "IGCM_sys_ncecat" $@ 2394 2423 if ( $DEBUG_sys ) ; then 2395 2424 echo "IGCM_sys_ncecat :" $@ … … 2433 2462 #D- 2434 2463 function IGCM_sys_ncflint { 2435 IGCM_debug_PushStack "IGCM_sys_ncflint" --$@2464 IGCM_debug_PushStack "IGCM_sys_ncflint" $@ 2436 2465 if ( $DEBUG_sys ) ; then 2437 2466 echo "IGCM_sys_ncflint :" $@ … … 2475 2504 #D- 2476 2505 function IGCM_sys_ncks { 2477 IGCM_debug_PushStack "IGCM_sys_ncks" --$@2506 IGCM_debug_PushStack "IGCM_sys_ncks" $@ 2478 2507 if ( $DEBUG_sys ) ; then 2479 2508 echo "IGCM_sys_ncks :" $@ … … 2517 2546 #D- 2518 2547 function IGCM_sys_ncpdq { 2519 IGCM_debug_PushStack "IGCM_sys_ncpdq" --$@2548 IGCM_debug_PushStack "IGCM_sys_ncpdq" $@ 2520 2549 if ( $DEBUG_sys ) ; then 2521 2550 echo "IGCM_sys_ncpdq :" $@ … … 2559 2588 #D- 2560 2589 function IGCM_sys_ncra { 2561 IGCM_debug_PushStack "IGCM_sys_ncra" --$@2590 IGCM_debug_PushStack "IGCM_sys_ncra" $@ 2562 2591 if ( $DEBUG_sys ) ; then 2563 2592 echo "IGCM_sys_ncra :" $@ … … 2601 2630 #D- 2602 2631 function IGCM_sys_ncrcat { 2603 IGCM_debug_PushStack "IGCM_sys_ncrcat" --$@2632 IGCM_debug_PushStack "IGCM_sys_ncrcat" $@ 2604 2633 if ( $DEBUG_sys ) ; then 2605 2634 echo "IGCM_sys_ncrcat :" $@ … … 2653 2682 #D- 2654 2683 function IGCM_sys_ncrename { 2655 IGCM_debug_PushStack "IGCM_sys_ncrename" --$@2684 IGCM_debug_PushStack "IGCM_sys_ncrename" $@ 2656 2685 if ( $DEBUG_sys ) ; then 2657 2686 echo "IGCM_sys_ncrename :" $@ … … 2695 2724 #D- 2696 2725 function IGCM_sys_ncwa { 2697 IGCM_debug_PushStack "IGCM_sys_ncwa" --$@2726 IGCM_debug_PushStack "IGCM_sys_ncwa" $@ 2698 2727 if ( $DEBUG_sys ) ; then 2699 2728 echo "IGCM_sys_ncwa :" $@ … … 2740 2769 #D- 2741 2770 function IGCM_sys_cdo { 2742 IGCM_debug_PushStack "IGCM_sys_cdo" --$@2771 IGCM_debug_PushStack "IGCM_sys_cdo" $@ 2743 2772 if ( $DEBUG_sys ) ; then 2744 2773 echo "IGCM_sys_cdo :" $@ -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
r1056 r1057 159 159 160 160 #==================================================== 161 #- ARCHIVE (dedicated to large files)162 typeset ARCHIVE=${CCCSTOREDIR}163 164 #====================================================165 #- STORAGE (dedicated to small/medium files)166 typeset STORAGE=${CCCWORKDIR}167 168 #====================================================169 #- R_OUT170 typeset R_OUT=${ARCHIVE}/IGCM_OUT171 172 #====================================================173 #- R_FIG (hosting figures : monitoring and atlas, and/or small files)174 typeset R_FIG=${STORAGE}/IGCM_OUT175 176 #====================================================177 #- R_BUF (ONLY FOR double copy an scratch)178 typeset -r R_BUF=${SCRATCHDIR}/IGCM_OUT179 180 #====================================================181 161 #- RUN_DIR_PATH : Temporary working directory (=> TMP) 182 162 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${SCRATCHDIR}/RUN_DIR/${BRIDGE_MSUB_JOBID}_${$}} … … 208 188 209 189 #D-#================================================== 210 #D-function IGCM_sys_ChangeArchive 211 #D-* Purpose: if SpaceName=TEST everything is stored on SCRATCHDIR 212 #D-* Examples: 213 #D- 214 function IGCM_sys_ChangeArchive { 215 IGCM_debug_PushStack "IGCM_sys_ChangeArchive" 216 217 R_OUT=${SCRATCHDIR}/IGCM_OUT 218 R_FIG=${SCRATCHDIR}/IGCM_OUT 219 220 IGCM_debug_Print 1 "R_OUT has been redefined = ${R_OUT}" 221 IGCM_debug_Print 1 "R_FIG has been redefined = ${R_FIG}" 222 223 IGCM_debug_PopStack "IGCM_sys_ChangeArchive" 190 #D-function IGCM_sys_defineArchives 191 #D-* Purpose: 192 #D-* Define ARCHIVE : Dedicated to large files 193 #D-* Define STORAGE : Dedicated to small/medium files 194 #D-* Define R_OUT : Output tree located on ARCHIVE 195 #D-* Define R_FIG : Output tree located on STORAGE hosting figures (monitoring and atlas, and/or small files) 196 #D-* Define R_BUF : Output tree located on SCRATCHDIR hosting files waiting for rebuild or pack processes 197 #D-* if SpaceName=TEST everything is stored on SCRATCHDIR 198 #D-* Examples: 199 #D- 200 function IGCM_sys_defineArchives { 201 IGCM_debug_PushStack "IGCM_sys_defineArchives" 202 203 if [ ! X${config_UserChoices_Archive} = X ]; then 204 #==================================================== 205 #- ARCHIVE (dedicated to large files) 206 typeset ARCHIVE=${config_UserChoices_Archive} 207 else 208 #==================================================== 209 #- ARCHIVE (dedicated to large files) 210 typeset ARCHIVE=${CCCSTOREDIR} 211 fi 212 213 if [ ! X${config_UserChoices_Storage} = X ]; then 214 #==================================================== 215 #- STORAGE (dedicated to small/medium files) 216 typeset STORAGE=${config_UserChoices_Storage} 217 else 218 #==================================================== 219 #- STORAGE (dedicated to small/medium files) 220 typeset STORAGE=${CCCWORKDIR} 221 fi 222 223 if [ X${config_UserChoices_SpaceName} = XTEST ]; then 224 #==================================================== 225 #- R_OUT 226 typeset R_OUT=${SCRATCHDIR}/IGCM_OUT 227 228 #==================================================== 229 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 230 typeset R_FIG=${SCRATCHDIR}/IGCM_OUT 231 232 IGCM_debug_Print 1 "SpaceName=TEST ==> OVERRULE destination path directories" 233 234 else 235 #==================================================== 236 #- R_OUT 237 typeset R_OUT=${ARCHIVE}/IGCM_OUT 238 239 #==================================================== 240 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 241 typeset R_FIG=${STORAGE}/IGCM_OUT 242 fi 243 244 #==================================================== 245 #- R_BUF (ONLY FOR double copy an scratch) 246 typeset -r R_BUF=${SCRATCHDIR}/IGCM_OUT 247 248 IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" 249 IGCM_debug_Print 1 "R_BUF has been defined = ${R_BUF}" 250 IGCM_debug_Print 1 "R_FIG has been defined = ${R_FIG}" 251 252 IGCM_debug_PopStack "IGCM_sys_defineArchives" 224 253 } 225 254 … … 488 517 #D- 489 518 function IGCM_sys_Chmod { 490 IGCM_debug_PushStack "IGCM_sys_Chmod" --$@519 IGCM_debug_PushStack "IGCM_sys_Chmod" $@ 491 520 if ( $DEBUG_sys ) ; then 492 521 echo "IGCM_sys_Chmod :" $@ … … 903 932 #D- 904 933 function IGCM_sys_Rm { 905 IGCM_debug_PushStack "IGCM_sys_Rm" --$@934 IGCM_debug_PushStack "IGCM_sys_Rm" $@ 906 935 if ( $DEBUG_sys ) ; then 907 936 echo "IGCM_sys_Rm :" $@ … … 931 960 #D- 932 961 function IGCM_sys_RmRunDir { 933 IGCM_debug_PushStack "IGCM_sys_RmRunDir" --$@962 IGCM_debug_PushStack "IGCM_sys_RmRunDir" $@ 934 963 if ( $DEBUG_sys ) ; then 935 964 echo "IGCM_sys_RmRunDir :" $@ … … 1886 1915 #D- 1887 1916 function IGCM_sys_rebuild { 1888 IGCM_debug_PushStack "IGCM_sys_rebuild" --$@1917 IGCM_debug_PushStack "IGCM_sys_rebuild" $@ 1889 1918 if ( $DEBUG_sys ) ; then 1890 1919 echo "IGCM_sys_rebuild :" $@ … … 1930 1959 #D- 1931 1960 function IGCM_sys_rebuild_station { 1932 IGCM_debug_PushStack "IGCM_sys_rebuild_station" --$@1961 IGCM_debug_PushStack "IGCM_sys_rebuild_station" $@ 1933 1962 typeset i list_opt file_in file_out prefix_invert list_invert 1934 1963 if ( $DEBUG_sys ) ; then … … 2569 2598 #D- 2570 2599 function IGCM_sys_ncap2 { 2571 IGCM_debug_PushStack "IGCM_sys_ncap2" --$@2600 IGCM_debug_PushStack "IGCM_sys_ncap2" $@ 2572 2601 if ( $DEBUG_sys ) ; then 2573 2602 echo "IGCM_sys_ncap2 :" $@ … … 2611 2640 #D- 2612 2641 function IGCM_sys_ncatted { 2613 IGCM_debug_PushStack "IGCM_sys_ncatted" --$@2642 IGCM_debug_PushStack "IGCM_sys_ncatted" $@ 2614 2643 if ( $DEBUG_sys ) ; then 2615 2644 echo "IGCM_sys_ncatted :" $@ … … 2653 2682 #D- 2654 2683 function IGCM_sys_ncbo { 2655 IGCM_debug_PushStack "IGCM_sys_ncbo" --$@2684 IGCM_debug_PushStack "IGCM_sys_ncbo" $@ 2656 2685 if ( $DEBUG_sys ) ; then 2657 2686 echo "IGCM_sys_ncbo :" $@ … … 2695 2724 #D- 2696 2725 function IGCM_sys_ncdiff { 2697 IGCM_debug_PushStack "IGCM_sys_ncdiff" --$@2726 IGCM_debug_PushStack "IGCM_sys_ncdiff" $@ 2698 2727 if ( $DEBUG_sys ) ; then 2699 2728 echo "IGCM_sys_ncdiff :" $@ … … 2737 2766 #D- 2738 2767 function IGCM_sys_ncea { 2739 IGCM_debug_PushStack "IGCM_sys_ncea" --$@2768 IGCM_debug_PushStack "IGCM_sys_ncea" $@ 2740 2769 if ( $DEBUG_sys ) ; then 2741 2770 echo "IGCM_sys_ncea :" $@ … … 2779 2808 #D- 2780 2809 function IGCM_sys_ncecat { 2781 IGCM_debug_PushStack "IGCM_sys_ncecat" --$@2810 IGCM_debug_PushStack "IGCM_sys_ncecat" $@ 2782 2811 if ( $DEBUG_sys ) ; then 2783 2812 echo "IGCM_sys_ncecat :" $@ … … 2821 2850 #D- 2822 2851 function IGCM_sys_ncflint { 2823 IGCM_debug_PushStack "IGCM_sys_ncflint" --$@2852 IGCM_debug_PushStack "IGCM_sys_ncflint" $@ 2824 2853 if ( $DEBUG_sys ) ; then 2825 2854 echo "IGCM_sys_ncflint :" $@ … … 2863 2892 #D- 2864 2893 function IGCM_sys_ncks { 2865 IGCM_debug_PushStack "IGCM_sys_ncks" --$@2894 IGCM_debug_PushStack "IGCM_sys_ncks" $@ 2866 2895 if ( $DEBUG_sys ) ; then 2867 2896 echo "IGCM_sys_ncks :" $@ … … 2905 2934 #D- 2906 2935 function IGCM_sys_ncpdq { 2907 IGCM_debug_PushStack "IGCM_sys_ncpdq" --$@2936 IGCM_debug_PushStack "IGCM_sys_ncpdq" $@ 2908 2937 if ( $DEBUG_sys ) ; then 2909 2938 echo "IGCM_sys_ncpdq :" $@ … … 2947 2976 #D- 2948 2977 function IGCM_sys_ncra { 2949 IGCM_debug_PushStack "IGCM_sys_ncra" --$@2978 IGCM_debug_PushStack "IGCM_sys_ncra" $@ 2950 2979 if ( $DEBUG_sys ) ; then 2951 2980 echo "IGCM_sys_ncra :" $@ … … 2989 3018 #D- 2990 3019 function IGCM_sys_ncrcat { 2991 IGCM_debug_PushStack "IGCM_sys_ncrcat" --$@3020 IGCM_debug_PushStack "IGCM_sys_ncrcat" $@ 2992 3021 if ( $DEBUG_sys ) ; then 2993 3022 echo "IGCM_sys_ncrcat :" $@ … … 3041 3070 #D- 3042 3071 function IGCM_sys_ncrename { 3043 IGCM_debug_PushStack "IGCM_sys_ncrename" --$@3072 IGCM_debug_PushStack "IGCM_sys_ncrename" $@ 3044 3073 if ( $DEBUG_sys ) ; then 3045 3074 echo "IGCM_sys_ncrename :" $@ … … 3083 3112 #D- 3084 3113 function IGCM_sys_ncwa { 3085 IGCM_debug_PushStack "IGCM_sys_ncwa" --$@3114 IGCM_debug_PushStack "IGCM_sys_ncwa" $@ 3086 3115 if ( $DEBUG_sys ) ; then 3087 3116 echo "IGCM_sys_ncwa :" $@ … … 3128 3157 #D- 3129 3158 function IGCM_sys_cdo { 3130 IGCM_debug_PushStack "IGCM_sys_cdo" --$@3159 IGCM_debug_PushStack "IGCM_sys_cdo" $@ 3131 3160 if ( $DEBUG_sys ) ; then 3132 3161 echo "IGCM_sys_cdo :" $@ -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh
r1046 r1057 117 117 118 118 #==================================================== 119 #- ARCHIVE120 typeset ARCHIVE=${ARCHIVE:=/home/${LOGIN}}121 122 #====================================================123 #- STORAGE (dedicated to small/medium files)124 typeset STORAGE=${ARCHIVE}125 126 #====================================================127 #- R_OUT128 typeset R_OUT=${ARCHIVE}/IGCM_OUT129 130 #====================================================131 #- R_FIG (hosting figures : monitoring and atlas, and/or small files)132 typeset R_FIG=${STORAGE}/IGCM_OUT133 134 #====================================================135 #- R_BUF (ONLY FOR double copy an scratch)136 typeset -r R_BUF=${STORAGE}/IGCM_OUT137 138 #====================================================139 119 #- RUN_DIR_PATH : Temporary working directory (=> TMP) 140 120 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${STORAGE}/RUN_DIR/tmp$$} … … 162 142 163 143 #D-#================================================== 164 #D-function IGCM_sys_ChangeArchive 165 #D-* Purpose: Just a dummy call on this machine 166 #D-* Examples: 167 #D- 168 function IGCM_sys_ChangeArchive { 169 IGCM_debug_Print 1 " dummy function : IGCM_sys_ChangeArchive " 144 #D-function IGCM_sys_defineArchives 145 #D-* Purpose: 146 #D-* Define ARCHIVE : Dedicated to large files 147 #D-* Define STORAGE : Dedicated to small/medium files 148 #D-* Define R_OUT : Output tree located on ARCHIVE 149 #D-* Define R_FIG : Output tree located on STORAGE hosting figures (monitoring and atlas, and/or small files) 150 #D-* Define R_BUF : Output tree located on STORAGE hosting files waiting for rebuild or pack processes 151 #D-* if SpaceName=TEST nothing special will hapen 152 #D-* Examples: 153 #D- 154 function IGCM_sys_defineArchives { 155 IGCM_debug_PushStack "IGCM_sys_defineArchives" 156 157 if [ ! X${config_UserChoices_Archive} = X ]; then 158 #==================================================== 159 #- ARCHIVE (dedicated to large files) 160 typeset ARCHIVE=${config_UserChoices_Archive} 161 else 162 #==================================================== 163 #- ARCHIVE (dedicated to large files) 164 typeset ARCHIVE=${ARCHIVE:=/home/${LOGIN}} 165 fi 166 167 if [ ! X${config_UserChoices_Storage} = X ]; then 168 #==================================================== 169 #- STORAGE (dedicated to small/medium files) 170 typeset STORAGE=${config_UserChoices_Storage} 171 else 172 #==================================================== 173 #- STORAGE (dedicated to small/medium files) 174 typeset STORAGE=${ARCHIVE} 175 fi 176 177 # ON OBELIX NO SPECIAL CASE WHEN X${config_UserChoices_SpaceName} = XTEST 178 179 #==================================================== 180 #- R_OUT 181 typeset R_OUT=${ARCHIVE}/IGCM_OUT 182 183 #==================================================== 184 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 185 typeset R_FIG=${STORAGE}/IGCM_OUT 186 187 #==================================================== 188 #- R_BUF (ONLY FOR double copy an scratch) 189 typeset -r R_BUF=${STORAGE}/IGCM_OUT 190 191 IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" 192 IGCM_debug_Print 1 "R_BUF has been defined = ${R_BUF}" 193 IGCM_debug_Print 1 "R_FIG has been defined = ${R_FIG}" 194 195 IGCM_debug_PopStack "IGCM_sys_defineArchives" 170 196 } 171 197 … … 363 389 #D- 364 390 function IGCM_sys_Chmod { 365 IGCM_debug_PushStack "IGCM_sys_Chmod" --$@391 IGCM_debug_PushStack "IGCM_sys_Chmod" $@ 366 392 if ( $DEBUG_sys ) ; then 367 393 echo "IGCM_sys_Chmod :" $@ … … 764 790 #D- 765 791 function IGCM_sys_Rm { 766 IGCM_debug_PushStack "IGCM_sys_Rm" --$@792 IGCM_debug_PushStack "IGCM_sys_Rm" $@ 767 793 if ( $DEBUG_sys ) ; then 768 794 echo "IGCM_sys_Rm :" $@ … … 792 818 #D- 793 819 function IGCM_sys_RmRunDir { 794 IGCM_debug_PushStack "IGCM_sys_RmRunDir" --$@820 IGCM_debug_PushStack "IGCM_sys_RmRunDir" $@ 795 821 if ( $DEBUG_sys ) ; then 796 822 echo "IGCM_sys_RmRunDir :" $@ … … 1408 1434 #D- 1409 1435 function IGCM_sys_rebuild { 1410 IGCM_debug_PushStack "IGCM_sys_rebuild" --$@1436 IGCM_debug_PushStack "IGCM_sys_rebuild" $@ 1411 1437 if ( $DEBUG_sys ) ; then 1412 1438 echo "IGCM_sys_rebuild :" $@ … … 1452 1478 #D- 1453 1479 function IGCM_sys_rebuild_station { 1454 IGCM_debug_PushStack "IGCM_sys_rebuild_station" --$@1480 IGCM_debug_PushStack "IGCM_sys_rebuild_station" $@ 1455 1481 typeset i list_opt file_in file_out prefix_invert list_invert 1456 1482 if ( $DEBUG_sys ) ; then … … 1931 1957 #D- 1932 1958 function IGCM_sys_ncap2 { 1933 IGCM_debug_PushStack "IGCM_sys_ncap2" --$@1959 IGCM_debug_PushStack "IGCM_sys_ncap2" $@ 1934 1960 if ( $DEBUG_sys ) ; then 1935 1961 echo "IGCM_sys_ncap2 :" $@ … … 1973 1999 #D- 1974 2000 function IGCM_sys_ncatted { 1975 IGCM_debug_PushStack "IGCM_sys_ncatted" --$@2001 IGCM_debug_PushStack "IGCM_sys_ncatted" $@ 1976 2002 if ( $DEBUG_sys ) ; then 1977 2003 echo "IGCM_sys_ncatted :" $@ … … 2015 2041 #D- 2016 2042 function IGCM_sys_ncbo { 2017 IGCM_debug_PushStack "IGCM_sys_ncbo" --$@2043 IGCM_debug_PushStack "IGCM_sys_ncbo" $@ 2018 2044 if ( $DEBUG_sys ) ; then 2019 2045 echo "IGCM_sys_ncbo :" $@ … … 2057 2083 #D- 2058 2084 function IGCM_sys_ncdiff { 2059 IGCM_debug_PushStack "IGCM_sys_ncdiff" --$@2085 IGCM_debug_PushStack "IGCM_sys_ncdiff" $@ 2060 2086 if ( $DEBUG_sys ) ; then 2061 2087 echo "IGCM_sys_ncdiff :" $@ … … 2099 2125 #D- 2100 2126 function IGCM_sys_ncea { 2101 IGCM_debug_PushStack "IGCM_sys_ncea" --$@2127 IGCM_debug_PushStack "IGCM_sys_ncea" $@ 2102 2128 if ( $DEBUG_sys ) ; then 2103 2129 echo "IGCM_sys_ncea :" $@ … … 2141 2167 #D- 2142 2168 function IGCM_sys_ncecat { 2143 IGCM_debug_PushStack "IGCM_sys_ncecat" --$@2169 IGCM_debug_PushStack "IGCM_sys_ncecat" $@ 2144 2170 if ( $DEBUG_sys ) ; then 2145 2171 echo "IGCM_sys_ncecat :" $@ … … 2183 2209 #D- 2184 2210 function IGCM_sys_ncflint { 2185 IGCM_debug_PushStack "IGCM_sys_ncflint" --$@2211 IGCM_debug_PushStack "IGCM_sys_ncflint" $@ 2186 2212 if ( $DEBUG_sys ) ; then 2187 2213 echo "IGCM_sys_ncflint :" $@ … … 2225 2251 #D- 2226 2252 function IGCM_sys_ncks { 2227 IGCM_debug_PushStack "IGCM_sys_ncks" --$@2253 IGCM_debug_PushStack "IGCM_sys_ncks" $@ 2228 2254 if ( $DEBUG_sys ) ; then 2229 2255 echo "IGCM_sys_ncks :" $@ … … 2267 2293 #D- 2268 2294 function IGCM_sys_ncpdq { 2269 IGCM_debug_PushStack "IGCM_sys_ncpdq" --$@2295 IGCM_debug_PushStack "IGCM_sys_ncpdq" $@ 2270 2296 if ( $DEBUG_sys ) ; then 2271 2297 echo "IGCM_sys_ncpdq :" $@ … … 2309 2335 #D- 2310 2336 function IGCM_sys_ncra { 2311 IGCM_debug_PushStack "IGCM_sys_ncra" --$@2337 IGCM_debug_PushStack "IGCM_sys_ncra" $@ 2312 2338 if ( $DEBUG_sys ) ; then 2313 2339 echo "IGCM_sys_ncra :" $@ … … 2351 2377 #D- 2352 2378 function IGCM_sys_ncrcat { 2353 IGCM_debug_PushStack "IGCM_sys_ncrcat" --$@2379 IGCM_debug_PushStack "IGCM_sys_ncrcat" $@ 2354 2380 if ( $DEBUG_sys ) ; then 2355 2381 echo "IGCM_sys_ncrcat :" $@ … … 2403 2429 #D- 2404 2430 function IGCM_sys_ncrename { 2405 IGCM_debug_PushStack "IGCM_sys_ncrename" --$@2431 IGCM_debug_PushStack "IGCM_sys_ncrename" $@ 2406 2432 if ( $DEBUG_sys ) ; then 2407 2433 echo "IGCM_sys_ncrename :" $@ … … 2445 2471 #D- 2446 2472 function IGCM_sys_ncwa { 2447 IGCM_debug_PushStack "IGCM_sys_ncwa" --$@2473 IGCM_debug_PushStack "IGCM_sys_ncwa" $@ 2448 2474 if ( $DEBUG_sys ) ; then 2449 2475 echo "IGCM_sys_ncwa :" $@ … … 2490 2516 #D- 2491 2517 function IGCM_sys_cdo { 2492 IGCM_debug_PushStack "IGCM_sys_cdo" --$@2518 IGCM_debug_PushStack "IGCM_sys_cdo" $@ 2493 2519 if ( $DEBUG_sys ) ; then 2494 2520 echo "IGCM_sys_cdo :" $@ -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_iitm.ksh
r1046 r1057 121 121 122 122 #==================================================== 123 #- ARCHIVE124 typeset ARCHIVE=$( echo ${HOME} | sed -e "s/gpfs1/gpfs3/" )125 126 #====================================================127 #- STORAGE (dedicated to small/medium files)128 typeset STORAGE=${ARCHIVE}129 130 #====================================================131 #- R_OUT132 typeset R_OUT=${ARCHIVE}/IGCM_OUT133 134 #====================================================135 #- R_FIG (hosting figures : monitoring and atlas, and/or small files)136 typeset R_FIG=${WORKDIR}/IGCM_OUT137 138 #====================================================139 #- R_BUF (ONLY FOR double copy an scratch)140 typeset -r R_BUF=${WORKDIR}/IGCM_OUT141 142 #====================================================143 123 #- RUN_DIR_PATH : Temporary working directory (=> TMP) 144 124 typeset -r RUN_DIR_PATH=${RUN_DIR_PATH:=${ARCHIVE}/RUN/${LOADL_STEP_ID}} … … 170 150 171 151 #D-#================================================== 172 #D-function IGCM_sys_ChangeArchive 173 #D-* Purpose: Just a dummy call on this machine 174 #D-* Examples: 175 #D- 176 function IGCM_sys_ChangeArchive { 177 IGCM_debug_Print 1 " dummy function : IGCM_sys_ChangeArchive " 152 #D-function IGCM_sys_defineArchives 153 #D-* Purpose: 154 #D-* Define ARCHIVE : Dedicated to large files 155 #D-* Define STORAGE : Dedicated to small/medium files 156 #D-* Define R_OUT : Output tree located on ARCHIVE 157 #D-* Define R_FIG : Output tree located on STORAGE hosting figures (monitoring and atlas, and/or small files) 158 #D-* Define R_BUF : Output tree located on STORAGE hosting files waiting for rebuild or pack processes 159 #D-* if SpaceName=TEST nothing special will hapen 160 #D-* Examples: 161 #D- 162 function IGCM_sys_defineArchives { 163 IGCM_debug_PushStack "IGCM_sys_defineArchives" 164 165 if [ ! X${config_UserChoices_Archive} = X ]; then 166 #==================================================== 167 #- ARCHIVE (dedicated to large files) 168 typeset ARCHIVE=${config_UserChoices_Archive} 169 else 170 #==================================================== 171 #- ARCHIVE (dedicated to large files) 172 typeset ARCHIVE=$( echo ${HOME} | sed -e "s/gpfs1/gpfs3/" ) 173 fi 174 175 if [ ! X${config_UserChoices_Storage} = X ]; then 176 #==================================================== 177 #- STORAGE (dedicated to small/medium files) 178 typeset STORAGE=${config_UserChoices_Storage} 179 else 180 #==================================================== 181 #- STORAGE (dedicated to small/medium files) 182 typeset STORAGE=${ARCHIVE} 183 fi 184 185 # ON OBELIX NO SPECIAL CASE WHEN X${config_UserChoices_SpaceName} = XTEST 186 187 #==================================================== 188 #- R_OUT 189 typeset R_OUT=${ARCHIVE}/IGCM_OUT 190 191 #==================================================== 192 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 193 typeset R_FIG=${WORKDIR}/IGCM_OUT 194 195 #==================================================== 196 #- R_BUF (ONLY FOR double copy an scratch) 197 typeset -r R_BUF=${WORKDIR}/IGCM_OUT 198 199 IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" 200 IGCM_debug_Print 1 "R_BUF has been defined = ${R_BUF}" 201 IGCM_debug_Print 1 "R_FIG has been defined = ${R_FIG}" 202 203 IGCM_debug_PopStack "IGCM_sys_defineArchives" 178 204 } 179 205 … … 378 404 #D- 379 405 function IGCM_sys_Chmod { 380 IGCM_debug_PushStack "IGCM_sys_Chmod" --$@406 IGCM_debug_PushStack "IGCM_sys_Chmod" $@ 381 407 if ( $DEBUG_sys ) ; then 382 408 echo "IGCM_sys_Chmod :" $@ … … 814 840 #D- 815 841 function IGCM_sys_Rm { 816 IGCM_debug_PushStack "IGCM_sys_Rm" --$@842 IGCM_debug_PushStack "IGCM_sys_Rm" $@ 817 843 if ( $DEBUG_sys ) ; then 818 844 echo "IGCM_sys_Rm :" $@ … … 842 868 #D- 843 869 function IGCM_sys_RmRunDir { 844 IGCM_debug_PushStack "IGCM_sys_RmRunDir" --$@870 IGCM_debug_PushStack "IGCM_sys_RmRunDir" $@ 845 871 if ( $DEBUG_sys ) ; then 846 872 echo "IGCM_sys_RmRunDir :" $@ … … 1450 1476 #D- 1451 1477 function IGCM_sys_rebuild { 1452 IGCM_debug_PushStack "IGCM_sys_rebuild" --$@1478 IGCM_debug_PushStack "IGCM_sys_rebuild" $@ 1453 1479 if ( $DEBUG_sys ) ; then 1454 1480 echo "IGCM_sys_rebuild :" $@ … … 1494 1520 #D- 1495 1521 function IGCM_sys_rebuild_station { 1496 IGCM_debug_PushStack "IGCM_sys_rebuild_station" --$@1522 IGCM_debug_PushStack "IGCM_sys_rebuild_station" $@ 1497 1523 typeset i list_opt file_in file_out prefix_invert list_invert 1498 1524 if ( $DEBUG_sys ) ; then … … 1879 1905 #D- 1880 1906 function IGCM_sys_ncap2 { 1881 IGCM_debug_PushStack "IGCM_sys_ncap2" --$@1907 IGCM_debug_PushStack "IGCM_sys_ncap2" $@ 1882 1908 if ( $DEBUG_sys ) ; then 1883 1909 echo "IGCM_sys_ncap2 :" $@ … … 1921 1947 #D- 1922 1948 function IGCM_sys_ncatted { 1923 IGCM_debug_PushStack "IGCM_sys_ncatted" --$@1949 IGCM_debug_PushStack "IGCM_sys_ncatted" $@ 1924 1950 if ( $DEBUG_sys ) ; then 1925 1951 echo "IGCM_sys_ncatted :" $@ … … 1963 1989 #D- 1964 1990 function IGCM_sys_ncbo { 1965 IGCM_debug_PushStack "IGCM_sys_ncbo" --$@1991 IGCM_debug_PushStack "IGCM_sys_ncbo" $@ 1966 1992 if ( $DEBUG_sys ) ; then 1967 1993 echo "IGCM_sys_ncbo :" $@ … … 2005 2031 #D- 2006 2032 function IGCM_sys_ncdiff { 2007 IGCM_debug_PushStack "IGCM_sys_ncdiff" --$@2033 IGCM_debug_PushStack "IGCM_sys_ncdiff" $@ 2008 2034 if ( $DEBUG_sys ) ; then 2009 2035 echo "IGCM_sys_ncdiff :" $@ … … 2047 2073 #D- 2048 2074 function IGCM_sys_ncea { 2049 IGCM_debug_PushStack "IGCM_sys_ncea" --$@2075 IGCM_debug_PushStack "IGCM_sys_ncea" $@ 2050 2076 if ( $DEBUG_sys ) ; then 2051 2077 echo "IGCM_sys_ncea :" $@ … … 2089 2115 #D- 2090 2116 function IGCM_sys_ncecat { 2091 IGCM_debug_PushStack "IGCM_sys_ncecat" --$@2117 IGCM_debug_PushStack "IGCM_sys_ncecat" $@ 2092 2118 if ( $DEBUG_sys ) ; then 2093 2119 echo "IGCM_sys_ncecat :" $@ … … 2131 2157 #D- 2132 2158 function IGCM_sys_ncflint { 2133 IGCM_debug_PushStack "IGCM_sys_ncflint" --$@2159 IGCM_debug_PushStack "IGCM_sys_ncflint" $@ 2134 2160 if ( $DEBUG_sys ) ; then 2135 2161 echo "IGCM_sys_ncflint :" $@ … … 2173 2199 #D- 2174 2200 function IGCM_sys_ncks { 2175 IGCM_debug_PushStack "IGCM_sys_ncks" --$@2201 IGCM_debug_PushStack "IGCM_sys_ncks" $@ 2176 2202 if ( $DEBUG_sys ) ; then 2177 2203 echo "IGCM_sys_ncks :" $@ … … 2215 2241 #D- 2216 2242 function IGCM_sys_ncpdq { 2217 IGCM_debug_PushStack "IGCM_sys_ncpdq" --$@2243 IGCM_debug_PushStack "IGCM_sys_ncpdq" $@ 2218 2244 if ( $DEBUG_sys ) ; then 2219 2245 echo "IGCM_sys_ncpdq :" $@ … … 2257 2283 #D- 2258 2284 function IGCM_sys_ncra { 2259 IGCM_debug_PushStack "IGCM_sys_ncra" --$@2285 IGCM_debug_PushStack "IGCM_sys_ncra" $@ 2260 2286 if ( $DEBUG_sys ) ; then 2261 2287 echo "IGCM_sys_ncra :" $@ … … 2299 2325 #D- 2300 2326 function IGCM_sys_ncrcat { 2301 IGCM_debug_PushStack "IGCM_sys_ncrcat" --$@2327 IGCM_debug_PushStack "IGCM_sys_ncrcat" $@ 2302 2328 if ( $DEBUG_sys ) ; then 2303 2329 echo "IGCM_sys_ncrcat :" $@ … … 2351 2377 #D- 2352 2378 function IGCM_sys_ncrename { 2353 IGCM_debug_PushStack "IGCM_sys_ncrename" --$@2379 IGCM_debug_PushStack "IGCM_sys_ncrename" $@ 2354 2380 if ( $DEBUG_sys ) ; then 2355 2381 echo "IGCM_sys_ncrename :" $@ … … 2393 2419 #D- 2394 2420 function IGCM_sys_ncwa { 2395 IGCM_debug_PushStack "IGCM_sys_ncwa" --$@2421 IGCM_debug_PushStack "IGCM_sys_ncwa" $@ 2396 2422 if ( $DEBUG_sys ) ; then 2397 2423 echo "IGCM_sys_ncwa :" $@ … … 2438 2464 #D- 2439 2465 function IGCM_sys_cdo { 2440 IGCM_debug_PushStack "IGCM_sys_cdo" --$@2466 IGCM_debug_PushStack "IGCM_sys_cdo" $@ 2441 2467 if ( $DEBUG_sys ) ; then 2442 2468 echo "IGCM_sys_cdo :" $@ -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh
r1046 r1057 123 123 124 124 #==================================================== 125 #- ARCHIVE126 typeset ARCHIVE=${ARCHIVE:=/home/scratch01/${LOGIN}}127 128 #====================================================129 #- STORAGE (dedicated to small/medium files)130 typeset STORAGE=${ARCHIVE}131 132 #====================================================133 #- R_OUT134 typeset R_OUT=${ARCHIVE}/IGCM_OUT135 136 #====================================================137 #- R_FIG (hosting figures : monitoring and atlas, and/or small files)138 typeset R_FIG=${STORAGE}/IGCM_OUT139 140 #====================================================141 #- R_BUF (ONLY FOR double copy an scratch)142 typeset -r R_BUF=${STORAGE}/IGCM_OUT143 144 #====================================================145 125 #- RUN_DIR_PATH : Temporary working directory (=> TMP) 146 126 if [ X${PBS_JOBID} != X ] ; then … … 172 152 173 153 #D-#================================================== 174 #D-function IGCM_sys_ChangeArchive 175 #D-* Purpose: Just a dummy call on this machine 176 #D-* Examples: 177 #D- 178 function IGCM_sys_ChangeArchive { 179 IGCM_debug_Print 1 " dummy function : IGCM_sys_ChangeArchive " 154 #D-function IGCM_sys_defineArchives 155 #D-* Purpose: 156 #D-* Define ARCHIVE : Dedicated to large files 157 #D-* Define STORAGE : Dedicated to small/medium files 158 #D-* Define R_OUT : Output tree located on ARCHIVE 159 #D-* Define R_FIG : Output tree located on STORAGE hosting figures (monitoring and atlas, and/or small files) 160 #D-* Define R_BUF : Output tree located on STORAGE hosting files waiting for rebuild or pack processes 161 #D-* if SpaceName=TEST nothing special will hapen 162 #D-* Examples: 163 #D- 164 function IGCM_sys_defineArchives { 165 IGCM_debug_PushStack "IGCM_sys_defineArchives" 166 167 if [ ! X${config_UserChoices_Archive} = X ]; then 168 #==================================================== 169 #- ARCHIVE (dedicated to large files) 170 typeset ARCHIVE=${config_UserChoices_Archive} 171 else 172 #==================================================== 173 #- ARCHIVE (dedicated to large files) 174 typeset ARCHIVE=${ARCHIVE:=/home/scratch01/${LOGIN}} 175 fi 176 177 if [ ! X${config_UserChoices_Storage} = X ]; then 178 #==================================================== 179 #- STORAGE (dedicated to small/medium files) 180 typeset STORAGE=${config_UserChoices_Storage} 181 else 182 #==================================================== 183 #- STORAGE (dedicated to small/medium files) 184 typeset STORAGE=${ARCHIVE} 185 fi 186 187 # ON OBELIX NO SPECIAL CASE WHEN X${config_UserChoices_SpaceName} = XTEST 188 189 #==================================================== 190 #- R_OUT 191 typeset R_OUT=${ARCHIVE}/IGCM_OUT 192 193 #==================================================== 194 #- R_FIG (hosting figures : monitoring and atlas, and/or small files) 195 typeset R_FIG=${STORAGE}/IGCM_OUT 196 197 #==================================================== 198 #- R_BUF (ONLY FOR double copy an scratch) 199 typeset -r R_BUF=${STORAGE}/IGCM_OUT 200 201 IGCM_debug_Print 1 "R_OUT has been defined = ${R_OUT}" 202 IGCM_debug_Print 1 "R_BUF has been defined = ${R_BUF}" 203 IGCM_debug_Print 1 "R_FIG has been defined = ${R_FIG}" 204 205 IGCM_debug_PopStack "IGCM_sys_defineArchives" 180 206 } 181 207 … … 377 403 #D- 378 404 function IGCM_sys_Chmod { 379 IGCM_debug_PushStack "IGCM_sys_Chmod" --$@405 IGCM_debug_PushStack "IGCM_sys_Chmod" $@ 380 406 if ( $DEBUG_sys ) ; then 381 407 echo "IGCM_sys_Chmod :" $@ … … 790 816 #D- 791 817 function IGCM_sys_Rm { 792 IGCM_debug_PushStack "IGCM_sys_Rm" --$@818 IGCM_debug_PushStack "IGCM_sys_Rm" $@ 793 819 if ( $DEBUG_sys ) ; then 794 820 echo "IGCM_sys_Rm :" $@ … … 818 844 #D- 819 845 function IGCM_sys_RmRunDir { 820 IGCM_debug_PushStack "IGCM_sys_RmRunDir" --$@846 IGCM_debug_PushStack "IGCM_sys_RmRunDir" $@ 821 847 if ( $DEBUG_sys ) ; then 822 848 echo "IGCM_sys_RmRunDir :" $@ … … 1432 1458 #D- 1433 1459 function IGCM_sys_rebuild { 1434 IGCM_debug_PushStack "IGCM_sys_rebuild" --$@1460 IGCM_debug_PushStack "IGCM_sys_rebuild" $@ 1435 1461 if ( $DEBUG_sys ) ; then 1436 1462 echo "IGCM_sys_rebuild :" $@ … … 1476 1502 #D- 1477 1503 function IGCM_sys_rebuild_station { 1478 IGCM_debug_PushStack "IGCM_sys_rebuild_station" --$@1504 IGCM_debug_PushStack "IGCM_sys_rebuild_station" $@ 1479 1505 typeset i list_opt file_in file_out prefix_invert list_invert 1480 1506 if ( $DEBUG_sys ) ; then … … 1959 1985 #D- 1960 1986 function IGCM_sys_ncap2 { 1961 IGCM_debug_PushStack "IGCM_sys_ncap2" --$@1987 IGCM_debug_PushStack "IGCM_sys_ncap2" $@ 1962 1988 if ( $DEBUG_sys ) ; then 1963 1989 echo "IGCM_sys_ncap2 :" $@ … … 2001 2027 #D- 2002 2028 function IGCM_sys_ncatted { 2003 IGCM_debug_PushStack "IGCM_sys_ncatted" --$@2029 IGCM_debug_PushStack "IGCM_sys_ncatted" $@ 2004 2030 if ( $DEBUG_sys ) ; then 2005 2031 echo "IGCM_sys_ncatted :" $@ … … 2043 2069 #D- 2044 2070 function IGCM_sys_ncbo { 2045 IGCM_debug_PushStack "IGCM_sys_ncbo" --$@2071 IGCM_debug_PushStack "IGCM_sys_ncbo" $@ 2046 2072 if ( $DEBUG_sys ) ; then 2047 2073 echo "IGCM_sys_ncbo :" $@ … … 2085 2111 #D- 2086 2112 function IGCM_sys_ncdiff { 2087 IGCM_debug_PushStack "IGCM_sys_ncdiff" --$@2113 IGCM_debug_PushStack "IGCM_sys_ncdiff" $@ 2088 2114 if ( $DEBUG_sys ) ; then 2089 2115 echo "IGCM_sys_ncdiff :" $@ … … 2127 2153 #D- 2128 2154 function IGCM_sys_ncea { 2129 IGCM_debug_PushStack "IGCM_sys_ncea" --$@2155 IGCM_debug_PushStack "IGCM_sys_ncea" $@ 2130 2156 if ( $DEBUG_sys ) ; then 2131 2157 echo "IGCM_sys_ncea :" $@ … … 2169 2195 #D- 2170 2196 function IGCM_sys_ncecat { 2171 IGCM_debug_PushStack "IGCM_sys_ncecat" --$@2197 IGCM_debug_PushStack "IGCM_sys_ncecat" $@ 2172 2198 if ( $DEBUG_sys ) ; then 2173 2199 echo "IGCM_sys_ncecat :" $@ … … 2211 2237 #D- 2212 2238 function IGCM_sys_ncflint { 2213 IGCM_debug_PushStack "IGCM_sys_ncflint" --$@2239 IGCM_debug_PushStack "IGCM_sys_ncflint" $@ 2214 2240 if ( $DEBUG_sys ) ; then 2215 2241 echo "IGCM_sys_ncflint :" $@ … … 2253 2279 #D- 2254 2280 function IGCM_sys_ncks { 2255 IGCM_debug_PushStack "IGCM_sys_ncks" --$@2281 IGCM_debug_PushStack "IGCM_sys_ncks" $@ 2256 2282 if ( $DEBUG_sys ) ; then 2257 2283 echo "IGCM_sys_ncks :" $@ … … 2295 2321 #D- 2296 2322 function IGCM_sys_ncpdq { 2297 IGCM_debug_PushStack "IGCM_sys_ncpdq" --$@2323 IGCM_debug_PushStack "IGCM_sys_ncpdq" $@ 2298 2324 if ( $DEBUG_sys ) ; then 2299 2325 echo "IGCM_sys_ncpdq :" $@ … … 2337 2363 #D- 2338 2364 function IGCM_sys_ncra { 2339 IGCM_debug_PushStack "IGCM_sys_ncra" --$@2365 IGCM_debug_PushStack "IGCM_sys_ncra" $@ 2340 2366 if ( $DEBUG_sys ) ; then 2341 2367 echo "IGCM_sys_ncra :" $@ … … 2379 2405 #D- 2380 2406 function IGCM_sys_ncrcat { 2381 IGCM_debug_PushStack "IGCM_sys_ncrcat" --$@2407 IGCM_debug_PushStack "IGCM_sys_ncrcat" $@ 2382 2408 if ( $DEBUG_sys ) ; then 2383 2409 echo "IGCM_sys_ncrcat :" $@ … … 2431 2457 #D- 2432 2458 function IGCM_sys_ncrename { 2433 IGCM_debug_PushStack "IGCM_sys_ncrename" --$@2459 IGCM_debug_PushStack "IGCM_sys_ncrename" $@ 2434 2460 if ( $DEBUG_sys ) ; then 2435 2461 echo "IGCM_sys_ncrename :" $@ … … 2473 2499 #D- 2474 2500 function IGCM_sys_ncwa { 2475 IGCM_debug_PushStack "IGCM_sys_ncwa" --$@2501 IGCM_debug_PushStack "IGCM_sys_ncwa" $@ 2476 2502 if ( $DEBUG_sys ) ; then 2477 2503 echo "IGCM_sys_ncwa :" $@ … … 2518 2544 #D- 2519 2545 function IGCM_sys_cdo { 2520 IGCM_debug_PushStack "IGCM_sys_cdo" --$@2546 IGCM_debug_PushStack "IGCM_sys_cdo" $@ 2521 2547 if ( $DEBUG_sys ) ; then 2522 2548 echo "IGCM_sys_cdo :" $@
Note: See TracChangeset
for help on using the changeset viewer.