Changes between Version 17 and Version 18 of Doc/Tools/cpu_Monitoring_and_DMT
- Timestamp:
- 10/14/21 16:20:02 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/Tools/cpu_Monitoring_and_DMT
v17 v18 131 131 ### Step 2 : Parse the raw log to get yaml file. ### 132 132 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 #### 134 To parse the raw logs, you first need to install the appropriate conda environment : PARSER_env. 135 135 136 So 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. 136 137 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 138 To install the conda environment, run the following commands : 140 139 {{{ 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 {{{ 140 PARSER_DIR="/projsu/igcmg/DMP_TOOLS/dmp_tools" 151 141 module load python/3.6-anaconda50 152 142 conda env create -f $PARSER_DIR/environment.yml --name PARSER_env … … 155 145 }}} 156 146 147 #### Running the parser #### 157 148 158 Once this is done or if you already created the appropriate environment, run : 149 First get the name of the file you want to parse. You can refer to the Step 1 to get get the raw_log filename. 159 150 160 {{{ 161 python $PARSER_env/parser/parser_tgcc/src/run_parser.py -i <name_of_the_input_file.txt> 162 }}} 151 Then you must run : 163 152 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 155 With 156 {{{<input_filename.txt>}}} 157 the name of the file produced in Step 1. 158 159 160 If everything went correctly, the output file will be written in 161 {{{$PARSER_DIR/../parsed_logs}}} 165 162 166 163