Guidance Needed: KPAR, NPAR, and NCORE Parameter Settings

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
Ingrid Švajger
Newbie
Newbie
Posts: 4
Joined: Thu Jun 10, 2021 7:50 pm

Guidance Needed: KPAR, NPAR, and NCORE Parameter Settings

#1 Post by Ingrid Švajger » Tue Jul 18, 2023 9:32 am

Dear Forum Members,
I need your expertise to optimize the efficiency of my calculations for a 4x4x4 supercell with 10 atoms in the unit cell (Zr and H). Can you please recommend me a good starting point for KPAR, NPAR and NCORE for running VASP compiled with GNU makefile without MPI. My computer has the following specifications:
• OS: Ubuntu 22.04 jammy
• Kernel: x86_64 Linux 5.15.0-76-generic
• Uptime: 5d 22h 50m
• Packages: 2723
• Shell: bash 5.1.16
• Disk: 16TB / 32TB (50%)
• CPU: Intel Xeon E5-2650 v4 @ 48x 2.9GHz [66.0°C]
• GPU: Quadro P4000
• RAM: 62368MiB / 64277MiB
We would be very grateful for your insights and best practices based on your experiences.
Best regards, Ingrid Švajger

pedro_melo
Global Moderator
Global Moderator
Posts: 140
Joined: Thu Nov 03, 2022 1:03 pm

Re: Guidance Needed: KPAR, NPAR, and NCORE Parameter Settings

#2 Post by pedro_melo » Mon Jul 24, 2023 4:00 pm

Dear Ingrid Švajger,

I am afraid I do not understand your question. You ask for some rule of thumb on how to parallelise your jobs, but write that VASP was compiled without MPI support. How do you intend to achieve parallelisation this way?

Kind regards,
Pedro Melo

pedro_melo
Global Moderator
Global Moderator
Posts: 140
Joined: Thu Nov 03, 2022 1:03 pm

Re: Guidance Needed: KPAR, NPAR, and NCORE Parameter Settings

#3 Post by pedro_melo » Tue Jul 25, 2023 8:15 am

Dear Ingrid Švajger,

Just to add some information to my previous question, you can find an explanation about optimising the parallelisation strategy here wiki/index.php/Optimizing_the_parallelization.

Kind regards,
Pedro Melo

Ingrid Švajger
Newbie
Newbie
Posts: 4
Joined: Thu Jun 10, 2021 7:50 pm

Re: Guidance Needed: KPAR, NPAR, and NCORE Parameter Settings

#4 Post by Ingrid Švajger » Fri Sep 22, 2023 11:51 am

Dear Pedro Melo,
I'd like to thank you for your previous assistance in the parallelization of VASP. Thanks to your guidance and suggestion on MPI integration, I've successfully improved the parallelization of my jobs, which has led to better results. The link you provided to optimize parallelization was particularly useful.
Thanks and best regards, Ingrid Švajger

Locked