-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSi.sample_alat.sh
More file actions
55 lines (45 loc) · 1.42 KB
/
Copy pathSi.sample_alat.sh
File metadata and controls
55 lines (45 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/sh
NAME="alat"
echo " ---------------------------------------------------------------------------------"
echo " | |"
echo " | Please wait calculation is going on at SRMIST-COMET Server. Thank You!!! :) |"
echo " | |"
echo " ---------------------------------------------------------------------------------"
for a in 9.8 10.0 10.2 10.4 10.6 10.8 11
do
cat > ${NAME}_${a}.in << EOF
&CONTROL
calculation = 'scf' ,
outdir = './' ,
prefix = 'SCF' ,
pseudo_dir = '/opt/home/guest1/upf_files' ,
verbosity = 'low' , ! You can use high also to get more informations in the output file.
etot_conv_thr = 1.0D-4 ,
/
&SYSTEM
ibrav = 2 ,
celldm(1) = $a ,
nat = 2 ,
ntyp = 1 ,
ecutwfc = 35 ,
ecutrho = 140 ,
occupations = 'smearing' ,
smearing = 'fermi-dirac' ,
degauss = 3.6d-3 ,
/
&ELECTRONS
conv_thr = 1d-6 ,
mixing_mode = 'plain' ,
mixing_beta = 0.7d0 ,
diagonalization = 'david' ,
/
ATOMIC_SPECIES
Si 28.085500d0 Si.pbe-n-kjpaw_psl.0.1.UPF
ATOMIC_POSITIONS {crystal}
Si 0.00 0.00 0.00
Si 0.25 0.25 0.25
K_POINTS {automatic}
6 6 6 1 1 1
EOF
pw.x < ${NAME}_${a}.in > ${NAME}_${a}.out
done