To clarify a bit more, substances that exist as discrete molecules have intermolecular bonding. Most chemical compounds, like gases, organic compounds, and things that exist in solutions fall into this category. Ionic compounds, in the solid state, are in a lattice and have ionic bonds between the ions, and do not have intermolecular forces, because there are no discrete molecules. Metals are similar; they exhibit metallic bonding. Diamond is covalently bonded sp3 hybridized carbon atoms arranged in a lattice, and do not have intermolecular bonding. The recurring theme is that you have to have discrete molecules in order to have intermolecular bonding.