Changeset 936


Ignore:
Timestamp:
08/22/13 12:39:05 (11 years ago)
Author:
sdipsl
Message:

bugfix again with instrumentation. Should be fine now...
syntax error in libIGCM_sys

Location:
trunk/libIGCM
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r934 r936  
    4242    typeset StackFileLocation=${POST_DIR:=${PWD}} 
    4343    typeset StackFileName=checking.stack.$$ 
    44   fi 
     44  else 
     45    typeset StackFileLocation=${POST_DIR:=${PWD}} 
     46    typeset StackFileName=checking.stack.$$ 
     47  fi 
     48 
    4549  if [ -f ${StackFileLocation}/${StackFileName} ] ; 
    4650  then 
     
    334338        entitySize=$( IGCM_debug_sizeOfTabContent source ${dest} ) 
    335339      elif ( [ ${#arguments[*]} -eq 3 ] && [ ${arguments[0]} = '/l' ] ) ; then 
     340        # IGCM_sys_Get /l liste_file[*] /ccc/scratch/cont003/dsm/p86denv/RUN_DIR/985998_14754/ 
    336341        # Keep the array name hosting the all list 
    337         eval fileList=\${${arguments[1]}[*]} 
     342        eval set +A fileList \${${arguments[1]}} 
    338343        # just need the first file to get the directory 
    339         eval source=\${${arguments[1]}[0]} 
     344        source=${fileList[0]} 
    340345        dest=${arguments[2]} 
    341346        # Size of file whose name are stored in a list 
    342         entitySize=$( IGCM_debug_sizeOfTabContent fileList ${dest} ) 
     347        entitySize=$( IGCM_debug_sizeOfTabContent fileList[*] ${dest} ) 
    343348      elif [ [ ${#arguments[*]} -ge 3 ] ; then 
    344349       # All but the latest 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ada.ksh

    r933 r936  
    19571957    IGCM_debug_Print 1 "Variable RUN_DIR_PATH is pointing to an important directory : ${RUN_DIR_PATH}" 
    19581958    IGCM_debug_Print 1 "Please check the RUN_DIR_PATH definition in your Job : Job_${config_UserChoices_JobName}" 
    1959     IGCM_debug_Exit "This will stop the job" ;; 
     1959    IGCM_debug_Exit "This will stop the job" 
    19601960  fi 
    19611961  IGCM_debug_PopStack "IGCM_sys_check_path" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh

    r933 r936  
    21692169    IGCM_debug_Print 1 "Variable RUN_DIR_PATH is pointing to an important directory : ${RUN_DIR_PATH}" 
    21702170    IGCM_debug_Print 1 "Please check the RUN_DIR_PATH definition in your Job : Job_${config_UserChoices_JobName}" 
    2171     IGCM_debug_Exit "This will stop the job" ;; 
     2171    IGCM_debug_Exit "This will stop the job" 
    21722172  fi 
    21732173  IGCM_debug_PopStack "IGCM_sys_check_path" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh

    r933 r936  
    18861886    IGCM_debug_Print 1 "Variable RUN_DIR_PATH is pointing to an important directory : ${RUN_DIR_PATH}" 
    18871887    IGCM_debug_Print 1 "Please check the RUN_DIR_PATH definition in your Job : Job_${config_UserChoices_JobName}" 
    1888     IGCM_debug_Exit "This will stop the job" ;; 
     1888    IGCM_debug_Exit "This will stop the job" 
    18891889  fi 
    18901890  IGCM_debug_PopStack "IGCM_sys_check_path" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_iitm.ksh

    r933 r936  
    18231823    IGCM_debug_Print 1 "Variable RUN_DIR_PATH is pointing to an important directory : ${RUN_DIR_PATH}" 
    18241824    IGCM_debug_Print 1 "Please check the RUN_DIR_PATH definition in your Job : Job_${config_UserChoices_JobName}" 
    1825     IGCM_debug_Exit "This will stop the job" ;; 
     1825    IGCM_debug_Exit "This will stop the job" 
    18261826  fi 
    18271827  IGCM_debug_PopStack "IGCM_sys_check_path" 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh

    r933 r936  
    19151915    IGCM_debug_Print 1 "Variable RUN_DIR_PATH is pointing to an important directory : ${RUN_DIR_PATH}" 
    19161916    IGCM_debug_Print 1 "Please check the RUN_DIR_PATH definition in your Job : Job_${config_UserChoices_JobName}" 
    1917     IGCM_debug_Exit "This will stop the job" ;; 
     1917    IGCM_debug_Exit "This will stop the job" 
    19181918  fi 
    19191919  IGCM_debug_PopStack "IGCM_sys_check_path" 
Note: See TracChangeset for help on using the changeset viewer.