run_all_benchmarks

PURPOSE ^

Script that runs all examples in one pass. May take few hours. Prior to

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

Script that runs all examples in one pass. May take few hours. Prior to
run this script, all the *.mat files in the ~/Project_DKE/Database
directory must be created.

 by Yves Peysson (CEA/DRFC, yves.peysson@cea.fr) and Joan Decker (CEA-DRFC, joan.decker@cea.fr)

 ---------------------- TScyl Thermal -----------------------

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %Script that runs all examples in one pass. May take few hours. Prior to
0002 %run this script, all the *.mat files in the ~/Project_DKE/Database
0003 %directory must be created.
0004 %
0005 % by Yves Peysson (CEA/DRFC, yves.peysson@cea.fr) and Joan Decker (CEA-DRFC, joan.decker@cea.fr)
0006 %
0007 % ---------------------- TScyl Thermal -----------------------
0008 %
0009 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0010 cd(['TScyl',filesep,'Thermal']);
0011 if exist('DKE_RESULTS_TScyl_Thermal_dtn.mat','file') == 0 || forcerun,
0012    rundke_dtn
0013 else
0014    info_dke_yp(2,['Simulation TScyl',filesep,'Thermal_dtn skipped because already done !'])      
0015 end
0016 cd ../..
0017 %
0018 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0019 cd(['TScyl',filesep,'Thermal']);
0020 if exist('DKE_RESULTS_TScyl_Thermal_res.mat','file') == 0 || forcerun,
0021    rundke_res
0022 else
0023    info_dke_yp(2,['Simulation TScyl',filesep,'Thermal_res skipped because already done !'])      
0024 end
0025 cd ../..
0026 %
0027 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0028 cd(['TScyl',filesep,'Thermal']);
0029 if exist('DKE_RESULTS_TScyl_Thermal_norm.mat','file') == 0 || forcerun,
0030    rundke_norm
0031 else
0032    info_dke_yp(2,['Simulation TScyl',filesep,'Thermal_norm skipped because already done !'])      
0033 end
0034 cd ../..
0035 %
0036 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0037 cd(['TScyl',filesep,'Thermal']);
0038 if exist('DKE_RESULTS_TScyl_Thermal_Ti.mat','file') == 0 || forcerun,
0039    rundke_Ti
0040 else
0041    info_dke_yp(2,['Simulation TScyl',filesep,'Thermal_Ti skipped because already done !'])      
0042 end
0043 cd ../..
0044 %
0045 % ---------------------- TScyl Ohm -----------------------
0046 %
0047 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0048 cd(['TScyl',filesep,'Ohm']);
0049 if exist('DKE_RESULTS_TScyl_Ohm_dtn.mat','file') == 0 || forcerun,
0050    rundke_dtn
0051 else
0052    info_dke_yp(2,['Simulation TScyl',filesep,'Ohm_dtn skipped because already done !'])     
0053 end
0054 cd ../..
0055 %
0056 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0057 cd(['TScyl',filesep,'Ohm']);
0058 if exist('DKE_RESULTS_TScyl_Ohm_time.mat','file') == 0 || forcerun,
0059    rundke_time
0060 else
0061    info_dke_yp(2,['Simulation TScyl',filesep,'Ohm_time skipped because already done !'])     
0062 end
0063 cd ../..
0064 %
0065 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0066 cd(['TScyl',filesep,'Ohm']);
0067 if exist('DKE_RESULTS_TScyl_Ohm_conv.mat','file') == 0 || forcerun,
0068    rundke_conv
0069 else
0070    info_dke_yp(2,['Simulation TScyl',filesep,'Ohm_conv skipped because already done !'])     
0071 end
0072 cd ../..
0073 %
0074 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0075 cd(['TScyl',filesep,'Ohm']);
0076 if exist('DKE_RESULTS_TScyl_Ohm_betath.mat','file') == 0 || forcerun,
0077    rundke_betath
0078 else
0079    info_dke_yp(2,['Simulation TScyl',filesep,'Ohm_betath skipped because already done !'])     
0080 end
0081 cd ../..
0082 %
0083 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0084 cd(['TScyl',filesep,'Ohm']);
0085 if exist('DKE_RESULTS_TScyl_Ohm_epsi.mat','file') == 0 || forcerun,
0086    rundke_epsi
0087 else
0088    info_dke_yp(2,['Simulation TScyl',filesep,'Ohm_epsi skipped because already done !'])     
0089 end
0090 cd ../..
0091 %
0092 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0093 cd(['TScyl',filesep,'Ohm']);
0094 if exist('DKE_RESULTS_TScyl_Ohm_Zi.mat','file') == 0 || forcerun,
0095    rundke_Zi
0096 else
0097    info_dke_yp(2,['Simulation TScyl',filesep,'Ohm_Zi skipped because already done !'])     
0098 end
0099 cd ../..
0100 %
0101 % ---------------------- TScyl Runaway -----------------------
0102 %
0103 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0104 cd(['TScyl',filesep,'Runaway']);
0105 if exist('DKE_RESULTS_TScyl_Runaway_betath.mat','file') == 0 || forcerun,
0106    rundke_betath
0107 else
0108    info_dke_yp(2,['Simulation TScyl',filesep,'Runaway_betath skipped because already done !']) 
0109 end
0110 cd ../..
0111 %
0112 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0113 cd(['TScyl',filesep,'Runaway']);
0114 if exist('DKE_RESULTS_TScyl_Runaway_dtn.mat','file') == 0 || forcerun,
0115    rundke_dtn
0116 else
0117    info_dke_yp(2,['Simulation TScyl',filesep,'Runaway_dtn skipped because already done !']) 
0118 end
0119 cd ../..
0120 %
0121 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0122 cd(['TScyl',filesep,'Runaway']);
0123 if exist('DKE_RESULTS_TScyl_Runaway_conv.mat','file') == 0 || forcerun,
0124    rundke_conv
0125 else
0126    info_dke_yp(2,['Simulation TScyl',filesep,'Runaway_conv skipped because already done !']) 
0127 end
0128 cd ../..
0129 %
0130 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0131 cd(['TScyl',filesep,'Runaway']);
0132 if exist('DKE_RESULTS_TScyl_Runaway_init.mat','file') == 0 || forcerun,
0133    rundke_init
0134 else
0135    info_dke_yp(2,['Simulation TScyl',filesep,'Runaway_init. skipped because already done !']) 
0136 end
0137 cd ../..
0138 %
0139 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0140 cd(['TScyl',filesep,'Runaway']);
0141 if exist('DKE_RESULTS_TScyl_Runaway_norm.mat','file') == 0 || forcerun,
0142    rundke_norm
0143 else
0144    info_dke_yp(2,['Simulation TScyl',filesep,'Runaway_norm skipped because already done !']) 
0145 end
0146 cd ../..
0147 %
0148 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0149 cd(['TScyl',filesep,'Runaway']);
0150 if exist('DKE_RESULTS_TScyl_Runaway_norm_ss.mat','file') == 0 || forcerun,
0151    rundke_norm_ss
0152 else
0153    info_dke_yp(2,['Simulation TScyl',filesep,'Runaway_norm_ss skipped because already done !']) 
0154 end
0155 cd ../..
0156 %
0157 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0158 cd(['TScyl',filesep,'Runaway']);
0159 if exist('DKE_RESULTS_TScyl_Runaway_time.mat','file') == 0 || forcerun,
0160    rundke_time
0161 else
0162    info_dke_yp(2,['Simulation TScyl',filesep,'Runaway_time skipped because already done !']) 
0163 end
0164 cd ../..
0165 %
0166 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0167 cd(['TScyl',filesep,'Runaway']);
0168 if exist('DKE_RESULTS_TScyl_Runaway_Zi_nobounce.mat','file') == 0 || forcerun,
0169    rundke_Zi
0170 else
0171    info_dke_yp(2,['Simulation TScyl',filesep,'Runaway_Zi_nobounce skipped because already done !']) 
0172 end
0173 cd ../..
0174 %
0175 % ---------------------- TScyl LH_Karney -----------------------
0176 %
0177 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0178 cd(['TScyl',filesep,'LH_Karney']);
0179 if exist('DKE_RESULTS_TScyl_LH_karney_test.mat','file') == 0 || forcerun,
0180    rundke
0181 else
0182    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_test skipped because already done !']) 
0183 end
0184 cd ../..
0185 %
0186 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0187 cd(['TScyl',filesep,'LH_Karney']);
0188 if exist('DKE_RESULTS_TScyl_LH_karney_betath.mat','file') == 0 || forcerun,
0189    rundke_betath
0190 else
0191    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_betath skipped because already done !']) 
0192 end
0193 cd ../..
0194 %
0195 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0196 cd(['TScyl',filesep,'LH_Karney']);
0197 if exist('DKE_RESULTS_TScyl_LH_karney_conv.mat','file') == 0 || forcerun,
0198    rundke_conv
0199 else
0200    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_conv skipped because already done !']) 
0201 end
0202 cd ../..
0203 %
0204 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0205 cd(['TScyl',filesep,'LH_Karney']);
0206 if exist('DKE_RESULTS_TScyl_LH_karney_time.mat','file') == 0 || forcerun,
0207    rundke_time
0208 else
0209    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_time skipped because already done !']) 
0210 end
0211 cd ../..
0212 %
0213 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0214 cd(['TScyl',filesep,'LH_Karney']);
0215 if exist('DKE_RESULTS_TScyl_LH_karney_dtn.mat','file') == 0 || forcerun,
0216    rundke_dtn
0217 else
0218    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_dtn skipped because already done !']) 
0219 end
0220 cd ../..
0221 %
0222 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0223 cd(['TScyl',filesep,'LH_Karney']);
0224 if exist('DKE_RESULTS_TScyl_LH_karney_D0.mat','file') == 0 || forcerun,
0225    rundke_D0
0226 else
0227    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_D0 skipped because already done !']) 
0228 end
0229 cd ../..
0230 %
0231 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0232 cd(['TScyl',filesep,'LH_Karney']);
0233 if exist('DKE_RESULTS_TScyl_LH_karney_grid.mat','file') == 0 || forcerun,
0234    rundke_grid
0235 else
0236    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_grid skipped because already done !']) 
0237 end
0238 cd ../..
0239 %
0240 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0241 cd(['TScyl',filesep,'LH_Karney']);
0242 if exist('DKE_RESULTS_TScyl_LH_karney_init.mat','file') == 0 || forcerun,
0243    rundke_init
0244 else
0245    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_init skipped because already done !']) 
0246 end
0247 cd ../..
0248 %
0249 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0250 cd(['TScyl',filesep,'LH_Karney']);
0251 if exist('DKE_RESULTS_TScyl_LH_Zi.mat','file') == 0 || forcerun,
0252    rundke_Zi
0253 else
0254    info_dke_yp(2,['Simulation TScyl',filesep,'LH_Zi skipped because already done !']) 
0255 end
0256 cd ../..
0257 %
0258 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0259 cd(['TScyl',filesep,'LH_karney_transp_nobounce']);
0260 if exist('DKE_RESULTS_TScyl_LH_karney_transp_nobounce.mat','file') == 0 || forcerun,
0261    rundke
0262 else
0263    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_transp_nobounce skipped because already done !']) 
0264 end
0265 cd ../..
0266 %
0267 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0268 cd(['TScyl',filesep,'LH_karney_num']);
0269 if exist('DKE_RESULTS_TScyl_LH_karney_num.mat','file') == 0 || forcerun,
0270    rundke
0271 else
0272    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_num skipped because already done !']) 
0273 end
0274 cd ../..
0275 %
0276 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0277 cd(['TScyl',filesep,'LH_karney_3D_num']);
0278 if exist('DKE_RESULTS_TScyl_LH_karney_3D_num.mat','file') == 0 || forcerun,
0279    rundke
0280 else
0281    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_3D_num skipped because already done !']) 
0282 end
0283 cd ../..
0284 %
0285 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0286 cd(['TScyl',filesep,'LH_karney_3D_splitting']);
0287 if exist('DKE_RESULTS_TScyl_LH_karney_3D_splitting_1.mat','file') == 0 || forcerun,
0288    rundke
0289 else
0290    info_dke_yp(2,['Simulation TScyl',filesep,'LH_karney_3D_splitting skipped because already done !']) 
0291 end
0292 cd ../..
0293 %
0294 % ---------------------- TScirc_e1 -----------------------
0295 %
0296 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0297 cd(['TScirc_e1',filesep,'Ohm_bounce']);
0298 if exist('DKE_RESULTS_TScirc_e1_Ohm_bounce.mat','file') == 0 || forcerun,
0299    rundke
0300 else
0301    info_dke_yp(2,['Simulation TScirc_e1',filesep,'Ohm_bounce skipped because already done !']) 
0302 end
0303 cd ../..
0304 %
0305 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0306 cd(['TScirc_e1',filesep,'Ohm_bounce']);
0307 if exist('DKE_RESULTS_TScirc_e1_Ohm_bounce_val.mat','file') == 0 || forcerun,
0308    rundke
0309 else
0310    info_dke_yp(2,['Simulation TScirc_e1',filesep,'Ohm_bounce_val skipped because already done !']) 
0311 end
0312 cd ../..
0313 %
0314 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0315 cd(['TScirc_e1',filesep,'Runaway_bounce']);
0316 if exist('DKE_RESULTS_TScirc_e1_Runaway_bounce.mat','file') == 0 || forcerun,
0317    rundke
0318 else
0319    info_dke_yp(2,['Simulation TScirc_e1',filesep,'Runaway_bounce skipped because already done !']) 
0320 end
0321 cd ../..
0322 %
0323 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0324 cd(['TScirc_e1',filesep,'Runaway_bounce']);
0325 if exist('DKE_RESULTS_TScirc_e1_Runaway_bounce_val.mat','file') == 0 || forcerun,
0326    rundke
0327 else
0328    info_dke_yp(2,['Simulation TScirc_e1',filesep,'Runaway_bounce_val skipped because already done !']) 
0329 end
0330 cd ../..
0331 %
0332 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0333 cd(['TScirc_e1',filesep,'LH_Karney_bounce']);
0334 if exist('DKE_RESULTS_TScirc_e1_LH_bounce.mat','file') == 0 || forcerun,
0335    rundke
0336 else
0337    info_dke_yp(2,['Simulation TScirc_e1',filesep,'LH_bounce skipped because already done !']) 
0338 end
0339 cd ../..
0340 %
0341 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0342 cd(['TScirc_e1',filesep,'LH_Karney_bounce']);
0343 if exist('DKE_RESULTS_TScirc_e1_LH_bounce_val.mat','file') == 0 || forcerun,
0344    rundke
0345 else
0346    info_dke_yp(2,['Simulation TScirc_e1',filesep,'LH_bounce_val skipped because already done !']) 
0347 end
0348 cd ../..
0349 %
0350 % ---------------------- JETh77 -----------------------
0351 %
0352 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0353 cd(['JETh77',filesep,'LH_karney_transp_bounce']);
0354 if exist('DKE_RESULTS_JETh77_LH_karney_transp_bounce.mat','file') == 0 || forcerun,
0355    rundke
0356 else
0357    info_dke_yp(2,['Simulation JETh77',filesep,'LH_karney_transp_bounce skipped because already done !']) 
0358 end
0359 cd ../..
0360 %
0361 % ---------------------- TScirc -----------------------
0362 %
0363 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0364 cd(['TScirc',filesep,'LH_karney_ripple']);
0365 if exist('DKE_RESULTS_TScirc_LH_karney_ripple.mat','file') == 0 || forcerun,
0366    rundke
0367 else
0368    info_dke_yp(2,['Simulation TScirc',filesep,'LH_karney_ripple skipped because already done !']) 
0369 end
0370 cd ../..
0371 %
0372 % ---------------------- TScirc_peak -----------------------
0373 %
0374 forcerun = 0;%(1) Force all simulations even if they have already been done and overwrite existing results
0375 cd(['TScirc_peak',filesep,'LH_karney_ripple']);
0376 if exist('DKE_RESULTS_TScirc_peak_LH_karney_rippleon.mat','file') == 0 || forcerun,
0377    rundke
0378 else
0379    info_dke_yp(2,['Simulation TScirc_peak',filesep,'LH_karney_ripple skipped because already done !']) 
0380 end
0381 cd ../..
0382 %

Community support and wiki are available on Redmine. Last update: 18-Apr-2019.