In this study, we have conducted a comparative analysis of the structural ordering of short oligoetherimide chains (dimers) near the bounding surface, depending on the structure of that surface. In order to clarify the possibility of oligoetherimide ordering along the symmetry axes of graphene, two types of bounding surfaces were considered: graphene, with a regular discrete position of interaction centers (carbon atoms), and a smooth, structureless impermeable wall. The chemical structures of the considered dimers consist of two repeating units of BPDA-P3, ODPA-P3, or aBPDA-P3 thermoplastic polyetherimides. Using all-atom molecular dynamics simulations, the process of structural ordering of the dimers near the surface of the graphene or wall was established. The ODPA-P3 and BPDA-P3 dimers form an ordered state near the graphene surface, while the aBPDA-P3 dimers do not demonstrate structural ordering. The simulation results confirmed that the ordering direction of the BPDA-P3 and ODPA-P3 dimers near the graphene surface is chosen randomly. Comparison of the oligoetherimide structure formed near the attracting wall without a symmetrical location of the interaction centers shows the similarity of the ordering of dimers near the graphene surface and the wall. As in the case of the graphene surface, the ordering of oligoetherimide molecules near the structureless wall demonstrates one direction of ordering. Therefore, we confirmed that the key factor for the onset of ordering is the presence of a confining surface, rather than the symmetrical arrangement of interaction centers in the substrate structure. © 2024 Author(s).