GW PARALLEL
Posted: Mon Feb 24, 2025 11:20 am
Dear all,
I am very confused about how to set the parallel parameters in GW calculations and would greatly appreciate your help! I am using a CPU account on the supercomputer, with each node having 64 cores and 256 GB of memory, and I can call multiple nodes simultaneously. The run script is as follows:
#!/bin/bash
#SBATCH -p amd_256
#SBATCH -N 1
module purge
module load mpi/intel/17.0.7-thc
mpirun -np 48 /public1/home/scb3034/soft/yambo/yambo-5.1.1-2/yambo-5.1.1/bin/yambo -F gw.in -J gw
How should I set the following parameters?
DIP_CPU= "1 $ngpu 1" # [PARALLEL] CPUs for each role
DIP_ROLEs= "k c v" # [PARALLEL] CPUs roles (k,c,v)
DIP_Threads= 0 # [OPENMP/X] Number of threads for dipoles
X_and_IO_CPU= "1 1 1 $ngpu 1" # [PARALLEL] CPUs for each role
X_and_IO_ROLEs= "q g k c v" # [PARALLEL] CPUs roles (q,g,k,c,v)
X_and_IO_nCPU_LinAlg_INV=1 # [PARALLEL] CPUs for Linear Algebra (if -1 it is automatically set)
X_Threads= 0 # [OPENMP/X] Number of threads for response functions
SE_CPU= "1 $ngpu 1" # [PARALLEL] CPUs for each role
SE_ROLEs= "q qp b" # [PARALLEL] CPUs roles (q,qp,b)
SE_Threads= 0 # [OPENMP/GW] Number of threads for self-energy
I have made some initial settings . Are they reasonable?
Thanks!
Yours,
Xiao
I am very confused about how to set the parallel parameters in GW calculations and would greatly appreciate your help! I am using a CPU account on the supercomputer, with each node having 64 cores and 256 GB of memory, and I can call multiple nodes simultaneously. The run script is as follows:
#!/bin/bash
#SBATCH -p amd_256
#SBATCH -N 1
module purge
module load mpi/intel/17.0.7-thc
mpirun -np 48 /public1/home/scb3034/soft/yambo/yambo-5.1.1-2/yambo-5.1.1/bin/yambo -F gw.in -J gw
How should I set the following parameters?
DIP_CPU= "1 $ngpu 1" # [PARALLEL] CPUs for each role
DIP_ROLEs= "k c v" # [PARALLEL] CPUs roles (k,c,v)
DIP_Threads= 0 # [OPENMP/X] Number of threads for dipoles
X_and_IO_CPU= "1 1 1 $ngpu 1" # [PARALLEL] CPUs for each role
X_and_IO_ROLEs= "q g k c v" # [PARALLEL] CPUs roles (q,g,k,c,v)
X_and_IO_nCPU_LinAlg_INV=1 # [PARALLEL] CPUs for Linear Algebra (if -1 it is automatically set)
X_Threads= 0 # [OPENMP/X] Number of threads for response functions
SE_CPU= "1 $ngpu 1" # [PARALLEL] CPUs for each role
SE_ROLEs= "q qp b" # [PARALLEL] CPUs roles (q,qp,b)
SE_Threads= 0 # [OPENMP/GW] Number of threads for self-energy
I have made some initial settings . Are they reasonable?
Thanks!
Yours,
Xiao