Skip to content

perf: Speed up of 7 times of DOCK3.8.5#4

Open
phonglam3103 wants to merge 11 commits intodocking-org:mainfrom
phonglam3103:main
Open

perf: Speed up of 7 times of DOCK3.8.5#4
phonglam3103 wants to merge 11 commits intodocking-org:mainfrom
phonglam3103:main

Conversation

@phonglam3103
Copy link
Copy Markdown

Hi @jir322 ,

Sorry for taking so long to contribute the changes, but here we are ;). This PR includes several changes to all the phases:

  1. DB2 parsing
  • Support for binary format parsing
  • Included a conversion script from standard DB2 to binary format
  • Enable via use_binary_db2: yes in the INDOCK configuration
  1. Matching optimization
  • Implemented bucket-based degeneracy checks
  • Added canonical ordering for ligand sphere matching
  1. Scoring optimization
  • Introduced lazy evaluation
  • Applied SIMD optimizations
  • Added early exit on atom bump detection
  1. FYI, I changed the portland compilers to nvfortran as that is what we have from our side.
    DOCK optimization.pdf

I’ve also attached a PDF with additional details for reference. You might also find the precompiled version of dock64 (named dock64_optimized) in the main directory, which you can test directly without recompiling it.

Happy to hear any feedback—feel free to take a look through the code!
Phong.

@phonglam3103 phonglam3103 requested review from bwhall61 and jir322 March 21, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant