Changes between Version 17 and Version 18 of Doc/Tools/cpu_Monitoring_and_DMT


Ignore:
Timestamp:
10/14/21 16:20:02 (3 years ago)
Author:
edupont
Comment:

Updated the Inode v Data parsing (step 2) documentation

Legend:

Unmodified
Added
Removed
Modified
  • Doc/Tools/cpu_Monitoring_and_DMT

    v17 v18  
    131131### Step 2 : Parse the raw log to get yaml file. ### 
    132132 
    133 Once it works, the script to parse the raw logs will be :  
    134 /projsu/igcmg/DMP_TOOLS/run_parser.sh 
     133#### Install the conda environment #### 
     134To parse the raw logs, you first need to install the appropriate conda environment : PARSER_env. 
    135135 
     136So far you will have to install it locally on your ciclad account. Later, we plan on having on shared conda env that any user will be able to load. 
    136137 
    137  
    138 To parse the raw log file, you must use the parser locate on the following path :  
    139 /home/igcmg/Chantier_DMP_Eliott/PARSER/dmp_tools 
     138To install the conda environment, run the following commands : 
    140139{{{ 
    141 PARSER_DIR=/home/igcmg/Chantier_DMP_Eliott/PARSER/dmp_tools 
    142 cd $PARSER_DIR 
    143 }}} 
    144  
    145  
    146  
    147  
    148 You must have the appropriate conda environment set up.  
    149 To create it run the following commands :  
    150 {{{ 
     140PARSER_DIR="/projsu/igcmg/DMP_TOOLS/dmp_tools" 
    151141module load python/3.6-anaconda50 
    152142conda env create -f $PARSER_DIR/environment.yml --name PARSER_env 
     
    155145}}} 
    156146 
     147#### Running the parser #### 
    157148 
    158 Once this is done or if you already created the appropriate environment, run : 
     149First get the name of the file you want to parse. You can refer to the Step 1 to get get the raw_log filename. 
    159150 
    160 {{{ 
    161 python $PARSER_env/parser/parser_tgcc/src/run_parser.py -i <name_of_the_input_file.txt> 
    162 }}} 
     151Then you must run :  
    163152 
    164 If everything went correctly, the output file will be written in $PARSER_DIR/../parsed_logs 
     153{{{/projsu/igcmg/DMP_TOOLS/run_parser.sh <input_filename.txt>}}} 
     154 
     155With  
     156{{{<input_filename.txt>}}} 
     157the name of the file produced in Step 1. 
     158 
     159 
     160If everything went correctly, the output file will be written in  
     161{{{$PARSER_DIR/../parsed_logs}}} 
    165162 
    166163