1) Go to /inopt/examples/ued.cgun. Start the optimization by running the command:
./how_to_run.txt
You should see the following output:
nohup: appending output to 'nohup.out'
2) If you want to see the progress of the optimization, run the command:
tail -f var_diag.log
3) If you want to visualize the results as they happen, run gnuplot. When prompted by the line "gnuplot>", enter the line:
p [0:160] [0:15] "ued.cgun.out.txt" u (-1*$18):19
The reason the last two input parameters of the above line reads 18 and 19 is evident when one ones the ued.cgun.out.txt file. On the top of the file, it says " # variables (17) objectives (2) constraints (3) ".
Therefore, column 18 and 19 are the two competing objectives that we are trying to optimize.This will plot the emittance as a function of bunch charge in [fC] and [nm] respectively.