In my experience it doesn't matter if they smell each other or not, it's all about the face to face meeting. I had two boars once, that happily lived side by side in a divided cage. They would act normal even if they saw each other through the bars but if face to face with no bars separating...