esmuigors said in Unexpectedly cannot get the geometry after optimization: KEYWORD EXTPRT NOT ALLOWED:
About the manual extraction β do I understand correctly that I should take the primitive and not crystallographic cell parameters?! The input in the .d12 file is in crystallographic cell, isn't it?
Hi esmuigors,
If you want to proceed with the manual extraction of the geometry you should copy the Crystallographic cell lattice parameters required by the space group you are working with (e.g. Monoclinic will require you a, b, c and Ξ², while a cubic only the a lattice vector), the only exception to this are P lattices where the primitive and crystallographic coincide. Accordingly, also the fractionary coordinate you will copy should be the one of the Crystallographic cell, but you should copy only the atoms present in the asymmetric unit of your system identified by a T in the FINAL OPTIMIZED GEOMETRY print in the .out file, I will include here below an example to better clarify.
FINAL OPTIMIZED GEOMETRY - DIMENSIONALITY OF THE SYSTEM 3
(NON PERIODIC DIRECTION: LATTICE PARAMETER FORMALLY SET TO 500)
*******************************************************************************
LATTICE PARAMETERS (ANGSTROMS AND DEGREES) - BOHR = 0.5291772083 ANGSTROM
PRIMITIVE CELL - CENTRING CODE 6/0 VOLUME= 62.890767 - DENSITY 13.512 g/cm^3
A B C ALPHA BETA GAMMA
6.02167869 6.02167869 6.02167869 147.475653 147.475653 46.660012
*******************************************************************************
ATOMS IN THE ASYMMETRIC UNIT 2 - ATOMS IN THE UNIT CELL: 4
ATOM X/A Y/B Z/C
*******************************************************************************
1 T 273 TA -2.420755613827E-03 -2.420755613827E-03 4.983867094700E-20
2 F 273 TA -2.524207556138E-01 2.475792443862E-01 -5.000000000000E-01
3 T 233 AS 4.184207556138E-01 4.184207556138E-01 -2.220446049250E-16
4 F 233 AS 1.684207556138E-01 -3.315792443862E-01 -5.000000000000E-01
TRANSFORMATION MATRIX PRIMITIVE-CRYSTALLOGRAPHIC CELL
0.0000 1.0000 1.0000 1.0000 0.0000 1.0000 1.0000 1.0000 0.0000
*******************************************************************************
CRYSTALLOGRAPHIC CELL (VOLUME= 125.78153367)
A B C ALPHA BETA GAMMA
3.37253732 3.37253732 11.05868170 90.000000 90.000000 90.000000
COORDINATES IN THE CRYSTALLOGRAPHIC CELL
ATOM X/A Y/B Z/C
*******************************************************************************
1 T 273 TA -1.956455588613E-19 2.296201495291E-19 -2.420755613827E-03
2 F 273 TA -5.000000000000E-01 2.084229456032E-17 -2.524207556138E-01
3 T 233 AS 5.000000000000E-01 5.000000000000E-01 -8.157924438617E-02
4 F 233 AS -5.117515658395E-17 -5.000000000000E-01 -3.315792443862E-01
In this example you'll have to extract from the second geometry print (i.e. Crystallographic cell) the a and c lattice parameters, given the Tetragonal lattice, alongside the fractionary coordinate of atoms 1 and 3.
esmuigors said in Unexpectedly cannot get the geometry after optimization: KEYWORD EXTPRT NOT ALLOWED:
Are there any workarounds to persuade the script to actually copy the fort.34 file?
In this regards, I don't have your script, but it should be sufficient to add to your script something along these lines in the section where all the files are copied back to your working folder:
if [ -e fort.34 ] then
cp fort.34 $HERE/$INPUTFILE.f34
fi
in this case $HERE=$PWD
, while $INPUTFILE
is the variable corresponding to your input name.
I hope this helps.