You should always spell it as accommodation. The two sets of double letters are a result of the word's origin. It comes from a Latin root, accommodare, that means an act of fitting or adapting. Many Latin words use double letters, and we still see that influence in many modern English words.