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.
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 fiin this case $HERE=$PWD, while $INPUTFILE is the variable corresponding to your input name.
I hope this helps.