Ignore:
Timestamp:
10/23/14 19:19:12 (10 years ago)
Author:
sdipsl
Message:
  • stack files will go in /Out. see #230 Examples:
    • create_ts.19301231.2D.out
    • create_ts.19301231.2D.stack.$$
  • instrumentation information will only be within stack file see #231
  • plateform users should not worry about those stack files ...
File:
1 edited

Legend:

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

    r1110 r1115  
    153153  if ( [ X${config_Post_DodsCopy} = X${NULL_STR} ] || [ X${config_Post_DodsCopy} = X ] ) ; then 
    154154    config_Post_DodsCopy=TRUE 
     155  fi 
     156 
     157  #==================================================== 
     158  # Define StackFileLocation : directory where we store stack files 
     159  # Define StackFileName : stack file containing call tree and instrumentation 
     160  # Stack file containing call tree will be stored there. 
     161  if ( $DEBUG_debug ) ; then 
     162    StackFileLocation=${StackFileLocation:=${R_BUF_KSH}} 
     163    [ ! -d ${StackFileLocation} ] && mkdir -p ${StackFileLocation} 
     164    if [ X${TaskType} = Xcomputing ]; then 
     165      StackFileName=computing.stack.$$ 
     166    elif [ X${TaskType} = Xpost-processing ]; then 
     167      StackFileName=${Script_Post_Output}.stack.$$ 
     168    elif [ X${TaskType} = Xchecking ]; then 
     169      StackFileName=checking.stack.$$ 
     170    else 
     171      IGCM_debug_Exit "IGCM_config_CommonConfiguration unknown TaskType : ${TaskType}" 
     172      IGCM_debug_Verif_Exit 
     173    fi 
     174 
     175    # This boolean will trigger the filling of the stack 
     176    # Only now we know where things should be ... 
     177    ActivateStackFilling=true 
    155178  fi 
    156179 
Note: See TracChangeset for help on using the changeset viewer.