______________________

Get the tutorial files
______________________

wget https://indico.cern.ch/event/656211/contributions/2756849/attachments/1546724/2427939/WC_lite.pip

wget https://indico.cern.ch/event/656211/contributions/2756849/attachments/1546724/2427940/WC_lite.yaml



_________________________________

Try the GAMBIT diagnostics system
_________________________________

./gambit scanners
./gambit diver
./gambit backends
./gambit SuperIso



_________________________

Run scan and check output
_________________________


mpiexec -np 2 ./gambit -rf WC_lite.yaml    

h5ls runs/WC_lite/samples/WC.hdf5/WC

pippi/pippi WC_lite.pip

less runs/WC_lite/parse/WC.best_all

evince runs/WC_lite/plots/WC_7_like1D.pdf 
evince runs/WC_lite/plots/WC_10_like1D.pdf
evince runs/WC_lite/plots/WC_7_10_like2D.pdf





___________________________________

Suggestions for quick things to try
___________________________________

- Run a MultiNest scan. 
  (Plotting the results will require some changes to WC_lite.pip)


- Try to abort a scan (ctrl-c and wait...) and afterwards resume it 
  safely by calling GAMBIT *without* the restart flag -r, i.e.
  
    ./gambit -f WC_lite.yaml 


- Use the GAMBIT diagnostics system to figure out which function
  calculates the b2sll log-likelihood. (Commented out in WC_lite.yaml)
  
  Take a look at this function in FlavBit/src/FlavBit.cpp  
  (A fairly clean illustration of a GAMBIT module function.)