Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maximizing CPU usage #273

Open
Alan-Abdallah opened this issue Aug 22, 2024 · 1 comment
Open

maximizing CPU usage #273

Alan-Abdallah opened this issue Aug 22, 2024 · 1 comment

Comments

@Alan-Abdallah
Copy link

Hi :)

I want to compile AD-GPU to run (in batch-mode) on a 48-core CPU node (2 x Intel(R) Xeon(R) Gold 6252).
/AD_gpu/ad_gpu -I receptor.reactive_config -D all -H 0 -x 0 -B {filelist} -N {p_output}/ -n {amount_poses}

is there a correct way to balance the Workgroup-Size and the amount of OpenMP-Threads for CPU-only usage?

should I do:
make DEVICE=CPU NUMWI=1 OVERLAP=ON and OMP_NUM_THREADS=48

or something like:
make DEVICE=CPU NUMWI=16 OVERLAP=ON and OMP_NUM_THREADS=3

@atillack
Copy link
Member

atillack commented Sep 4, 2024

Hi @Alan-Abdallah, I don't know what the best approach here would be for sure but intuitively I would give OpenCL a full CPU each - so either NUMWI=24 or NUMWI=48 (# of threads per 6252).

I never tested this configuration though - as our servers don't have Intel's OpenCL icd, so I would recommend to first optimize the runtime of a single test ligand (e.g. make test) to get an optimal NUMWI (i.e. the one with the best performance per NUMWI) and then go from there.

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

No branches or pull requests

2 participants