Dear BerkeleyGW team,
I met errors when using pw2bgw.x convert wavefunction into BGW form.
The crash error is:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
task # 660
from diropn : error # 3
wrong record length
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
task # 453
from diropn : error # 3
wrong record length
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Here is the job submission script:
#!/bin/bash
#SBATCH -A xxxxx
#SBATCH -C cpu
#SBATCH --qos=regular
#SBATCH --time=12:00:00
#SBATCH --nodes=128
# # #SBATCH --ntasks-per-node=16
#SBATCH --mail-type=begin,end,fail
#SBATCH --mail-user=xxxxxx
#OpenMP settings:
export OMP_NUM_THREADS=2
export OMP_PLACES=threads
export OMP_PROC_BIND=spread
module load espresso/7.1-libxc-6.1.0-cpu
PW="pw.x"
MPIRUN="srun -n 1024 -c 32 --cpu_bind=cores"
POOLS="-npools 64" #We only use pools for calculations with many k-points
cd ./01-scf
$MPIRUN $PW -ndiag 2 -pd .true. -in ./in &> ./out
rm ./*.wfc*
cd ..
#
PW2BGW="/global/common/software/nersc/pm-2021q4/sw/qe/7.1/pm-cpu/B/bin/pw2bgw.x"
cd ./02-wfn
$MPIRUN $PW -ndiag 2 -pd .true. $POOLS -in ./in &> ./out
$MPIRUN $PW2BGW -pd .true. -in ./pp_in &> ./pp_out
rm ./*.wfc*
cd ..
______________________________________
Please note that I used " -pd .true. " to avoid the error " Error in routine fft_type_set (6):
there are processes with no planes. Use pencil decomposition (-pd .true.) "
01-scf folder ran correctly.
For 02-wfn, pw.x run correctly. The errors appear when running pw2bgw.x .
Please check all the files in folder 02-wfn, which I attached below.
The files in .save folder were removed in order to reduce the size of the attached file.
I am sure that the .xml file is correct and is linked to the one in 01-scf folder.
Please help me what is the problem and how to solve this.
Best,
Hong