Skip to content

Commit e1a6fd1

Browse files
authored
Merge pull request brucefan1983#712 from zhyan0603/zhyan0603-GPUMD
Change keywords for NELM check
2 parents ffc9242 + 9a564c1 commit e1a6fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/vasp2xyz/outcar2xyz/multipleFrames-outcars2nep-exyz.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ for file in $(find "$read_dire" -name "OUTCAR"); do
4141
continue
4242
fi
4343

44-
NELM=$(grep "NELM" "$file" | awk '{print $3}' | tr -d ';')
44+
NELM=$(grep "of ELM steps" "$file" | awk '{print $3}' | tr -d ';')
4545
actual_steps=$(grep -c "Iteration" "$file")
4646

4747
if grep -q "aborting loop because EDIFF is reached" "$file"; then

0 commit comments

Comments
 (0)