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

is band parallelization (-nb) disabled/changed in sctk.x v7.2 (develop branch)? #24

Open
alpinnovianus opened this issue May 20, 2024 · 0 comments

Comments

@alpinnovianus
Copy link
Contributor

alpinnovianus commented May 20, 2024

In the main branch (sctk.x v6.7), it is possible to specify k-point and band parallelization with sctk.x.
Here i use 16 mpi processes, 4 groups of k-point and 4 groups of bands for the Al example. It can run with sctk.x v6.7,
However, in the develop branch (sctk 7.2), it would not run.
Is band parallelization disabled or changed in sctk.x v7.2?

#!/bin/sh
#SBATCH --job-name='QE'
#SBATCH -p i8cpu
#SBATCH -N 1
#SBATCH -n 16
#SBATCH -c 1
#SBATCH --time='00:30:00'
#SBATCH --output='log'
#SBATCH --error='error'

srun /work/k0150/k015013/q-e/sctk/src/sctk.x < kel.in -nk 4 -nb 4 > kel_tutorial_nk_4_nb_4.out

Program SCTK v.6.7GPU starts on 21May2024 at 0:15:16

 This program is part of the open-source Quantum ESPRESSO suite
 for quantum simulation of materials; please cite
     "P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);
     "P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017);
     "P. Giannozzi et al., J. Chem. Phys. 152 154105 (2020);
      URL http://www.quantum-espresso.org",
 in publications or presentations arising from this work. More details at
 http://www.quantum-espresso.org/quote

 Parallel version (MPI & OpenMP), running on      16 processor cores
 Number of MPI processes:                16
 Threads/MPI process:                     1

 MPI processes distributed on     1 nodes
 K-points division:     npool     =       4
 band groups division:  nbgrp     =       4

 git hash : 10e0a5ee9318627f72d1a1858850d2a8ac1a75b0


 Reading xml data from directory:

 ./pwscf.save/

 IMPORTANT: XC functional enforced from input :
 Exchange-correlation= PBE
                       (   1   4   3   4   0   0   0)

fail in the develop version

#!/bin/sh
#SBATCH --job-name='QE'
#SBATCH -p i8cpu
#SBATCH -N 1
#SBATCH -n 16
#SBATCH -c 1
#SBATCH --time='00:30:00'
#SBATCH --output='log'
#SBATCH --error='error'

srun /work/k0150/k015013/SCTK_develop/q-e/sctk/src/sctk.x < kel.in -nk 4 -nb 4 > kel_nb4.out
       Program SCTK v.7.2 starts on 21May2024 at  0:28: 0

 This program is part of the open-source Quantum ESPRESSO suite
 for quantum simulation of materials; please cite
     "P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);
     "P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017);
     "P. Giannozzi et al., J. Chem. Phys. 152 154105 (2020);
      URL http://www.quantum-espresso.org",
 in publications or presentations arising from this work. More details at
 http://www.quantum-espresso.org/quote

 Parallel version (MPI & OpenMP), running on      16 processor cores
 Number of MPI processes:                16
 Threads/MPI process:                     1

 MPI processes distributed on     1 nodes
 K-points division:     npool     =       4
 band groups division:  nbgrp     =       4
 231384 MiB available memory on the printing compute node when the environment starts


 git hash : 0e8d566581ed04f1368c9dfd78dadffce10d7565

 Error in routine sctk_main (4):
 npool(-nk) times band-group(-nb) must equal to the number of processes.

 stopping ...
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

1 participant