Changes between Version 4 and Version 5 of DocDéveloppeur


Ignore:
Timestamp:
07/24/08 18:41:36 (16 years ago)
Author:
sdipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DocDéveloppeur

    v4 v5  
    238238#================================================================== 
    239239function IGCM_debug_Exit 
    240 * Purpose: Print Call Stack and exit with number 1 
     240* Purpose: Print Call Stack and set ExitFlag to true 
     241 
     242#================================================== 
     243function IGCM_debug_Verif_Exit 
     244* Purpose: exit with number 1 if ExitFlag is true 
     245 
     246#================================================== 
     247function IGCM_debug_Verif_Exit_Post 
     248* Purpose: exit with number 1 if ExitFlag is true for Post-treatment 
    241249 
    242250#================================================================== 
     
    256264 
    257265= libIGCM_sys = 
     266{{{ 
     267#================================================== 
     268LibIGCM_sys for Mercure 
     269#================================================== 
     270 
     271 This ksh library if a layer under some usefull  
     272environment variables and shell commands. 
     273All those definitions depend on host particularities. 
     274It manages a stack mechanism and test validity of operations. 
     275All function described bellow must be prefixed by IGCM_sys. 
     276 
     277#================================================== 
     278Program used in libIGCM 
     279#================================================== 
     280#================================================== 
     281function IGCM_sys_RshPost 
     282* Purpose: Master rsh command 
     283* Examples: 
     284 
     285#================================================== 
     286function IGCM_sys_Mkdir 
     287* Purpose: Master locale mkdir command 
     288* Examples: 
     289 
     290#================================================== 
     291function IGCM_sys_MkdirArchive 
     292* Purpose: Mkdir on Archive 
     293* Examples: 
     294 
     295#================================================== 
     296function IGCM_sys_MkdirWork 
     297* Purpose: Mkdir on Work 
     298* Examples: 
     299 
     300#================================================== 
     301function IGCM_sys_Cd 
     302* Purpose: master cd command 
     303* Examples: 
     304 
     305#================================================== 
     306function IGCM_sys_Chmod 
     307* Purpose: Chmod 
     308* Examples: 
     309 
     310#================================================== 
     311function IGCM_sys_FileSize 
     312* Purpose: Filesize 
     313* Examples: 
     314 
     315#================================================== 
     316function IGCM_sys_TestDir 
     317* Purpose: Test Directory that must exists 
     318* Examples: 
     319 
     320#================================================== 
     321function IGCM_sys_TestDirArchive 
     322* Purpose: Test Directory that must exists on Archive 
     323* Examples: 
     324 
     325#================================================== 
     326function IGCM_sys_TestFileArchive 
     327* Purpose: Test file that must NOT EXISTS on Archive 
     328* Examples: 
     329 
     330#================================================== 
     331function IGCM_sys_Tree 
     332* Purpose: Tree directories with files on ${ARCHIVE} 
     333* Examples: IGCM_sys_Tree ${R_IN} ${R_OUT} 
     334 
     335#================================================== 
     336function IGCM_sys_Tar 
     337* Purpose: master un-tar command 
     338* Examples: 
     339 
     340#================================================== 
     341function IGCM_sys_UnTar 
     342* Purpose: master un-tar command 
     343* Examples: 
     344 
     345#================================================== 
     346function IGCM_sys_Qsub 
     347* Purpose: Qsub new job 
     348* Examples: 
     349 
     350#================================================== 
     351function IGCM_sys_QsubPost 
     352* Purpose: Qsub new job on scalaire 
     353* Examples: 
     354 
     355************************* 
     356 File transfer functions  
     357************************* 
     358 
     359#================================================== 
     360function IGCM_sys_Rsync_out 
     361* Purpose: treat return val of rsync 
     362* Examples: IGCM_sys_Rsync_out out_RET_rsync 
     363  Error values and explanations can depend on your system version. 
     364#================================================== 
     365function IGCM_sys_Cp 
     366* Purpose: generic cp 
     367* Examples: 
     368 
     369#================================================== 
     370function IGCM_sys_Mv 
     371* Purpose: generic move 
     372* Examples: 
     373 
     374#================================================== 
     375function IGCM_sys_Put_Rest 
     376* Purpose: Put computied restarts on $(ARCHIVE). 
     377           File and target directory must exist. 
     378* Examples: 
     379 
     380#================================================== 
     381function IGCM_sys_Put_Out 
     382* Purpose: Copy a file on $(ARCHIVE) after have chmod it in readonly 
     383* Examples: 
     384 
     385#================================================== 
     386function IGCM_sys_Get 
     387* Purpose: Get a file from ${ARCHIVE} 
     388* Examples: IGCM_sys_Get myfile /destpath/myfile_with_PREFIX 
     389            IGCM_sys_Get /l Array_contain_myfiles /destpath/ 
     390 
     391#================================================== 
     392function IGCM_sys_GetDate_FichWork 
     393* Purpose: donne la date filesys d'un fichier sur le filesystem WORK 
     394* Examples: 
     395 
     396#================================================== 
     397function IGCM_sys_GetDate_FichArchive 
     398* Purpose: donne la date filesys d'un fichier sur le filesystem ARCHIVE  
     399* Examples: 
     400}}}