Federal agencies will close on Thursday for a national day of mourning after the death of former President Jimmy Carter.