The pre-compiled DAFoam image is ready to use for various operating systems.
Edit me

The easiest way to run DAFoam optimizations is to use the the pre-compiled package through Docker Hub. For advanced users, refer to this page on how to compile everything from scratch. The Get Started section assumes you use the pre-compiled package.

Before downloading the pre-compiled package, you need to install Docker. Follow the installation instructions for Ubuntu, Fedora, CentOS, MacOS, and Windows.

Here we give examples for Ubuntu, MacOS, and Windows.

  • If you use Ubuntu 18.04, install the latest Docker by running this command in the terminal:

    sudo apt-get remove docker docker-engine docker.io containerd runc && sudo apt-get update && sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent   software-properties-common -y && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64] https:// download. docker.com/linux/ubuntu $(lsb_release -cs) stable" && sudo apt-get update && sudo apt-get install docker docker.io -y
    

    Then you need to add your user name to the docker group by running this command:

    sudo usermod -aG docker $USER
    

    After this, you need to logout and re-login your account to make the usermod command effective.

  • If you use MacOS, click “Get Stable” to download the installer (Docker.dmg) from here. Double click Docker.dmg and follow the instructions to install. Once done, open the Docker Desktop app (no need to sign in) and keep it open when running Docker commands.

  • If you use Windows 10 Pro, click “Get Stable” to download the installer (Docker Desktop Installer.exe) from here. Double click Docker Desktop Installer.exe and follow the instructions to install. Once done, open the Docker Desktop app (no need to sign in) and keep it open when running Docker commands. If asked, update to the latest WSL2 Linux kernel following the instructions. If you use Windows 10 Home, follow the instructions to enable Windows Subsystem for Linux (WSL) 2, before installing Docker.

Once the above installation is done, open a Terminal (Linux and MacOS) or Command Prompt (Windows) and verify the docker installation by running:

docker --version

You should be able to see your installed Docker version.

Once the Docker is installed and verified, run this command from the terminal to download the DAFoam image:

docker pull dafoam/opt-packages:v2.2.6

Now you are ready to run DAFoam optimization.