<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Dear all,<br>
<br>
A few months ago, I posted a question regarding a problem with
optimizing the
molecules in a monoclinic unit cell (original message below). After
some helpfull comments (for which I am very grateful, btw), I did some
further testing on this matter. I now suspect that there is a bug in
the CPMD code (both in 3.7.2 and in 3.9.1)! The problem apparently lies
in the treatment of the CELL keyword, as I will try to discuss.<br>
&nbsp;<br>
I first started out with the definition for my molecular system using
the keywords SYMMETRY and CELL:<br>
&nbsp;&nbsp;&nbsp; &amp;SYSTEM
<br>
&nbsp;&nbsp;&nbsp; ANGSTROM
<br>
&nbsp;&nbsp;&nbsp; SYMMETRY
<br>
&nbsp;&nbsp;&nbsp; 12
<br>
&nbsp;&nbsp;&nbsp; CELL
<br>
&nbsp;&nbsp;&nbsp; 5.0872&nbsp; 2.314338&nbsp; 1.073321&nbsp; 0.0&nbsp; -0.374493314&nbsp; 0.0<br>
<br>
As Bala Sundaram pointed out to me, this specific format (as given in
the manual) was incorrect and should be replaced by:<br>
&nbsp;&nbsp;&nbsp; &amp;SYSTEM
<br>
&nbsp;&nbsp;&nbsp; ANGSTROM
<br>
&nbsp;&nbsp;&nbsp; SYMMETRY
<br>
&nbsp;&nbsp;&nbsp; 12
<br>
&nbsp;&nbsp;&nbsp; CELL
<br>
&nbsp;&nbsp;&nbsp; 5.0872&nbsp; 2.314338&nbsp; 1.073321 -0.374493314&nbsp; 0.0&nbsp; 0.0&nbsp; <br>
That is, the format of the CELL keyword for a monoclinic system is:<br>
&nbsp;&nbsp;&nbsp; a&nbsp; b/a&nbsp; c/a&nbsp;&nbsp; cos(beta)&nbsp; 0&nbsp;&nbsp; 0<br>
A notification of this format is also implemented in version 3.9.1 of
cpmd, although I think some mention in the manual would be helpfull.<br>
Anyhow, the calculation still failed and the reason is quite apparent
in the output:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ************************** SUPERCELL ***************************<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMMETRY:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MONOCLINIC<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LATTICE CONSTANT(a.u.):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9.61341<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CELL DIMENSION:&nbsp;&nbsp; 9.6134&nbsp; 2.3143&nbsp; 1.0733 -0.3745&nbsp; 0.0000&nbsp; 0.0000<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VOLUME(OMEGA IN BOHR^3):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2046.33461<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LATTICE VECTOR A1(BOHR):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9.6134&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp; 0.0000<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LATTICE VECTOR A2(BOHR):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -8.3320&nbsp;&nbsp;&nbsp; 20.6296&nbsp;&nbsp;&nbsp;&nbsp; 0.0000<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LATTICE VECTOR A3(BOHR):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp; 10.3183<br>
As the lattice vectors point out, the a and c axis are perpendicular!!
This is obviously not in accordance with the monoclinic symmetry!<br>
<br>
As this did not solve my problem, I redid my calculation, this time
with the CELL VECTORS keyword:<br>
&nbsp;&nbsp;&nbsp; &amp;SYSTEM
<br>
&nbsp;&nbsp;&nbsp; ANGSTROM
<br>
&nbsp;&nbsp;&nbsp; CELL VECTORS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.087&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11.773 &nbsp;&nbsp; 0.0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -2.04447 &nbsp; 0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.062781<br>
This calculation was succesfull, but now in the output it appears that
my molecular symmetry is TRICLINIC!!<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ************************** SUPERCELL ***************************<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMMETRY:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRICLINIC<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LATTICE CONSTANT(a.u.):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9.61304<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CELL DIMENSION:&nbsp;&nbsp; 9.6130&nbsp; 2.3143&nbsp; 1.0733&nbsp; 0.0000 -0.3744&nbsp; 0.0000<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VOLUME(OMEGA IN BOHR^3):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2046.13616<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LATTICE VECTOR A1(BOHR):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9.6130&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp; 0.0000<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LATTICE VECTOR A2(BOHR):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp; 22.2477&nbsp;&nbsp;&nbsp;&nbsp; 0.0000<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LATTICE VECTOR A3(BOHR):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -3.8635&nbsp;&nbsp;&nbsp;&nbsp; 0.0000&nbsp;&nbsp;&nbsp;&nbsp; 9.5673<br>
<br>
Eventually, my calculations succeeded but I hope you agree that there
are certain issues with regard to the SYMMETRY and CELL keywords that
need to be looked at.<br>
<br>
<br>
Sincerely,<br>
Ewald Pauwels.<br>
<br>
<br>
<br>
<br>
Ewald Pauwels wrote:<br>
<blockquote cite="mid41401A0B.4050302@UGent.be" type="cite">Dear all, <br>
  <br>
