In the Atrahasis Epic, the human warned to build a boat is Atrahasis.
The Atrahasis Epic is an Akkadian story preserved on clay tablets from ancient Mesopotamia. Its surviving copies are usually dated to the second millennium BCE, and the narrative includes a divine plan to send a devastating flood. The god Enki, also called Ea in later tradition, warns Atrahasis and instructs him to build a boat and preserve life.
Atrahasis is one of several ancient Near Eastern flood heroes. The Sumerian flood hero is Ziusudra, while the flood survivor in the Epic of Gilgamesh is Utnapishtim. These names are related through overlapping Mesopotamian traditions, but they are not interchangeable answers when a question identifies a particular text.
The Atrahasis story predates the earliest surviving complete form of the Standard Babylonian Gilgamesh epic. Its flood episode is therefore an important source for studying ancient flood-literature traditions alongside the biblical account.