write rhs to file
Update to use deal.8

Changed to cmake