Does anybody have any experience with applying CPMD on monoclinic
crystals? <br>
The system I am studying contains four (organic) molecules in the unit
cell. When I optimize these molecules (only the atomic coordinates -
not the cell constants), I find that the unit cell no longer satisfies
the original symmetry. I.e. all four molecules have a substantially
different conformation! <br>
  <br>
I suspect that I must be doing something wrong here. Below is my
inputfile. <br>
  <br>
  <br>
Thanks in advance, <br>
Ewald. <br>
  <br>
  <br>
  <br>
------------------------------------------------------- <br>
inputfile <br>
------------------------------------------------------- <br>
&amp;CPMD <br>
RESTART LATEST GEOFILE WAVEFUNCTION <br>
OPTIMIZE GEOMETRY <br>
LSD <br>
ODIIS NO_RESET=50 <br>
&nbsp;10 <br>
TIMESTEP <br>
&nbsp;20 <br>
PRINT <br>
&nbsp;10 <br>
STRUCTURE BONDS ANGLES <br>
&amp;END <br>
  <br>
&amp;SYSTEM <br>
ANGSTROM <br>
SYMMETRY <br>
12 <br>
CELL <br>
5.0872&nbsp; 2.314338&nbsp; 1.073321&nbsp; 0.0&nbsp; -0.374493314&nbsp; 0.0 <br>
CUTOFF <br>
25. <br>
MULTIPLICITY <br>
1 <br>
&amp;END <br>
  <br>
