Closed shouti-fredchang closed 2 years ago
@shouti-fredchang This is fortunately not a bug :-)
The "best energy" displayed in the AutoStop table is the scoring function as calculated on the GPU - which is the sum of final_intermol_NRG and internal_ligand_NRG.
P.S. It is possible for final_intermol_NRG + internal_ligand_NRG to differ minutely from the AutoStop table (on the order of 0.01 kcal/mol) due to both rounding as well implementation differences between CPU and GPU math (dlg and xml numbers are recalculated on CPU).
Confirmed, thanks for the clarification.
Describe the bug When you run autodockgpu the stdout displays convergence of the energy terms and displays 'Best energy' over the generations.
However when you look in the dlg or xml file, I can not map 'Best energy' term from stdout to the energy terms within these output files. Neither free_NRG_binding, final_intermol_NRG, etc. match the stdout energy terms.
Question (or Bug?) what energy term is stdout printing?
Below are the outputs:
--STDOUT------------------------- AutoDock-GPU version: v1.5.2-1-ga917c4828b612310fd9319eb1c95aa65133d6c52
Running 1 docking calculation
Cuda device: Tesla K80 Available memory on device: 11380 MB (total: 11441 MB)
CUDA Setup time 0.159015s
Running Job #1 Using heuristics: (capped) number of evaluations set to 1613968 Local-search chosen method is: ADADELTA (ad)
Rest of Setup time 0.019470s
Executing docking runs, stopping automatically after either reaching 0.15 kcal/mol standard deviation of the best molecules of the last 4 * 5 generations, 42000 generations, or 1613968 evaluations:
Generations | Evaluations | Threshold | Average energy of best 10% | Samples | Best energy ------------+--------------+------------------+------------------------------+---------+------------------- 0 | 150 | 7202.74 kcal/mol | 2331.32 +/- 1299.05 kcal/mol | 4 | 1187.14 kcal/mol 5 | 38742 | 7202.74 kcal/mol | 747.52 +/- 1121.11 kcal/mol | 692 | -8.20 kcal/mol 10 | 81134 | 771.82 kcal/mol | -11.51 +/- 0.18 kcal/mol | 4 | -11.80 kcal/mol 15 | 127329 | -10.83 kcal/mol | -11.64 +/- 0.21 kcal/mol | 8 | -11.84 kcal/mol 20 | 176807 | -11.24 kcal/mol | -11.54 +/- 0.18 kcal/mol | 11 | -11.87 kcal/mol 25 | 228675 | -11.30 kcal/mol | -11.77 +/- 0.13 kcal/mol | 10 | -11.92 kcal/mol 30 | 282194 | -11.58 kcal/mol | -11.77 +/- 0.11 kcal/mol | 23 | -11.94 kcal/mol 35 | 336417 | -11.69 kcal/mol | -11.84 +/- 0.07 kcal/mol | 17 | -11.95 kcal/mol 40 | 393667 | -11.71 kcal/mol | -11.84 +/- 0.08 kcal/mol | 22 | -11.95 kcal/mol 45 | 451665 | -11.79 kcal/mol | -11.90 +/- 0.04 kcal/mol | 20 | -11.95 kcal/mol ------------+--------------+------------------+------------------------------+---------+-------------------
Docking time 7.641588s
Shutdown time 0.000436s
Job #1 took 7.662 sec after waiting 0.494 sec for setup
Run time of entire job set (1 file): 8.243 sec Processing time: 0.087 sec
All jobs ran without errors.
-----XML output----------- <?xml version="1.0" ?>