NOAA-GSL / ExascaleWorkflowSandbox

Other
2 stars 2 forks source link

Add ExaWorks Docker containers and update ExaWorks install scripts #18

Closed christopherwharrop-noaa closed 1 year ago

christopherwharrop-noaa commented 1 year ago

This PR introduces Docker containers for use in testing ExaWorks and makes some improvements to the initial installation scripts for Spack and the Exaworks SDK.

Dockerfiles for both Ubuntu and CentOS containers is added. These containers initially just contain Spack and the ExaWorks Spack package and use the scripts included in this PR to install them.

A simple "hello world" Parsl workflow script is also included as a sanity check for correct installation of Parsl via the Spack installation of the Exaworks package.

Previous attempts to build a Github Actions CI workflow to test installation of Spack and Exaworks have been abandoned for now due to issues with installation of Rust in the CI environment. Instead, previously built Docker containers with ExaWorks already installed are pulled and used for testing examples. This PR introduces the first example test, which is just a "hello world" Parsl script. Future PRs will add additional, incrementally more complicated, tests. A future PR will also include a CI workflow that tests building of the Docker containers while taking advantage of docker image layer caching, once it is understood how to employ it.

christopherwharrop-noaa commented 1 year ago

@venitahagerty - Thank you for taking such a close look. I've fixed the typo and also added newlines to the Docker files that should have been there.