Installation

Server-side Installation

Prerequisites

Note

Installation of the server-side Atlas components are handled by Dessa for pilots hosted on Dessa's servers. You will not need to perform a server-side installation in this situation

  1. Docker version >18.09 (Docker installation instructions)
  2. Python >3.6
  3. >5GB of free machine storage
  4. The atlas_installer.py file
  5. Ubuntu LTS 16.04 or higher

Procedure 1. Create a working directory for the Atlas installer

  1. Copy the atlas_installer.py file into this directory.

  2. Create and activate a Python >3.6 virtual environment using Conda or venv to minimize dependency issues.

  3. Run the install script with python atlas_installer.py.


Client-side Installation

Prerequisites

  1. Python >3.6
  2. The atlas_installer.py file

Note: Atlas client-side components currently support Mac OSX, Linux & Windows 10.

For Linux and OSX

  1. Create a new, empty directory where you will install Atlas.

  2. Copy the atlas_installer.py file into this directory.

  3. Create and activate a Python >3.6 virtual environment using Conda or venv to minimize dependency issues.

  4. Run the install script with python atlas_installer.py -Ndpsc.

  5. Navigate to the ~/.foundations/config/submission/ directory, and replace contents in the scheduler.config file with the following lines of code:

    # scheduler.config
    cache_config:
      end_point: /cache_end_point
    container_config_root: /home/purefacts/.foundations/config/local_docker_scheduler/worker_config
    job_deployment_env: local_docker_scheduler_plugin
    job_results_root: /home/purefacts/.foundations/job_data
    scheduler_url: http://pilot-purefacts.eastus.cloudapp.azure.com:5000
    working_dir_root: /home/purefacts/.foundations/local_docker_scheduler/work_dir
    

For Windows 10

  1. Create a new, empty directory where you will install Atlas.

  2. Copy the atlas_installer.py file into this directory.

  3. Create and activate a Python >3.6 virtual environment using Conda or venv to minimize dependency issues.

  4. Install the following python package into the environment created in step 3: pip install pypiwin32==223

  5. Run the install script with python atlas_installer.py -NdpscC

  6. Navigate to the ~/.foundations/config/submission/ directory, and replace contents in the scheduler.config file with the following lines of code:

    # scheduler.config
    cache_config:
      end_point: /cache_end_point
    container_config_root: /home/purefacts/.foundations/config/local_docker_scheduler/worker_config
    job_deployment_env: local_docker_scheduler_plugin
    job_results_root: /home/purefacts/.foundations/job_data
    scheduler_url: http://pilot-purefacts.eastus.cloudapp.azure.com:5000
    working_dir_root: /home/purefacts/.foundations/local_docker_scheduler/work_dir
    

Tip

Running python atlas_installer.py --help will give you troubleshooting advice if the script isn't working as expected.


Server Start-up

Note

Start-up of the server-side Atlas components are handled by Dessa for pilots hosted on Dessa's servers. You will not need to perform a server-side start-up in this situation

After completing the server-side installation, you can do the following to start Atlas:

  1. Validate that you are in the same Python environment that was used to run the installation script.
  2. Run atlas-server start.

Tip

You can also start Atlas with GPU support by running atlas-server start -g. This will allow Atlas to use all CUDA-enabled GPUs on your system.

Success

To validate that the Atlas GUI is working, go to the GUI. This is the preconfigured location for your Atlas GUI.


Hello Atlas

After completing the Server Start-up, try the following to launch your first Atlas job:

  1. Navigate to where you'd like to create your Atlas project directory on your client machine.
  2. Ensure that you are in the environment that was used during installation.
  3. Run foundations init hello-atlas to create a sample project called hello-atlas.
  4. Navigate to the newly created hello-atlas directory.
  5. Run the sample python main.py code provided.
  6. Head to your GUI to see the results!