&amp;ATOMS <br>
*C_VDB_U BINARY NEWF <br>
LMAX=P <br>
8 <br>
&nbsp;0.218182218417937&nbsp; 1.473520453&nbsp; 0.333090471110274 <br>
&nbsp;0.732546560623109&nbsp; 1.717103823&nbsp; -1.08374897292691 <br>
&nbsp;1.30308357695184&nbsp; 7.360020453&nbsp; 2.1982999039374 <br>
&nbsp;0.788719234746671&nbsp; 7.603603823&nbsp; 3.61513934797459 <br>
&nbsp;-0.218182218417937&nbsp; -1.473520453&nbsp; -0.333090471110274 <br>
&nbsp;-0.732546560623109&nbsp; -1.717103823&nbsp; 1.08374897292691 <br>
&nbsp;1.73944801378772&nbsp; 4.412979547&nbsp; 2.86448084615795 <br>
&nbsp;2.25381235599289&nbsp; 4.169396177&nbsp; 1.44764140212077 <br>
*N_VDB_U BINARY NEWF <br>
LMAX=P <br>
4 <br>
&nbsp;2.03113800324446&nbsp; 1.040509513&nbsp; -1.31410549705625 <br>
&nbsp;-0.509872207874679&nbsp; 6.927009513&nbsp; 3.84549587210393 <br>
&nbsp;-2.03113800324446&nbsp; -1.040509513&nbsp; 1.31410549705625 <br>
&nbsp;3.55240379861424&nbsp; 4.845990487&nbsp; 1.21728487799143 <br>
*O_VDB_U BINARY NEWF <br>
LMAX=P <br>
8 <br>
&nbsp;1.05333382374583&nbsp; 1.104201443&nbsp; 1.19695275049904 <br>
&nbsp;-1.00750738194352&nbsp; 1.676251513&nbsp; 0.53944941448416 <br>
&nbsp;0.467931971623952&nbsp; 6.990701443&nbsp; 1.33443762454863 <br>
&nbsp;2.5287731773133&nbsp; 7.562751513&nbsp; 1.99194096056352 <br>
&nbsp;-1.05333382374583&nbsp; -1.104201443&nbsp; -1.19695275049904 <br>
&nbsp;1.00750738194352&nbsp; -1.676251513&nbsp; -0.53944941448416 <br>
&nbsp;2.57459961911561&nbsp; 4.782298557&nbsp; 3.72834312554672 <br>
&nbsp;0.513758413426261&nbsp; 4.210248487&nbsp; 3.07083978953184 <br>
*H_VDB_U BINARY NEWF <br>
LMAX=S <br>
20 <br>
&nbsp;2.33817143317496&nbsp; 1.18130282&nbsp; -2.29299415508719 <br>
&nbsp;2.75812420631155&nbsp; 1.37791192&nbsp; -0.67745575495101 <br>
&nbsp;1.93653355901116&nbsp; 0.03473035&nbsp; -1.14763114043162 <br>
&nbsp;0.875530385150063&nbsp; 2.77889892&nbsp; -1.22357285168305 <br>
&nbsp;0.0131007466085907&nbsp; 1.35318862&nbsp; -1.81758891709173 <br>
&nbsp;-0.816905637805185&nbsp; 7.06780282&nbsp; 4.82438453013487 <br>
&nbsp;-1.23685841094177&nbsp; 7.26441192&nbsp; 3.20884612999869 <br>
&nbsp;-0.415267763641377&nbsp; 5.92123035&nbsp; 3.67902151547929 <br>
&nbsp;0.645735410219716&nbsp; 8.66539892&nbsp; 3.75496322673072 <br>
&nbsp;1.50816504876119&nbsp; 7.23968862&nbsp; 4.34897929213941 <br>
&nbsp;-2.33817143317496&nbsp; -1.18130282&nbsp; 2.29299415508719 <br>
&nbsp;-2.75812420631155&nbsp; -1.37791192&nbsp; 0.67745575495101 <br>
&nbsp;-1.93653355901116&nbsp; -0.03473035&nbsp; 1.14763114043162 <br>
&nbsp;-0.875530385150063&nbsp; -2.77889892&nbsp; 1.22357285168305 <br>
&nbsp;-0.0131007466085907&nbsp; -1.35318862&nbsp; 1.81758891709173 <br>
&nbsp;3.85943722854474&nbsp; 4.70519718&nbsp; 0.23839621996049 <br>
&nbsp;4.27939000168133&nbsp; 4.50858808&nbsp; 1.85393462009667 <br>
&nbsp;3.45779935438094&nbsp; 5.85176965&nbsp; 1.38375923461606 <br>
&nbsp;2.39679618051984&nbsp; 3.10760108&nbsp; 1.30781752336463 <br>
&nbsp;1.53436654197837&nbsp; 4.53331138&nbsp; 0.713801457955944 <br>
&amp;END <br>
  <br>
&amp;DFT <br>
LDA CORRELATION PZ <br>
FUNCTIONAL BP <br>
GC-CUTOFF <br>
5.D-5 <br>
&amp;END <br>
------------------------------------------------------------------ <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Ewald Pauwels
Centre for Molecular Modelling
Laboratory of Theoretical Physics
Ghent University
Proeftuinstraat 86
B-9000 Gent
Belgium
<a class="moz-txt-link-abbreviated" href="mailto:ewald.pauwels@UGent.be">ewald.pauwels@UGent.be</a>
+32 9 264 65 76</pre>
</body>
</html>