[QE-users] ibrav number check

2018-11-19 Thread Chan, Edmund
Dear all users,

I am currently trying to relax a methylammonium lead iodide CH3NH3PbI3 
structure which has tetragonal structure I4/mcm. Thus, in my input file, I 
select ibrav = 7 (body centred teragonal). However, as I visualise the input 
and output on Xcrysden, the unit cell becomes orthorhombic. Why is that?



   title = 'MAPI' ,
 calculation = 'relax' ,
restart_mode = 'from_scratch' ,
  outdir = './' ,
  pseudo_dir = './' ,
  prefix = 'CH3NH3PbI3' ,
/

   ibrav = 7,
   A = 8.83920,
   C = 12.6948,
 nat = 12,
ntyp = 5,
 ecutwfc = 80 ,
   ecutrho = 800,
/

electron_maxstep = 5000 ,
conv_thr = 1.0d-6 ,
 mixing_beta = 0.3 ,
/

ion_dynamics = 'bfgs' ,
/
ATOMIC_SPECIES
C   12.01070  c_pbesol_v1.2.uspp.F.UPF
H1.00794  H.pbesol-rrkjus_psl.0.1.UPF
N   14.00670  N.pbesol-theos.UPF
   Pb  207.2  Pb.pbesol-dn-kjpaw_psl.0.2.2.UPF
I  126.90450  i_pbesol_v1.uspp.F.UPF
ATOMIC_POSITIONS alat
   Pb  0.00.00.5
I  0.00.00.25000
I  0.294200.205800.5
I -0.29420   -0.207600.5
C  0.544000.921000.78400
H  0.609201.002100.76990
H  0.557300.845500.72460
H  0.551500.875200.86430
N  0.389000.987000.76700
H  0.324700.913900.73030
H  0.381401.068100.73430
H  0.339300.990800.83100
K_POINTS automatic
  1 1 1   0 0 0

Thank you all.


Kind regards,

Edmund Chan

Edmund Chan
PhD Renewable Energy Student
Environment & Sustainablity Institute
College of Engineering, Mathematics and Physical Sciences
University of Exeter, Penryn Campus
Penryn, Cornwall
United Kingdom
TR10 9FE

Tel: +44 (0)7455 235 701
Email: thc...@exeter.ac.uk<mailto:thc...@exeter.ac.uk>
LinkedIn: https://uk.linkedin.com/in/edmundchan1
[uoe]

[cid:image002.gif@01D2F1A2.9AF74CE0]

___
users mailing list
users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

[QE-users] Problem when running pw.x relax calculation on supercomputer

2018-11-19 Thread Chan, Edmund
Dear users,

Did you experience the problem when message says...

pw.x: error while loading shared libraries: libgfortran.so.4: cannot open 
shared object file: No such file or directory.

May I ask how to solve it? It is not a problem regarding submitting the job to 
supercomputer because it succeeded to run initially.

Thank you.


Kind regards,

Edmund Chan
PhD student
University of Exeter, UK
___
users mailing list
users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

[QE-users] Help: How to optimise lattice c parameter in scf calculation

2018-11-16 Thread Chan, Edmund
Dear all,

I am currently working on a CH3NH3PbI3 I4/mcm tetragonal structure. I would 
like to optimise the lattice parameter c using scf calculation after optimising 
geometry using relax calculation. I tried to fix celldm(1) and changes 
celldm(3) so that lattice parameter c ranges 10.5-13.5 (true value should be 
about 12.6, sum of Pb-I-Pb-I-Pb) However, calculations still don't show min 
energy within the range. still decreasing when celldm(3) keeps decreasing.

Any solution?

Thanks a lot in advance.

#!/bin/sh

#
# define the following variables according to your needs
#
# outdir=temporary_directory_for_large_files
# pseudo_dir=directory_where_pp-files_are_kept
# espresso_dir=top_directory_of_espresso_package
# code : sh run_si_eos

