See the Odyssey, book xi. line 25, where Ulysses is described as digging a pit or trench with his sword, and pouring libations, in order to collect around him the souls of the dead.