<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=FR>Dear users,<o:p></o:p></span></p><p class=MsoNormal><span lang=FR><o:p> </o:p></span></p><p class=MsoNormal>I am running into a new problem while trying to perform a calculation on a 2D slab consisting of 4 unit cells in the z-direction with an additional molecule on top of an under-coordinated surface atom.<o:p></o:p></p><p class=MsoNormal>When I try to run the code (in serial mode just for checking), I get this message: <o:p></o:p></p><p class=MsoNormal>2D CODE WILL NOT WORK, 2D MATERIAL NOT IN X-Y PLANE!!<o:p></o:p></p><p class=MsoNormal>2D CODE WILL NOT WORK, 2D MATERIAL NOT IN X-Y PLANE!!<o:p></o:p></p><p class=MsoNormal>(repeated twice as shown here)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I tried to search, but could not find any documentation on this error.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I thought that this might be due to a vacuum slab too small, but the dimension should be ok according to previous calculations on similar systems, and increasing the c lattice to very large values constant does not solve the problem.<o:p></o:p></p><p class=MsoNormal>I made sure that the slab+molecule were centered around 0 in the z-direction as I have been told on this list that this was important for the 2D code not to cutoff some real coulombian interactions. This did not solve the problem. I also tried to wrap all atoms in the cell, but this did not change anything (plus it necessarily meant that the system was not centered around 0 anymore). <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I do not understand this error message. What does “not in x-y plane” mean for this 2D code? What confuses me is that I have been doing several very similar calculations, and I never had this problem before. Any suggestion ?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I will join my input file<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks for reading,<o:p></o:p></p><p class=MsoNormal>Julien<o:p></o:p></p></div></body></html>