rm -f MAPI_scf.out MAPI.etot_vs_alat
touch MAPI.etot_vs_alat
for alat in 1.2572090494 1.2721758238 1.2871425982 1.3021093726 1.317076147 
1.3320429214 1.3470096958 1.3619764701 1.3769432445 1.3919100189 1.4068767933 
1.4218435677 1.4368103421 1.4517771165 1.4667438909 1.4817106653 1.4966774397 ; 
do
# self-consistent calculation
cat > MAPI_scf.in << EOF

calculation='scf',
restart_mode='from_scratch',
prefix='MAPI',
pseudo_dir = '/home/edmund/Quantum-Espresso/pseudo/SSSP_Acc/PBESOL/',
outdir='/home/edmund/Quantum-Espresso/Tutorial/tmp/'
/

ibrav= 6, celldm(1) = 16.703665958 , celldm(3) = $alat , nat= 12, ntyp= 5,
ecutwfc = 70,
/

electron_maxstep = 5000,
mixing_beta = 0.3,
conv_thr = 1.0d-6,
/

ion_dynamics="bfgs",
/
ATOMIC_SPECIES
C 12.01070 c_pbesol_v1.2.uspp.F.UPF
H 1.00794 H.pbesol-rrkjus_psl.0.1.UPF
N 14.00670 N.pbesol-theos.UPF
Pb 207.2 Pb.pbesol-dn-kjpaw_psl.0.2.2.UPF
I 126.90450 i_pbesol_v1.uspp.F.UPF
ATOMIC_POSITIONS (alat)
Pb -0.060250864 0.119717291 0.415558090
I -0.007273724 -0.001439398 0.113823814
I 0.267082396 0.174145023 0.503051646
I -0.88287 -0.164962141 0.584095713
C 0.535192046 0.927588487 0.796494424
H 0.581905016 1.042275920 0.809533204
H 0.580744698 0.877063608 0.692556190
H 0.570638845 0.855097719 0.891131917
N 0.366943691 0.939129847 0.789578969
H 0.318073687 0.834961464 0.773620510
H 0.328759438 1.011781981 0.698437223
H 0.325773058 0.986440200 0.887518302
K_POINTS automatic
1 1 1 0 0 0
EOF
pw.x < MAPI_scf.in > MAPI_scf.out
# extract Etot from output
etot=`grep -e ! MAPI_scf.out | awk '{print $(NF-1)}'`
echo $alat $etot >> MAPI.etot_vs_alat
done



Kind regards,

Edmund Chan
____
Edmund Chan
PhD Renewable Energy Student
Environment & Sustainablity Institute
College of Engineering, Mathematics and Physical Sciences
University of Exeter, Penryn Campus
Penryn, Cornwall
United Kingdom
TR10 9FE

Tel: +44 (0)7455 235 701
Email: thc...@exeter.ac.uk<mailto:thc...@exeter.ac.uk>
LinkedIn: https://uk.linkedin.com/in/edmundchan1
[uoe]

[cid:image002.gif@01D2F1A2.9AF74CE0]

___
users mailing list
users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

[QE-users] Capability of calculating pw.x on mixed perovskite, e.g. CsSnI(3-x)Br(x)

2018-06-04 Thread Chan, Edmund
Dear everyone,

First of all, thank you for providing the Quantum Espresso workshop. I am 
wondering if pw.x is able to calculate a mixed material together with a formula 
like, CsSnI3-xBrx when x is between 0 and 1. Could anyone give me a brief 
direction on that, please? Thanks a lot.


Kind regards,

Edmund


Edmund Chan
PhD Renewable Energy Student
Environment & Sustainability Institute
College of Engineering, Mathematics and Physical Sciences
University of Exeter, Penryn Campus
Penryn, Cornwall
TR10 9FE

Tel: +44 (0)7455 235 701
Email: thc...@exeter.ac.uk
LinkedIn: https://uk.linkedin.com/in/edmundchan1
[uoe]

[cid:image002.gif@01D2F1A2.9AF74CE0]

___
users mailing list
users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users