Page 1 of 1

hybrid parallelization using OPENMP+MPI

Posted: Tue May 17, 2022 6:57 pm
by musanna_galib
Hello,

I will run some heavy Elastic band and MD simulations. I compiled VASP with MPI and OpenMP in the cluster. My question is what will be the optimum parallelization for the best performance for VASP. Do I have to mention anything in my input script? From https://www.vasp.at/wiki/index.php/Hybr ... lelization, it is not very clear to me.

For your information, I am planning for node=8:cpus=32:mpiprocs=4:ompthreads=8:mem=180.

Looking forward to hearing from you.

Thanks,
MG

Re: hybrid parallelization using OPENMP+MPI

Posted: Fri May 20, 2022 3:25 pm
by andreas.singraber
Hello!

Please understand that there is no way to tell what settings give the optimal performance without running actual benchmarks. You need to test this yourself on your machine with your settings. However, for elastic band calculations you can benchmark a single image first and then just use the same amount of cores/threads for each image. Also have a look at the parallelization information in the Wiki and our recently published video on Youtube. The hybrid parallelization overview on our Wiki you mentioned has been revised recently and is quite extensive. Please be more precise and tell us which statements are unclear. For information on how to submit hybrid jobs on your cluster, please check your cluster documentation or contact your system administrators.

All the best,

Andreas Singraber