Closed aidanheerdegen closed 11 months ago
Should also consider using containers, as discussed here https://github.com/ACCESS-NRI/payu-condaenv/issues/4#issuecomment-1813989028
One possible catch with containers is that payu currently passes the path to the payu executable to PBS jobs as an environment variable.
I don't think that would work if we used containers. It would require loading the module that runs the container and makes it available on the filesystem.
Deployment should be relatively straightforward if we create an environment in a workflow and use
conda-pack
to create a relocatable archive that we copy to NCI and unpack there.Here is an example of something similar (for reproducible research)
https://dev.to/epassaro/keep-your-research-reproducible-with-conda-pack-and-github-actions-339n
conda-pack
also has a python API, or can use the CLI.