In the Mesopotamian Atrahasis Epic, the human warned to build a boat is Atrahasis.
Atrahasis is the central human figure in an Old Babylonian flood narrative preserved on cuneiform tablets. The god Enki, also called Ea, warns him that the gods intend to send a devastating flood. Atrahasis builds a boat and preserves people, animals, and provisions, allowing life to continue after the disaster.
The Atrahasis story is earlier than the surviving standard form of the Epic of Gilgamesh and is an important source for studying ancient Near Eastern flood traditions. Its surviving tablets are damaged, so some details are incomplete or reconstructed by scholars.
Atrahasis is sometimes confused with Utnapishtim, the flood survivor in the Epic of Gilgamesh. They are closely related literary figures, but they belong to different Mesopotamian works and are named differently in those traditions.