I assume you mean petitioning the court.
Partitioning the court would mean you would erect walls in an effort to make the courtroom a smaller space. That rarely happens in open court and never from the advice of a petitioner/partitioner.
You cannot make your ex sell the house. However, you CAN insist that he come up with the money for the house that he owes. Where that money comes from is not your concern.